Hiding the div of the caption space when empty
Posted: 08 Mar 2012, 15:08
Is there a way to hide the caption space when empty?
In example in this album I have no captions
http://www.nomadtravellers.com/photo-al ... modificato
But it's still showing the caption space. Because in the code
is showing at the end the empty div of the caption
There is no way to hide it when it's empy, so that the space is becoming collapsible?
In example in this album I have no captions
http://www.nomadtravellers.com/photo-al ... modificato
But it's still showing the caption space. Because in the code
Code: Select all
<a class="highslide" title="" href="/images/phocagallery/World/Europe/Bulgaria/Black Sea/thumbs/phoca_thumb_l_040-Nesebar-Bulgaria-0381.jpg" onclick="return hs.expand(this, { slideshowGroup: 'groupC0', wrapperClassName: 'dark',
dimmingOpacity: 0.7, align : 'center', transitions : ['expand', 'crossfade'], fadeInOut: true });" >
<img src="/images/phocagallery/World/Europe/Bulgaria/Black Sea/thumbs/phoca_thumb_m_040-Nesebar-Bulgaria-0381.jpg" alt="" class="pg-image" /></a>
<div class="highslide-heading">00040-Nesebar-Bulgaria-0381</div>
<div class="highslide-caption"></div>Code: Select all
<div class="highslide-caption"></div>