homepage Welcome to WebmasterWorld Guest from 54.237.151.188
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
Forum Library, Charter, Moderator: open

JavaScript and AJAX Forum

    
Please Help! Javascript problem
i don't know where to turn...
rcebulski

10+ Year Member



 
Msg#: 84 posted 1:38 pm on Apr 15, 2002 (gmt 0)

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;

 

joshie76

WebmasterWorld Senior Member 10+ Year Member



 
Msg#: 84 posted 2:46 pm on Apr 15, 2002 (gmt 0)

Welcome to WmW, rcebulski.

Instead of

top.location =

use

parent.bot.location =

Josh

rcebulski

10+ Year Member



 
Msg#: 84 posted 2:52 pm on Apr 15, 2002 (gmt 0)

Thats it!!!

Thank you for your help. It made my day.

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / JavaScript and AJAX
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved