Copy link to clipboard
Copied
I have some Javascript that is triggered by an onclick event on a dummy link. It fades pictures in and out, works fine, but I would like the page to do this automatically when displayed, not requiring a user to do anything, the pictures just fade in and out on their own.
Is there any event in the event list that can do this or is there some clock mechanism that has to be coded in Javascript to keep firing off the function?
Jim
Copy link to clipboard
Copied
onload()
setInterval()
Copy link to clipboard
Copied
Thanks,
I tried using the DW Call Javascript behavior using OnLoad, the code looks like this:
<img src="fade1.jpg" name="fade1" width="492" height="299" id="fade1" onload="MM_callJS('myDissolve.start();setInterval(myDissolve.start,2000) ')"/>
I must have a syntax error. Any thoughts?
Jim
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more