Home Articles FAQs XREF Games Software Instant Books About Feedback Search Site-Map
irt.org logo

Q872 How do I change the location of frame 1 and reposition the contents of frame 2 on an anchor using a text link in frame 2?

irt.org | Knowledge Base | JavaScript | Frame | Q872 [ previous next ]

Q872 How do I change the location of frame 1 and reposition the contents of frame 2 on an anchor using a text link in frame 2?

Simple:

<a href="#anchorName" onClick="parent.frames[1].location.href = 'anotherpage.htm'">text link</a>

Feedback on 'Q872 How do I change the location of frame 1 and reposition the contents of frame 2 on an anchor using a text link in frame 2?'


Provide feedback ...
AddThis Social Bookmark Button

Provide feedback ... AddThis Social Bookmark Button


Last Updated: 30th March 2008. Maintained by: Martin Webb and Michel Plungjan
irt.org liability, trademark, document use, privacy statement and software licensing rules apply.
Copyright © 1996-2008 irt.org, All Rights Reserved.