H
Howard Kaikow
Can I use a bookmark to selectively choose the code to be run?
For example. Suppose we have the following in an HTML file:
<html>
<head>
<script language="JavaScript"><!--
location.href = 'HKlinks.html#B'
//--></script>
<noscript>
<meta http-equiv="Refresh" content="3;url=HowardKaikowServices.html">
</noscript>
</head>
</html>
And hklinks.html has:
<html>
<head>
<a name="A"><script language="JavaScript"><!--
location.href = 'HowardKaikow.html'
//--></script></a>
<a name="B"><script language="JavaScript"><!--
location.href = HowardKaikowServices.html'
//--></script></a>
<noscript>
<meta http-equiv="Refresh" content="3;url=index.html">
</noscript>
</head>
</html>
I want to choose which javascript to run based on the incoming link.
I tried onload.target to choose, but I think I screwed up the sintax.
For example. Suppose we have the following in an HTML file:
<html>
<head>
<script language="JavaScript"><!--
location.href = 'HKlinks.html#B'
//--></script>
<noscript>
<meta http-equiv="Refresh" content="3;url=HowardKaikowServices.html">
</noscript>
</head>
</html>
And hklinks.html has:
<html>
<head>
<a name="A"><script language="JavaScript"><!--
location.href = 'HowardKaikow.html'
//--></script></a>
<a name="B"><script language="JavaScript"><!--
location.href = HowardKaikowServices.html'
//--></script></a>
<noscript>
<meta http-equiv="Refresh" content="3;url=index.html">
</noscript>
</head>
</html>
I want to choose which javascript to run based on the incoming link.
I tried onload.target to choose, but I think I screwed up the sintax.