Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Expanding link not working??? 1

Status
Not open for further replies.

glenmac

Technical User
Jul 3, 2002
947
CA
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
Code:
<script language=&quot;JavaScript&quot;>
<!--
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>
this is the link that doesn't work
Code:
li><a href=&quot;[URL unfurl="true"]http://www.tek-tips.com/&quot;[/URL] TARGET=MAIN onMouseOver=&quot;changetext(content[1])&quot; onMouseOut=&quot;changetext(content[30])&quot;  onClick=&quot;expand();&quot;>Tech Tips</a></li>
Driving me crazy!! I must be missing something real easy. Anyone see my mistake?
 
Hi glenmac,

I don't exactly know what you mean, but I like the script :)
A star for you,

Erik
My sport: Boomerang throwing !
Between 30 jul - 8 aug. I participate at the World Championships.
30/7-3/8 = TEAM cup (I'm in TriNationalTeam -TNT).
6/8-8/8 = Individual cup (Erik Leferink and my son Tim).
My goal in both ranglists is to end within the first 50%. For LIVE scores during the tournament:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top