JQuery Cycle or css issue in Chrome / Safari for Mac

Hi I have used jquery cycle plugin to create some simple sliding galleries. In Chrome / Safair on Mac, the browser doesn't load images.

Here's a link

js I'm using here, although it might be a css issue ..? I am struggling to find the real problem.

$(document).ready(function() {
        $('.slides').each(function() {
        var $this = $(this), $ss = $this.closest('.slideshow');
            var prev = $ss.find('a.prev'), next = $ss.find('a.next');
            $this.cycle({
                prev: prev,
                next: next,
                fx: 'scrollLeft', 
                speed:  'fast', 
                timeout: 0 
            });
    });

    });

      

CSS

.slideshow {
width:476px;
height:287px;
float:left;
margin-right:30px;
position:relative;
z-index:0;
margin-bottom:20px;
}

.slides {
position:absolute;
top:0;
left:0;
z-index:1;
}

a.prev {
display:block;
width:23px;
height:22px;
background:red;
position:absolute;
z-index:1000;
background: url(../images/next_prev.png) no-repeat 0 0;
top:133px;
left:-11px;
}

a.next {
display:block;
width:23px;
height:22px;
background:red;
position:absolute;
z-index:1000;
background: url(../images/next_prev.png) no-repeat -23px 0;
top:133px;
right:-11px;
}

      

Markup:

<div class="slideshow"> 
                <div class="slides"> 
                    <img src="images/chief_st_1.jpg" alt="CHIEF stationery + literature" /> 
                    <img src="images/chief_st_3.jpg" alt="CHIEF stationery + literature" /> 
                    <img src="images/chief_st_2.jpg" alt="CHIEF stationery + literature" /> 
                </div> 
                <a class="prev" href="#"></a> <a class="next" href="#"></a> 
            </div>

      

Any help would be greatly appreciated. thanks

+2


a source to share


3 answers


This issue has been reported by a very large number of people here:

http://code.google.com/p/chromium/issues/detail?id=113556



Unfortunately no permission yet, however it was recreated and I did it too.

Just information

+2


a source


You don't have a Mac, but Firebug displays:

[cycle] terminating; too few slides: 1
[cycle] terminating; too few slides: 1
[cycle] terminating; too few slides: 1

      



Does it help?

+1


a source


It looks like I'm working for me. Checked in chrome on Mac and FF ... still a problem?

0


a source







All Articles