In the pagerAnchorBuilder function, "slide" refers to the current div class="nav-cycle-item To get the href of each a tag within each div just use a jQuery selector to find the child a and get it's href value: $('#nav-cycle'). Before(''). Cycle({ fx: 'turnLeft', speed: 'fast', timeout: 9001, pagerEvent: 'click', pauseOnPagerHover: 1, pager: '#frontpage-nav', allowPagerClickBubble: true, pagerAnchorBuilder: function(idx, slide) { var href = $(slide).
Children('span'). Children('a'). Attr('href'); return '' + slide.
Title + ''; } }) BTW, I'm assuming you're missing a closing div in your HTML above.
In the pagerAnchorBuilder function, "slide" refers to the current . To get the href of each tag within each div, just use a jQuery selector to find the child and get it's href value: $('#nav-cycle'). Before('').
Cycle({ fx: 'turnLeft', speed: 'fast', timeout: 9001, pagerEvent: 'click', pauseOnPagerHover: 1, pager: '#frontpage-nav', allowPagerClickBubble: true, pagerAnchorBuilder: function(idx, slide) { var href = $(slide). Children('span'). Children('a').
Attr('href'); return '' + slide. Title + ''; } }); BTW, I'm assuming you're missing a closing div in your HTML above.
I think you should be using attr. Api.jquery.Com/prop – mrtsherman Nov 1 at 18:28 @mrtsherman: Yeah, you're right. Thanks for catching that.
– Colin Nov 1 at 18:30 This did not work for me until changing pagerEvent to mouseover, but now the transitions are gone when I mouse between the links. I still get them when moving the mouse from the slide to the link though. – kkjelgard Nov 1 at 18:49 @kkjelgard: I'm not sure I understand.
What exactly doesn't work? As I understood your question, you want the pager links to contain the same href value as the a tags contained within the slides, correct? That's what the above code does.
Here is a jsFiddle with an extremely simplified demo: jsfiddle.Net/DVVrr/1 Can you provide more detail about what it is you're looking for? – Colin Nov 1 at 19:11 Your code works for what I am asking in this post, so I will mark it answered. Thank you for your help!
The issue now (which I think may have been happening before as well) is that there is no transition when I drag my mouse between the pager links. I'll try to keep looking if you don't know of a quick fix. – kkjelgard Nov 1 at 19:24.
In the pagerAnchorBuilder function, "slide" refers to the current div class="nav-cycle-item" . To get the href of each a tag within each div just use a jQuery selector to find the child a and get it's href value.
I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.