Tuesday, March 30, 2010

How do i activate the dreamweaver...

The code i'm talking about is this:

// Example:

// simplePreload( '01.gif', '02.gif' );

function simplePreload();

{

?var args = simplePreload.arguments;

?document.imageArray = new Array(args.length);

?for(var i=0; i%26lt;args.length; i++)

?{

?document.imageArray[i] = new Image;

?document.imageArray[i].src = args[i];

?}

}

Do I add this: simplePreload(); to the body onload attribute

like so:

%26lt;body onload=''simplePreload();''%26gt;

Or is that incorrect?

And then where do I add the images to be preloaded,

in the body tag or in the javascript?

How do i activate the dreamweaver...

What am I doing wrong?

Why isn't the slideshow working? The second slide displays as a question mark.

http://www.sunarchdesign.com/projects.html

I put a preload image script in before the slideshow script but it doesn't preload the image before it plays the slideshow.

No comments:

Post a Comment