Log in

View Full Version : IFRAME Question



maverick
06-29-2006, 09:39 AM
Hi,

I have a small site and have the menu iframed,i would like to make the links reload the whole page to the selected link,insted of opening the link in the menu iframe,i know i could not iframe the menu and make an iframe for the content and send the link to the content iframe ID but i would like to keep my menu iframed since it is easier to edit the links one time than going to each of my pages and editing them.

I found this drop down menu when i iframed it and clicked selected an option it reloaded the whole page,and thats what i want but with a stand <a href= link.
thanks

much regards

Mav:D

<form name="cngtng">
<div align="center">
<select name="url" size="1" onChange="window.open(this.options[this.selectedIndex].value,'_top')">
<!--NOTE-ENTER TITLE OF YOUR BOX BELOW-->
<option selected>MY FAVORITE PLACES</option>
<!--NOTE- ENTER YOUR LINKS BELOW- Leave one to Link US!-->
<option value="http://www.coloryourprofyle.com">Color Your profyle</option>
<option value="http://www.firehotquotes.com">Cute Quotes</option>
<option value="http://www.coloryourprofyle.com/dolls.htm">Webpage Dolls</option>
<option value="http://www.coloryourprofyle.com/webpage/coolpage.html">Make a cool Webpage</option>
</select>
</div>
</ form>

simonf
06-29-2006, 10:14 AM
If frame is named "mainframe," you would do:
<a href="whatever.htm" target="mainframe">Link text</a>

maverick
06-29-2006, 09:53 PM
but I don't want to load the new link in another iframe i want to reload the whole page and send it to the link.

Regards

Mav

Twey
06-29-2006, 10:38 PM
Use target="_top" instead.

maverick
06-30-2006, 03:59 AM
thank you :p

technojunk
07-11-2006, 07:30 PM
im 12 and i knew that

technojunk
07-11-2006, 07:31 PM
jk lol

technojunk
07-11-2006, 07:31 PM
but i am 12