<div class="contentBlock">
<p><a href="private_photo_galleries.html" title="Back to Photo Galleries"><< Back to Photo Galleries</a></p>
<div class="thumbnails">
<ul>
<li>
<a href="private_photo_gallery.html" title="View Image">
<img src="images/gallery/thumbnail_01.jpg" alt="View Image"/>
</a>
</li>
<li>
<a href="private_photo_gallery.html" title="View Image">
<img src="images/gallery/thumbnail_02.jpg" alt="View Image"/>
</a>
</li>
<li class="selected">
<a href="private_photo_gallery.html" title="View Image">
<img src="images/gallery/thumbnail_03.jpg" alt="View Image"/>
</a>
</li>
.... all the uploaded thumbnails
</ul>
</div>
<div id="image">
<img src="images/gallery/fullsized_03.jpg" alt="Fullsized View"/>
clicking on each thumbnail would make the full-size pic appear in this div.
</div>
</div>
i need help with modding a template.
Here is the HTML for how I want the gallery and pics to look:
....
Which templates should I mod to get the effect I want?
[+maxigallery.managebutton:isnot=``:then=`
<center>[+maxigallery.managebutton+]</center>
<br />
`+]
<div class="thumbnails">
<ul>
[+maxigallery.pictures+]
</ul>
</div>
<div id="image"></div>
<li>
<a href="#" onClick="showPic('[(base_url)][+maxigallery.path_to_gal+][+maxigallery.picture.filename+]');return false;" title="View Image">
<img src="[(base_url)][+maxigallery.path_to_gal+]tn_[+maxigallery.picture.filename+]" alt="View Image" />
</a>
</li>
<script type="text/javascript">
function showPic(url) {
var picHolder = document.getElementById('image');
picHolder.style.backgroundImage="url("+url+")";
}
</script>
<div class="contentBlock">
<p><a href="private_photo_galleries.html" title="Back to Photo Galleries"><< Back to Photo Galleries</a></p>
[[MaxiGallery? &galleryOuterTpl=`mgGalleryOuter` &galleryPictureTpl=`mgGalleryPicture` &js=`mgJs`]]
</div>
... </td></tr></table> <br clas <table class="galerie"...
This discussion is closed to further replies. Keep calm and carry on.