[thelist] Tip

Paul Backhouse paul.backhouse at 2cs.com
Thu Feb 28 04:09:00 CST 2002


Another Tip - changing an image with onclick and then changing it back with
another onclick/

<tip type="onclick">
<html>
<head><title></title>
<script language="javascript">
<!--
var arrow = "off"

function ClickMe() {
	if (arrow=="off") {
		document.arrow.src='images/UpArrow.gif';
		arrow="on"
	}
	else {
		document.arrow.src='images/LeftArrow.gif';
		arrow="off"
	}
}
//-->
</script>
</head>
<body bgcolor=#333333 topmargin="0" leftmargin="0" marginwidth="0"
marginheight="0">

<div style="position: absolute; left: 0; top: 0; z-index: 1;">
<a href="javascript://" title="click for our services"
onclick="ClickMe();"><img name="arrow" src=images/LeftArrow.gif width=21
height=21 border=0 alt=""></a>
</div>

</body>
</html>




More information about the thelist mailing list