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

  • Home
  • SEARCH
  • 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 964827
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T01:53:38+00:00 2026-05-16T01:53:38+00:00

Edit: I figured this out. jQuery Cycle plugin adds a z-index to every item

  • 0

Edit: I figured this out. jQuery Cycle plugin adds a z-index to every item it works through, thus the first item always had the highest z-index, messing up all the links. Removing the z-index functionality from the plugin has fixed it.

Hi there,

I’m currently building a cycling div using jQuery cycle that has a few inside links. Basically, we have a large banner and then within that large banner I have some absolute positioned div’s containing a product, thumbnail to a video, etc. I also have custom paging.

All this works wonderfully, almost. My problem right now is that when the it rotates to the second div, the link in the same position from the first one takes precedence and overlaps the second div’s link, therefore rendering it useless for any user interactivity.

Here’s the basics of my code to better lay it out. I’ve also outlined my position placements as in response to the answer below.

    #rotation {
         position: relative;
    }

     .rotation_item {
         position: relative;
     }

     .rotation_box {
         position: relative;
     }

<div id="rotation">
<div id="rotation_container">
      <div class="rotation_item" style="background: url('/some/background.jpg');">
             <div class="rotation_box">
                <img src='/image/for/product.jpg' />
                <h3><a href='/product/page/'>Some Cool Product!</a></h3>
             </div>
      </div> 
      <div class="rotation_item" style="background: url('/some/other/background.jpg');">
             <div class="rotation_box">
                <img src='/image/for/other/product.jpg' />
                <h3><a href='/product/page_other/'>Some Other Cool Product!</a></h3>
             </div>
      </div> 
</div>
</div>

In this scenario, the only link that always show up for clicking is /product/page/

I hope that makes sense, does anyone know how I can prevent this from happening using the jQuery Cycle package, or perhaps some fun CSS settings on each rotation_item?

  • 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-05-16T01:53:39+00:00Added an answer on May 16, 2026 at 1:53 am

    My guess would be that your links are positioned in relation to rotation_container rather than rotation_item, and so are hanging around in their given position. If you haven’t already, try adding position: relative to the CSS for your rotation_item elements – that may very well fix your issue.

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

Sidebar

Related Questions

I've been trying to figure out how to work this jQuery Form plugin to
someone has used this jquery plugin for form validation? http://docs.jquery.com/Plugins/Validation i cant figure out
EDIT: I figured it out from Bergi's answer in the end. Thanks Bergi. pubPrivExample
EDIT SO I figured out a fix. I replaced the while statement with an
EDIT I have finally figured out the problem i have been having on my
Edit: I think I've figured out how to do the binary data part. Double
EDIT AGAIN ... I'm just a dummy and figured it out! EDIT: So, it
I'm trying to figure out why this is a problem when using jQuery 1.4.2
EDIT : I've gotten the famous question badge with this question, so I figured
EDIT: Never mind. Figured out the issue. Just made height an array and name

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.