Welcome to WebmasterWorld Guest from 54.166.224.46

Forum Moderators: open

Message Too Old, No Replies

Please Help! Javascript problem

i don't know where to turn...

     
1:38 pm on Apr 15, 2002 (gmt 0)

10+ Year Member



I was told this is the place to get help and this is my first posting.

I have two pulldown menus. When the left one is changed, the menu options for the right one do as well. When a user then selects an option on the right, it goes to a certain URL. I can do this, but how do I get the new URL to appear in my bottom frame, not the whole page? Here is the code for url. My bottom frame is called "bot". THANKS!!!!

function changepage(index){

var url=document.categoryform.productmenu.options[index].value;

if (url != ""){

if(url != "null")

top.location=url;

2:46 pm on Apr 15, 2002 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Welcome to WmW, rcebulski.

Instead of

top.location =

use

parent.bot.location =

Josh

2:52 pm on Apr 15, 2002 (gmt 0)

10+ Year Member



Thats it!!!

Thank you for your help. It made my day.

 

Featured Threads

Hot Threads This Week

Hot Threads This Month