View Full Version : image drop down problem


deadbluekitty
12-05-2005, 04:17 AM
here's my problem...

i want to make it where you click on the image and it pops down a little menu and it works just fine but when you click on the selection in the menu below it goes to a new window and not into the iframe. i did the 'target=newpage' and the script didn't exist on the page!

//Specify your links here- gl(Item text, Item URL)
if (ie5){
gl("JavaScript Kit","knowmetwo.htm")
gl("Dynamic Drive","http://www.dynamicdrive.com")
gl("Free Web Templates","http://www.freewebtemplates.com")
gl("Freewarejava.com","http://freewarejava.com")
gl("MSNBC","http://www.msnbc.com")
gl("Google","http://www.google.com")
gl("Yahoo","http://www.yahoo.com")
gl("CNN","http://cnn.com")
//Extend this list as needed

http://javascriptkit.com/script/script2/dhtmlcombo.shtml

here's the url for the code.

kittycat
12-05-2005, 03:18 PM
Find this in the coe:
<a href="'+dest+'">
And try changing it to
<a href="'+dest+'" target="newpage"> (or whatever the name of your iframe is)

deadbluekitty
12-05-2005, 06:27 PM
that's what i did and it didn't work at all!


http://www.geocities.com/utada_nuku//somethinggoeshere.htm

here's the url. you can't see anythign, right? that's because when I added the 'target=nwepage' or whatever, nothing shows up!