jqslider question

Status
Not open for further replies.

VideoCloud

Active Member
299
2013
65
0
Hi, Having an issue with jqslider..

I've got 2 entries and for some reason I get a 3rd blank slide?

Please Let me Know if you can help :)

Thank You
 
6 comments
slider.js
Code:
//<![CDATA[
TTjquery(window).load(function() {
TTjquery('.home-banner-wrap ul').css("background-image", "none");
TTjquery('.jqslider').css("display", "block");
TTjquery('.big-banner #main .main-area').css("padding-top", "16px");
TTjquery('.home-banner-wrap ul').after('<div class="jquery-pager">&nbsp;</div>').cycle({
 fx: 'fade',
 timeout: 4000,
 height: 'auto',
 pause: 0,
 pager: '.jquery-pager',
 cleartypeNoBg: true
});
});
//]]>



The Source used in index
Code:
<div class="home-banner-wrap">
<ul>
<li class="jqslider">
 <div class="home-banner-main">
 <h2>TITLE 1</h2>
 <p>INFO 1</p>
 </div><!-- end home-banner-main -->
 <div class="home-banner-sub">
 <div class="home-banner-sub-content">
 <a href="#"><img src="#" alt="IMG1" width="436" height="270" /></a>
 </div><!-- end home-banner-sub-content -->
 </div><!-- end home-banner-sub -->
</li>
 
 
<li class="jqslider">
 <div class="home-banner-main">
 <h2>TITLE 2</h2>
 <p>INFO 2</p>
 </div><!-- end home-banner-main -->
 <div class="home-banner-sub">
 <div class="home-banner-sub-content">
 <a href="#"><img src="#" alt="IMG2" width="436" height="270" /></a>
 </div><!-- end home-banner-sub-content -->
 </div><!-- end home-banner-sub -->
</li>
 
</ul></div><!-- end home-banner-wrap -->

There more .js files attached I can PM you if you wish
 
I found the problem it is not in the slider itself rather the problem was occurring due to the the unclosed tags

just replace this line:

Code:
<li><a   href="http://videocloud.in/movies/request/"><span><strong>Requests</strong></li></ul>

with this one :

Code:
<li><a   href="http://videocloud.in/movies/request/"><span><strong>Requests</strong></span></a></li></ul>

and your slider will work fine after that.If it does not work than pm me with the details.
 
Status
Not open for further replies.
Back
Top