For info on how to represent your images in the code, and what to do about the placeholder image (you don't need it) see this thread:
http://www.dynamicdrive.com/forums/s...892#post211892
About the body onload thing - Every page is required to have a body tag and only one body tag. It contains all of the content for the page. Scripts, styles, the page title and meta tags go in the head section. A typical blank page with the opening body tag highlighted would look like so:
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
</body>
</html>
Now your opening body tag may already have other junk in it. That doesn't really matter though in most cases. It could look something like:
Code:
<body bgcolor="black" text="red" link="yellow" alink="orange" vlink="white" background="image.gif">
If you have a plain one like:
make it like:
Code:
<body onload="ImageBook()">
If it has other stuff like my example of the other stuff it might have, make it like:
Code:
<body onload="ImageBook()" bgcolor="black" text="red" link="yellow" alink="orange" vlink="white" background="image.gif">
If you want more help:
Please post a link to the page on your site that contains the problematic code so we can check it out.
Bookmarks