I got this to work by hacking the original code but not with a custom
transition.  I am sure there is a more elegant way to do it (if
anybody knows please post it!)

You can hover over the pager to go through the slides.  I hacked line
281 in the buildPager function:
from:
$a.bind('click',function() {

to:
$a.bind('mouseover',function() {

It works in IE6, Safari 2, and FF 2.  You can see it at:
http://www.latestproject.com/barb/builds/build13/jackson-hole-activities-fly-fishing.html


The javascript to call it is:
        $(function() {
            $('.gallery').cycle({
                fx:     'fade',
                speed:  'fast',
                timeout: 0,
                pager:  '#gallery-nav',
                pagerAnchorBuilder: function(idx, slide) {
                    // return sel string for existing anchor
                    return '#gallery-nav li:eq(' + (idx) + ') a';
                }
            });
        });


On Mar 6, 1:53 am, Andrej <[EMAIL PROTECTED]> wrote:
> Hi I am trying to create a pager that works with hovering over the
> links instead of clicking on them. Would this require an customtransition, or 
> is there a way to add this to an existingtransition
> like 'fade'. Thanks Andrej

Reply via email to