Here is where in the script that the images are written out:
Code:
if (i == 0) {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a><\/div>");
} else {
document.write("<div id=\"dot"+ i +"\" style=\"POSITION: absolute; Z-INDEX: "+ i +"; VISIBILITY: visible; TOP: 15px; LEFT: 15px;\"><img src='"+snowsrc+"' border=\"0\"><\/div>");
}
That if (i == 0) and else bit is checking to see if it is the first snowflake, if so it links it to Dynamic Drive:
Code:
<a href=\"http://dynamicdrive.com\"><img src='"+snowsrc+"' border=\"0\"><\/a>
You probably want to link all of the snowflakes, if so we can greatly simplify the code (replace all of the code at the top of this post with):
Code:
document.write('<div id="dot'+ i +'" style="position: absolute; z-index: '+ i +'; visibility: visible; top: 15px; left: 15px;"><a target="_blank" ' +
'href="http://dynamicdrive.com"' +
'><img src="'+snowsrc+'" border="0"><\/a><\/div>');
Replace http://dynamicdrive.com with the URL to your rotator page.
Bookmarks