cclooksgood
Posts: 48
|
| Posted: 07/07/2008, 3:05 PM |
|
I have HTML inside the Gallery Builder that I don't want to show if there is not a record.....
Details:
19 records in a table.....
HTML - just an image border and image width set 100 and height set to 100
Gallery Builder set to show 10 records per page....
On the second page of navigation there is an empty box that is 100 by 100 with a border because their are only 9 images left and I have my setting as 10 records per page...
How do I stop this emty box from showing:
http://d1015971.p114.pocketguidesinc.com/tour8.aspx?albumid=144
|
 |
 |
wkempees
Posts: 1679
|
| Posted: 07/07/2008, 3:52 PM |
|
First:
I personally like the empty box in your sample site.
Mostly because if you click one of the existing items (The Americana flag) the next page will show like 9 out of 12, consistently showing 3 empty.
Adding the HTML did it, normaly gallery would show empty cells, which would make the outline size vary from page to page creatin unrest.
What you can do is
Hide/Show the Panel:RowComponent BeforeShow based on a content test, see action Hide/Show Component.
How/where did you add the HTML?
Walter
(untested)
_________________
Origin: NL, T:GMT+1 (Forumtime +9)
CCS3/4.01.006 PhP, MySQL .Net/InMotion(Vista/XP, XAMPP)
if you liked this info PAYPAL me: http://donate.consultair.eu
|
 |
 |
cclooksgood
Posts: 48
|
| Posted: 07/07/2008, 4:13 PM |
|
<!-- BEGIN Grid gallery -->
<table align="center">
<!-- BEGIN Row -->
<!-- BEGIN Panel RowOpenTag -->
<tr>
<!-- END Panel RowOpenTag -->
<td>
<table height="125" cellspacing="0" cellpadding="0" width="125" bgcolor="#000000" border="1" color="#333333">
<tr>
<td align="center">
<!-- BEGIN Panel RowComponents --><a href="{imagepath}"><img height="70" src="http://www.beachcitiesguide.com/media/{imagepath_src}" border="0"></a><!-- END Panel RowComponents --></td>
</tr>
</table>
</td>
<!-- BEGIN Panel RowCloseTag -->
</tr>
<!-- END Panel RowCloseTag --><!-- END Row -->
<!-- BEGIN NoRecords -->
<tr>
<td class="noitems" colspan="{gallery:numberOfColumns}">No Items Found</td>
</tr>
<!-- END NoRecords -->
<tr>
<td colspan="{gallery:numberOfColumns}"></td>
</tr>
</table>
<!-- END Grid gallery -->
|
 |
 |
|