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="JavaS cript"><!--
location.href = 'HKlinks.html#B '
//--></script>
<noscript>
<meta http-equiv="Refresh" content="3;url= HowardKaikowSer vices.html">
</noscript>
</head>
</html>
And hklinks.html has:
<html>
<head>
<a name="A"><scrip t language="JavaS cript"><!--
location.href = 'HowardKaikow.h tml'
//--></script></a>
<a name="B"><scrip t language="JavaS cript"><!--
location.href = HowardKaikowSer vices.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.
--
http://www.standards.com/; See Howard Kaikow's web site.
For example. Suppose we have the following in an HTML file:
<html>
<head>
<script language="JavaS cript"><!--
location.href = 'HKlinks.html#B '
//--></script>
<noscript>
<meta http-equiv="Refresh" content="3;url= HowardKaikowSer vices.html">
</noscript>
</head>
</html>
And hklinks.html has:
<html>
<head>
<a name="A"><scrip t language="JavaS cript"><!--
location.href = 'HowardKaikow.h tml'
//--></script></a>
<a name="B"><scrip t language="JavaS cript"><!--
location.href = HowardKaikowSer vices.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.
--
http://www.standards.com/; See Howard Kaikow's web site.
Comment