Banner

Sponsor

Login


Welcome Back!
Guest
Guest

Register

Lost your password?

105 users online



i need some more help...

i need some more help...

Currently viewing this thread: 1 (0 members and 1 guests)


Page 1 out of 2
sickgrrl723

sickgrrl723

Status: Offline!

i need some more help...

yah... so, im a dork... here's my dropdown menu script:

<select name="select2" onChange="apathy_jumpMenu('parent',this,0)" class="pulldown2">
<option value="#" selected>::MENU::</option>
<option value="#">--------------</option>
<option value="#">Home</option>
<option value="#">About Apathy</option>
<option value="#">News</option>
<option value="#">Reviews</option>
<option value="#">Articles</option>
<option value="#">Interviews</option>
<option value="#">Message Board</option>
<option value="#">Profiles</option>
<option value="#">Contact</option>

now i need this to be connected to my iframe, so, how do i change the value so that the link opens in the iframe? i understand that i really should know this if im even going to be on this board... but like i said before, im teaching myself basically and i need help...

Saul_Vasquez

Saul_Vasquez

Unknown
Status: Offline!

EDIT: Well maybe just change this:

<select name="select2" onChange="apathy_jumpMenu('parent',this,0)" class="pulldown2">

to

<select name="select2" onChange="apathy_jumpMenu('iframe',this,0)" class="pulldown2">

and add this to the iframe:

name="iframe" id="iframe"

___________________

http://saul.nitetek.com/images/signiture.gif

Last edited by Saul_Vasquez, October 10th, 2003 01:04 AM (Edited 1 times)

fredmv

fredmv

Status: Offline!

We'll need to see the code for the apathy_jumpMenu function. Grin

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

sickgrrl723

sickgrrl723

Status: Offline!

i tried that... it just changes the whole page

sickgrrl723

sickgrrl723

Status: Offline!

<script language="JavaScript">
<!--
function apathy_jumpMenu(targ,selObj,restore){ //v3.0
if(selObj.options[selObj.selectedIndex].value == 'chat') {
chat();
selObj.selectedIndex=0;
} else {
eval(targ+".location='"+selObj.options[selObj.selectedIndex].value+"'"); selObj.selectedIndex=0;
}
}
// -->
</script>

sickgrrl723

sickgrrl723

Status: Offline!

okay... im a dork... i lifted the code... so, im not cool like you...

fredmv

fredmv

Status: Offline!

Try using the second suggestion that Saul Vasquez gave you. I would suspect it to work.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

sickgrrl723

sickgrrl723

Status: Offline!

you guys rock my socks! thanks you guys!

sickgrrl723

sickgrrl723

Status: Offline!

now, if i have a link that i want to go to an outside site, such as a message board, how can i change the target for that specific site without altering the rest of the link routing?

fredmv

fredmv

Status: Offline!

Do you mean like opening it in a new window?

Code:


<a href="something.html" onclick="this.target='_blank';return false;">Open this in a new window.</a>

I hope that helps you out.

___________________

http://home.comcast.net/~fredv4/tf/firefox.gif

Page 1 out of 2
Quick Jump:

Main Navigation


Site & Graphic Design by Aeon Tan
Developed by Jeremie Pelletier & Scott Roach


NeverAPI generated this page in 0.0078 seconds.