<div class="gallery-cell">
<div class="highslide-gallery">
<a id="thumb2" href="imgs/SteakHouse/1.jpg" class="highslide" onclick="return hs.expand(this, { captionId: 'steak-caption', slideshowGroup:2 } )">
<div id="txt">
<h4><b>STEAK HOUSE<br>RESTAURANT</b></h4>
<br>
<!--- Delete this after adding Address --->
<p class="address">
<!-- Address -->
</p>
<p class="city">Jeddah</p>
</div>
</a>
<div class="hidden-container">
<a href="imgs/SteakHouse/2.jpg" class="highslide" onclick="return hs.expand(this, { captionId: 'steak-caption', thumbnailId: 'thumb2', slideshowGroup:2 })"></a>
<a href="imgs/SteakHouse/3.jpg" class="highslide" onclick="return hs.expand(this, { captionId: 'steak-caption', thumbnailId: 'thumb2', slideshowGroup:2 })"></a>
<a href="imgs/SteakHouse/4.jpg" class="highslide" onclick="return hs.expand(this, { captionId: 'steak-caption', thumbnailId: 'thumb2', slideshowGroup:2 })"></a>
<a href="imgs/SteakHouse/5.jpg" class="highslide" onclick="return hs.expand(this, { captionId: 'steak-caption', thumbnailId: 'thumb2', slideshowGroup:2 })"></a>
</div>
<div class="highslide-caption" id="steak-caption">
Name:
<br><b>Steak House Restaurant</b>
<br> Location:
<br><b>Jeddah</b>
<br>
<!--Total Built Area:<br><b>495 M<sup>2</sup>/Unit</b> <br>-->
<!--Lot Area:<br><b>352 M<sup>2</sup>/Lot</b> <br>-->
<!--Year:<br><b>2012</b> <br><br>-->
</div>
</div>
</div>
The <a>
element is the parent of the class "txt" and when I try to make <a>
the parent of the entire "gallery-cell" class it doesn't work!
I want the entire cell to be clickable, not just the text.
If you want, take a look at this website to test it out: http://urbanphenomena.net/