http://www.dynamicdrive.com/dynamicindex5/button1.htm
I'm using the script that now supports Mozilla Fire Fox 1.0. I would like to have the Hot Keys target an embedded frame in the page instead of the replacing the entire page?
http://www.dynamicdrive.com/dynamicindex5/button1.htm
I'm using the script that now supports Mozilla Fire Fox 1.0. I would like to have the Hot Keys target an embedded frame in the page instead of the replacing the entire page?
Just change each occurrence of:
to:Code:window.location=dest[i]
where 'frame1' is the name of your iframe or frame:Code:document.frame1.location.href=dest[i]
HTML Code:<iframe name="frame1"></iframe>
- John________________________
Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate
Your suggestion was simple enough, but when I made the change the hot keys stopped working all together?
I edited the code from:
document.frame1.location.href=dest[i]
to
window.frame1.location.href=dest[i]
Now it works. Thanks, for the help.
Bookmarks