Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 07-10-2002, 02:20 PM   PM User | #1
Jodda
New Coder

 
Join Date: Jul 2002
Location: Rhondda, Wales, UK
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Jodda is an unknown quantity at this point
Reference'n iFrames?

Hi there,

I've an iFrame that jumps to parts of the page, from a menu located on the page that the iFrame sits on. The following line works fine with IE:

document.frames("contentOut").location.href='about_ica_txt.htm#'+para;

NS6.1 didn't fall under the document.layers catergory, so i tried referencing with getElementById:

document.getElementById("contentOut").location.href="about_ica_txt.htm#"+para;

Could any 1 shed some light..
Jodda is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 12:42 AM.


Advertisement
Log in to turn off these ads.