Click to See Complete Forum and Search --> : Need help with a script


Flossie116
08-19-2003, 11:55 AM
I created a page using iFRAMES. It has 3 different pages- the index ((the page that has the other 2 on it)), the nav ((which the navigation drop down box is in)) and the main content portion ((which I would like the navigation to open pages in))

I want to use this script http://javascript.internet.com/navigation/menu-double.html as the dropdown box in the nav frame- does anyone know how I could make this open a link in another iframe? Thanks,

-Ashley-

Khalid Ali
08-19-2003, 01:19 PM
in the JS code wherever its using location.href = url

change it to
parent.frameName.location.href = url

the above will open the url in the target frame