-
FrameSet ?
Hi all,
I am developing web site using ASP.NET with a frameset. I’m using a Header, Footer and Contents Frameset. I set up all frames and link them to the appropriate .aspx forms.
When I try the site through the Browser I get this problem:
When ever I click on one of the hyperlinks (in the contents frame) the target page displays in the contents frame.
I have double-checked my links and they are fine. Clearly, I'm checking the wrong thing or in the wrong place :mad:
Any ideas?
Thanks for your time :)
-
THis should be posted in asp.net. However all you are doing wrong is not setting the target attribute of the <a href> tag. Set it to the name of your frame e.g target="main_frame"
-
I'm not using <a href> I'm using NavigateUrl="Welcome.aspx" for example. The Welcome.aspx should display in the main frame but it dosn't.
-
I've sorted it. I was missing:
<base target="main"> etc for the contents frame for example.
:)