Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help! What's up with Frames?

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
0
0
My main homepage for a website i am working on has 3 frames. What i've noticed is that if you click on a link inside whichever frame, a new page will pop up inside that frame. This is not what I want. How can i get the whole main page to change? It seems like the frames lock information inside them. How can I go by this? If I'm not clarifying myself, please ask specifically.

f909
 
If you want the whole page to load, why use frames? Frames are made so that only that section of the page gets updated, like you said it's doing now.

Word of advice: If you don't need to use frames, don't. I hate frames, as I disabled them on all my browsers (that can have them disabled). ~Javrix

If you gave an infinate number of rednecks, an infinate number of shotguns to shoot at an infinate number of street signs, they would eventually write Romeo and Juliet in braille.
 
Try this.

<a href=&quot;pagewhatever.html&quot; target=&quot;new&quot;> Sara
Education Specialist/
Web Page Creator
Keystone Community Network
 
Thank you Sara, but before I try that; this is what the code looks like since the link is a highlight-button of a drop down menu:


dhtmlMenu.addItem(new NavBarMenuItem(&quot;Planning Guide&quot;, &quot;
so, when someone clicks on &quot;Planning Guide&quot; from the drop down menu, it will link to when someone clicks on &quot;Planning Guide&quot; the new linked page only loads in that frame (as mentioned previously). How can I alter the above code and merge it with your code
&quot;<a href=&quot;pagewhatever.html&quot; target=&quot;new&quot;>&quot; remember, I'm not sure if you can put a Tag in the code above, so i guess we would need to work on that.

thanks,
joel
 
Is there any way you could show me the entire code? I think I can help you. Sara
Education Specialist/
Web Page Creator
Keystone Community Network
 
try putting this inbetween your <head> and </head> of each frame page...

Code:
<BASE target=&quot;mainFrameName&quot;>

If you replace the text &quot;mainFrameName&quot; with the name of your main, largest frame then each link in each frame will load each linked page into it instead of into itself.

or if you do want to replace the entire frameset and have the link fulfill the entire page then replace the text with &quot;_top&quot; like this...

Code:
<BASE target=&quot;_top&quot;>

Hope this helps... Klae

You're only as good as your last answer!
 
Let me know if this is what you had in mind.


If it's what you want just take the source from the frameset page and from the top frame. Sara
Education Specialist/
Web Page Creator
Keystone Community Network
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top