glitter_grly
04-05-2004, 11:27 PM
undefinedundefined Well, I have Iframes on my page, and for some reason, the pages linked from my main page always pop up in a new window, I am very frustrated and have been trying to figure out what is going on with this, but I can't seem to figure it out. If you could please help me I would really apprechiate it. My website URL is http://geocities.com/ducki_lucky Thank you very much E-mail me at princessademusica@hotmail.com please somebody help A.S.A.P!!! <33 Steph
Valkyrie
04-05-2004, 11:31 PM
Try using this code for you drop down menu:
<script language="javascript" type="text/javascript">
function jump(form) {
var myindex=form.menu.selectedIndex
if (form.menu.options[myindex].value != "0")
{
window.open(form.menu.options[myindex].value,
target="yourframename");
}
}
//-->
</script>
<form name="lissamenu2" ACTION=URI>
<select name="menu" onchange="jump(this.form)">
<option value="0">Where to?</option>
<option value="0"></option> (this adds a space).
<option value="http://www.lissaexplains.com">Home</option>
<option value="http://www.lissaexplains.com/fun.shtml">Fun Stuff</option>
<option value="http://www.lissaexplains.com/cursor.shtml">Lissa's Cursors</option>
</select>
</form>
Rosey
04-05-2004, 11:33 PM
usually when people post "reply asap", i usually don't. People reply when they can and when they know the answer and if they are around.
I'm assuming you are talking about the drop down menu. Now I think the reason that it's opening a new page is because you have the wrong target. Usually that would work if your links were not IN the iframe. I think if you put in your links target="_self". You need to make sure that you put a target on all your links.