...

View Full Version : Reference'n iFrames?



Jodda
07-10-2002, 03:20 PM
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..



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum