Home Articles FAQs XREF Games Software Instant Books BBS About FOLDOC RFCs Feedback Sitemap
irt.Org
#

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?

You are here: irt.org | FAQ | JavaScript | Frame | Q872 [ previous next ]

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?'

©2018 Martin Webb