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

Q1722 How can I force an unclicked link to look as though it had been clicked?

You are here: irt.org | FAQ | JavaScript | Link | Q1722 [ previous next ]

Try:

<script language="JavaScript"><!--
var url = 'http://www.qwerty.com';
var text = 'back';

document.write('<a href="' + location.href + '" onMouseOver="this.href=\'' + url + '\';status=\'' + url + '\';return true">' + text + '</a>');
//--></script>

©2018 Martin Webb