Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9076225
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 16, 20262026-06-16T19:03:54+00:00 2026-06-16T19:03:54+00:00

I have used jQuery Cycle for the slideshow on this page: http://energync.ehclients.com/ and set

  • 0

I have used jQuery Cycle for the slideshow on this page: http://energync.ehclients.com/ and set it so the image changes when you mouse over the pager event below it. Since these links are dynamically created by jQuery, how do I add links to other pages on the site?

Here is the html:

<div id="slideshow">
<img src="http://energync.ehclients.com/images/uploads/slideshow-1.jpg" alt="Making Energy Work" width="645" height="333">
<img src="http://energync.ehclients.com/images/uploads/slideshow-2.jpg" alt="We Collaborate" width="645" height="333">
<img src="http://energync.ehclients.com/images/uploads/slideshow-3.jpg" alt="We Analyze" width="645" height="333">
<img src="http://energync.ehclients.com/images/uploads/slideshow-4.jpg" alt="We Advocate" width="645" height="333">
<img src="http://energync.ehclients.com/images/uploads/slideshow-5.jpg" alt="We Educate" width="645" height="333">
</div>

Here is the jQuery:

$('#slideshow').cycle({
    fx: 'fade',
    pager : '#slideshow-nav',
    pagerEvent: 'mouseover',
    speed: 2000,
    delay:  3000,
}); 
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-16T19:03:55+00:00Added an answer on June 16, 2026 at 7:03 pm

    From jQuery Cycle manual:

    pagerAnchorBuilder: null, // callback fn for building anchor links:  function(index, DOMelement)
    

    First you need to define pagerAnchorBuilder. Tthat will tell the script which elements it should use for links – so they are not autogenerated anymore. You also need to add allowPagerClickBubble so that the default action (page url) is triggered on click:

    $('#slideshow').cycle({
        fx:     'fade',
        speed:  2000,
        delay: 3000,
        pager : '#slideshow-nav',
        pagerEvent: 'mouseover',
        pagerAnchorBuilder: function(idx, slide) {
            // return sel string for existing anchor
            return '#slideshow-nav ul li:eq(' + (idx) + ') a';
        },
        allowPagerClickBubble: true
    });
    

    Now, in your HTML code do this:

        <div id="slideshow-nav">
                 <ul>
                <li class="collaborate"><a href="">We Collaborate</a></li>
                <li class="analyze"><a href="">We Analyze</a></li>
                <li class="advocate"><a href="">We Advocate</a></li>
                <li class="educate"><a href="http://energync.ehclients.com/we-educate/">We Educate</a></li>
                 </ul>
        </div>  
    

    Add URLs to the rest of anchors in that block and it will work.

    Working demo (click the last link): JSfiddle

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have very many small jQuery Cycle slideshow divs (containers) on a one-page website
I have used JQuery within my asp.net page. JQuery is working fine. I could
I have used autocomplete in jQuery from this link . In the normal browser
I have 4 textboxes on my page. I used jquery focus and blur functions
I have used jQuery UI library to drag divs within a web page. While
this problem is so weird. i have used jquery to link a specific id
I have used jquery datepicker in my .aspx page. The control is working fine.
I am developing a website in asp.net, I have used jquery image slider and
I have used the jquery-ui to autocomplete an input box and set a hidden
I have used jquery wizard plugin to create this form. The form get submitted

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.