I'm using http://www.dynamicdrive.com/style/cs...e-gallery/P30/
but am unsure how to position a default image in the space where the enlarged img goes.
At the moment I have a large white space.
Many thanks for any help.
Paul
I'm using http://www.dynamicdrive.com/style/cs...e-gallery/P30/
but am unsure how to position a default image in the space where the enlarged img goes.
At the moment I have a large white space.
Many thanks for any help.
Paul
I'm guessing when you say "default" you are referring to the thumbnail image? Have you replaced the code with your default image URL/file inside BOTH <img> tags? ie:
<a class="thumbnail" href="#thumb"><img src="http://DEFAULT.jpg" width="100px" height="66px" border="0" />
<span><img src="http://DEFAULT.jpg" alt="default img" width="500px" height="340px"/><br /></span></a>
This is where I had encountered problems at the start because my URL did not initially match in both <img> tags.
Thanks for your reply Readyfire
I was advised to code it as -
<div class="gallerycontainer">
<div style="position:absolute; left: 270px; z-index: 40;">
<img src="your_default_image"></div>
This allows the large image to be displayed when none of the thumbs are being made active.
Paul
That this would determine the location of the "hover" image:
change the highlighted to adjust the locationCode:.thumbnail:hover span{ /*CSS for enlarged image*/ visibility: visible; top: 0; left: 230px; /*position where enlarged image should offset horizontally */ z-index: 50; }
Bud
ps- try to always post you page with the problem to help people "see" what you have in case there are problems with how the script is used.
Bookmarks