<a href="" onClick="top.seturl(this,'nextitem27.html')" onMouseOver="window.status='this is a Test of onMouseOver'; return true">Exciting Item 27</a>
|
Note this very typical use of onCLick in <a > link.
|
this is current link and of object type location.
|
set href to be anything including "" -- don't leave out otherwise won't be a link -- will be anchor instead -- this insures that link blue!
|
set href and target frame in onClick Event handler
|
This is is how you get indices to work
-
put seturl in top document defining frames
-
<a > links are in index frame and onClick there allows seturl to load required document into mainframe -- the main display frame
|
function seturl(linkname,fileurl) {
|
linkname.target="top.mainframe";
|
linkname.href = fileurl); }
|