Nickster
05-29-2005, 03:13 PM
Hi.
I'm having trouble with getting the thumbnails on my page. I am sure I have to put the images in this part of the script as well as in the <head> part. But where? I don' know anything about DIV & tags.
As shown, a thumbnail looks something like:
<a href="#" onMouseover="modifyimage('dynloadarea', 0)">image 1</a>Inside function "modifyfunction()", pass in the ID of the DIV tag that will hold the larger image (ie: "dynloadarea"), and following that, the index number of the array element containing the desired image (see code of Step 1).
Also shown is how the DIV tag that will act as the display area of the larger image looks like:
<div id="dynloadarea" style="width:80px;height:225px"></div>You should set the width and height of this DIV to the dimensions of the largest image that will be shown inside it. Move this tag to the desired location on the page where the larger images should be shown.
I have put some images in the <head> part of the script. I get a line error for line 53 which reads "object required" This is line 53:-
imgobj.filters[0].Apply()
Finally. Where my thumbnails should be, at the moment I have this in writing:-
image 1 (onmouseover)
image 2 (onmouseover)
image 3 (onclick)
I'm sure that after I know what to do to insert thumbnail images all will be well.
Sheps
I'm having trouble with getting the thumbnails on my page. I am sure I have to put the images in this part of the script as well as in the <head> part. But where? I don' know anything about DIV & tags.
As shown, a thumbnail looks something like:
<a href="#" onMouseover="modifyimage('dynloadarea', 0)">image 1</a>Inside function "modifyfunction()", pass in the ID of the DIV tag that will hold the larger image (ie: "dynloadarea"), and following that, the index number of the array element containing the desired image (see code of Step 1).
Also shown is how the DIV tag that will act as the display area of the larger image looks like:
<div id="dynloadarea" style="width:80px;height:225px"></div>You should set the width and height of this DIV to the dimensions of the largest image that will be shown inside it. Move this tag to the desired location on the page where the larger images should be shown.
I have put some images in the <head> part of the script. I get a line error for line 53 which reads "object required" This is line 53:-
imgobj.filters[0].Apply()
Finally. Where my thumbnails should be, at the moment I have this in writing:-
image 1 (onmouseover)
image 2 (onmouseover)
image 3 (onclick)
I'm sure that after I know what to do to insert thumbnail images all will be well.
Sheps