PDA

View Full Version : Drop Down Navigation w/ iFrame


TNeston
02-04-2003, 04:57 PM
I am trying to use a drop-down menu that changes the iFrame to the right, but am running into problems.

The main page is called split.html. In the drop-down menu, I am trying to reference the kittys option, that is trying to load kittys.html.

You can see the example here:

http://www.sometime-today.com/fmfy/split.html

If anyone has an idea how to resolve this, I would appreciate it.

Best,

Tom

cg9com
02-04-2003, 07:12 PM
this may work
<select onChange="name.location=options[selectedIndex].value;">
more of a JS question ...

l3vi
02-05-2003, 01:18 AM
I dont quite understand your question, but perhaps this is what your r looking 4...

<select name="navigation" onChange="cgallery()" style="background-color:#FFFFFF; width:170px; height:14px; font-size:10; color:#000000; font-family: verdana, geneva, arial">
all the select crap here
</select>

Then somewhere on the page...
<script>
functino cgallery()
{
var gal = formname.iframename.src
gal = kittypage.*
}
</script>
I have not yet tested this to see if it works, you might want to use the jumper script on DynamicDrive.com and edit to fit your needs with this page.