-
html iframe
i have website with simple iframe
top html
left html
right html
content html
and bottom html
I bound all these in index.html ....it works fine....
prb if anyone call top.html then it will open only top.html file.
If anyone call top.html then it should get index.html only.
Is there any way out?
sorry, this is not asp.net prb bt use to post here...
-
Re: html iframe
Hello,
I agree that this probably isn't the best place to ask this question.
Are you actually using ASP.Net, or are you doing a straight up HTML page?
Gary
-
Re: html iframe
sorry Gary..... these are html pages....
-
Re: html iframe
Hello,
In which case, I would suggest that your question would be better asked in another Forum.
I will get that moved for you just now.
Gary
-
Re: html iframe
It sounds like you're talking about frames (as opposed to iFrames - there is some difference between them), and no, there is no way [through HTML alone] that you can restrict the source pages to appear only in the context of their parent frameset. But it's possible that there's a Javascript solution.
Frames are pretty much dead in modern web development though - such that they are being obsoleted in HTML 5. They've got a lot of drawbacks and not much benefit to compensate. Consider ditching them if you can.
-
Re: html iframe
thanks samba... if it is possible through js then fine...let me know how??