xsyam
08-14-2013, 09:25 AM
1) Script Title: Featured Content Slider v2.5
2) Script URL (on DD): www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm
3) Describe problem: I use this script and working well. thank you for it.
and i want the image from each slide clickable and linked, i tried add an a href but only text on caption linked not the image.
<a href="#" title=""> <-- the link
<div class="contentdiv" style="background-image:url(assets/images/home/1.jpg); background-repeat:no-repeat; "><!--slider 1 start-->
<div class="slider"><!--slider content text 1 open-->
<div class="slider_project_name"></div>
<div class="slider_content">Image Description</div>
<div class="slider_more"><a href="#">More link</a></div>
</div><!--slider content text 1 close -->
</div><!--end of slider 1 -->
</a>
but when i inspect element on ff show much a href links
<div class="contentdiv" style="background-image: url("assets/images/home/1.jpg"); background-repeat: no-repeat; display: block; z-index: 285; opacity: 1.1; visibility: visible;">
<a title="" href="#"> </a> <-- the tag closed here
<div class="slider">
<a title="" href="#"> <- link 2 appear
<div class="slider_project_name"></div>
<div class="slider_content">Image Description</div>
</a>
<div class="slider_more">
<a title="" href="#"></a> <-- link 3 appear
<a href="#">More link</a>
</div>
</div>
</div>
thanks in advance
2) Script URL (on DD): www.dynamicdrive.com/dynamicindex17/featuredcontentslider.htm
3) Describe problem: I use this script and working well. thank you for it.
and i want the image from each slide clickable and linked, i tried add an a href but only text on caption linked not the image.
<a href="#" title=""> <-- the link
<div class="contentdiv" style="background-image:url(assets/images/home/1.jpg); background-repeat:no-repeat; "><!--slider 1 start-->
<div class="slider"><!--slider content text 1 open-->
<div class="slider_project_name"></div>
<div class="slider_content">Image Description</div>
<div class="slider_more"><a href="#">More link</a></div>
</div><!--slider content text 1 close -->
</div><!--end of slider 1 -->
</a>
but when i inspect element on ff show much a href links
<div class="contentdiv" style="background-image: url("assets/images/home/1.jpg"); background-repeat: no-repeat; display: block; z-index: 285; opacity: 1.1; visibility: visible;">
<a title="" href="#"> </a> <-- the tag closed here
<div class="slider">
<a title="" href="#"> <- link 2 appear
<div class="slider_project_name"></div>
<div class="slider_content">Image Description</div>
</a>
<div class="slider_more">
<a title="" href="#"></a> <-- link 3 appear
<a href="#">More link</a>
</div>
</div>
</div>
thanks in advance