...

View Full Version : double js



zodehala
06-10-2008, 05:21 PM
i have two js event for onLoad


<body onload="javascript:GetPos()">
<body onload="javascript:runSlideShow()">

if i use just one it runs but if i run all of them they do not run why ?

Philip M
06-10-2008, 05:32 PM
You will find the answer at

http://www.javascriptkit.com/javatutors/multiplejava.shtml

Solution:

<body onload = "GetPos(); runSlideShow()">

The javascript: is redundant.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum