-
1
- #1
Hi I can get this code working in it's own window but when I put it on a different link it won't expand.
this is the script
this is the link that doesn't work
Driving me crazy!! I must be missing something real easy. Anyone see my mistake?
this is the script
Code:
<script language="JavaScript">
<!--
function expand() {
for(x = 0; x < 50; x++) {
window.moveTo(screen.availWidth * -(x - 50) / 100, screen.availHeight * -(x - 50) / 100);
window.resizeTo(screen.availWidth * x / 50, screen.availHeight * x / 50);
}
window.moveTo(0,0);
window.resizeTo(screen.availWidth, screen.availHeight);
}
//-->
</SCRIPT>
Code:
li><a href="[URL unfurl="true"]http://www.tek-tips.com/"[/URL] TARGET=MAIN onMouseOver="changetext(content[1])" onMouseOut="changetext(content[30])" onClick="expand();">Tech Tips</a></li>