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 7699985
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T22:36:12+00:00 2026-05-31T22:36:12+00:00

I have an image carousel and shadowbox. I want the user to be able

  • 0

I have an image carousel and shadowbox. I want the user to be able to srcoll through the images, and when they click on the focused one, it opens in shadowbox. Currently the html is something to this extent:

<div class="slides">
  <div>
    <a href="#" onclick="javascript:ShadowboxRun(some parameters); return false;">
       <img src="img.jpg">
    </a>
  </div>
  <div>
    <a href="#" onclick="javascript:ShadowboxRun(some parameters); return false;">
       <img src="img2.jpg">
    </a>
  </div>
</div>

I’ve figured out that I belive the route of all my issues has to do with bubbling. Correct me if I’m wrong, but I believe that the onclick fires before the carousel. What would my best practice be for this?

Thank you

Edit: Forgot to put the main issue. When the user clicked on slide 2 of the carousel it moves the slide and opens the shadowbox with one click. I want the user to be able to click on the slide have it move, and if they click on it again, it opens a shadowbox.

edit2: Fixed my mistake in the original copy of the code

edit3: uploaded my newest version, so here’s the link http://hdguitarlesson.com/HDLessonsBeta/ if it helps. Any help is greatly appreciated. I’ve been racking my brain for hours

  • 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-31T22:36:13+00:00Added an answer on May 31, 2026 at 10:36 pm

    you can use the onClick() command through jquery on anything so you can simply add a class or id to that image and click that instead.

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

Sidebar

Related Questions

I have an image carousel on my page with some fairly small images. the
I want make a carousel. But not a simple carousel with images. I have
I have played around and implemented JQuery cycle to create a carousel with images,
I have image A and image B. They are located in the different places
So I have Image like this (source: de-viz.ru ) I want to get something
So I have Image like this (source: de-viz.ru ) I want to get something
I have a problem... In my view i have Image.If i click on image
I'm using the jquery carousel and I have the image auto rotating here (
I have a simple carousel to display some images. As you would expect the
assume that I have this list: <ul id=carousel> <li><a title=hey><img src=image.png/></a></li> </div> And now

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.