Welcome to WebmasterWorld Guest from 23.20.245.192

Forum Moderators: open

Message Too Old, No Replies

Please Help! Javascript problem

i don't know where to turn...

     

rcebulski

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

Inactive Member
Account Expired

 
 


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)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Apr 10, 2001
posts:793
votes: 0


Welcome to WmW, rcebulski.

Instead of

top.location =

use

parent.bot.location =

Josh

rcebulski

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

Inactive Member
Account Expired

 
 


Thats it!!!

Thank you for your help. It made my day.