Album question (Smarty): display multiple albums in full view... [SOLVED]
Posted: Thu Apr 12, 2007 9:29 pm
Hi everybody,
me again with another Album question. This time it's about the pop-up table template and album comments.
Problem:
If multiple Albums (e.g. "Album 1", "Album 2" etc.) are attached to one and the same page, each of them would show up as a thumbnail with some album name and/or comment to it.
Clicking on one of those thumbnails would get me to one album at a time, let's say to "Album 1".
After having watched some pictures I'd click on the "Return"-link and find myself back on the page with those album thumbnails.
What I'd love to create instead would look like this (that's supposed to be the generated xhtml now):
My trouble starts with displaying my so called "Album2" in full glory on the same page as "Album1". Any support highly appreciated!!
THANKS!
Caspar
me again with another Album question. This time it's about the pop-up table template and album comments.
Problem:
If multiple Albums (e.g. "Album 1", "Album 2" etc.) are attached to one and the same page, each of them would show up as a thumbnail with some album name and/or comment to it.
Clicking on one of those thumbnails would get me to one album at a time, let's say to "Album 1".
After having watched some pictures I'd click on the "Return"-link and find myself back on the page with those album thumbnails.
What I'd love to create instead would look like this (that's supposed to be the generated xhtml now):
Code: Select all
<!-- Start with Album1, that's easy -->
<div id="album1">
<!--the following div would probably be floated left or roght via css -->
<div class="albumcomment">
Generated album comment for Album 1 here.
</div>
<!-- now the thumbnail table as generated by the popup table template -->
<table class="popuptable" summary="thumbmail images">
<tr>
<td><img src="thumbnail1.jpg" alt="image1"/></td>
<td><img src="thumbnail2.jpg" alt="image2"/></td>
</tr>
<tr>
<td><img src="thumbnail3.jpg" alt="image3"/></td>
<td><img src="thumbnail4.jpg" alt="image4"/></td>
</tr>
<tr>
<td>etc.</td>
<td>etc.</td>
</tr>
</table>
</div>
<!-- Up to here everything's okay, but now we want Album2 on the SAME PAGE,
with comment and thumbnail table next to it,
but no separate album thumbnail to click on first...! -->
<div id="album2">
<div class="albumcomment">
Generated album comment for Album 2 here.
</div>
<table class="popuptable" summary="thumbmail images">
<tr>
<td>etc.</td>
<td>etc.</td>
</tr>
</table>
</div>
THANKS!
Caspar