Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Jquery cycle gallery- Buttons with mouseover can't have href links

Posted on 2010-09-14
1
Medium Priority
?
661 Views
Last Modified: 2012-05-10
I've got a jquery gallery. An image appears depending on what button is hovered on. If the same button is clicked on the href link doesn't work. The mouseover is stopping it from working. I'd like both the mouseover and the href click to work.

Below is the JS, navigation, and gallery images.
<script type="text/javascript">
$('#slideshow2').cycle({ 
    fx:     'fade', 
    speed:  'fast', 
    timeout: 0, 
    pager:  '.nav2', 
	pagerEvent: 'mouseover', 
    pagerAnchorBuilder: function(idx, slide) { 
        // return selector string for existing anchor 
        return '.nav2 li:eq(' + idx + ') a'; 
    }     
}); 
</script>






<div id="slideshow2">
                        <img src="<?php echo $img; ?>content/products/utility-mini.jpg" class="border" align="right" />
                        <img src="<?php echo $img; ?>content/products/utility-mini.jpg" class="border" align="right" />
                        <img src="<?php echo $img; ?>content/products/utility-mini.jpg" class="border" align="right" />
                    </div>



   <div class="product-list-1 nav2">
                        <ul>
                            <li><a href="<?php echo $path; ?>products/utility-mini/gp-buckets/">GP Bucket</a></li>
                            <li><a href="<?php echo $path; ?>products/utility-mini/slope-finishing/">Slope Finishing</a></li>
                            <li><a href="<?php echo $path; ?>products/utility-mini/tilting-batter-bucket/">Tilting Batter Bucket</a></li>
                        </ul>
                    </div>

Open in new window

0
Comment
Question by:George-TCC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 

Accepted Solution

by:
George-TCC earned 0 total points
ID: 33678931
To get the rollover to change the image and also keep the href link line 702 & 703 were commented out in js/jquery.cycle.all.2.72.js
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Q&A with Course Creator, Mark Lassoff, on the importance of HTML5 in the career of a modern-day developer.
Without even knowing it, most of us are using web applications on a daily basis.  In fact, Gmail and Yahoo email, Twitter, Facebook, and eBay are used by most of us daily—and they are web applications. We generally confuse these web applications to…
In this tutorial viewers will learn how to position overlapping items using z-index in CSS. They will also learn the restrictions on the z-index property.  Create a new HTML document with an internal stylesheet.: Create a div in CSS and name it Red.…
In this tutorial viewers will learn how to embed Flash content in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <object> tag to embed Flash content.: To specify that the object is Flash content, d…

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question