homepage Welcome to WebmasterWorld Guest from 54.234.2.88
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
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




msg:1474006
 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




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

Welcome to WmW, rcebulski.

Instead of

top.location =

use

parent.bot.location =

Josh

rcebulski




msg:1474008
 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