1

I come to strange issue with jQueryUi css. Once I reference it the click event doesn't fire once I add jqueryui css.

Example without jQueryUI css (http://jsfiddle.net/dynamikus/CffPt/3/)
Example with jQueryUI css (http://jsfiddle.net/dynamikus/CffPt/2/)

Could someone help me out? Thnx

--Edit I am testing it on Windows 7/ Chrome :21.0.1180.79

12
  • 1
    the both do the same thing for me :/ Commented Aug 16, 2012 at 20:46
  • How could CSS affect a click event? Commented Aug 16, 2012 at 20:47
  • Hmmm strange I am using lates version of FF and Chrome Commented Aug 16, 2012 at 20:47
  • @j08691 It couldn't. Something else is going on. Commented Aug 16, 2012 at 20:47
  • 1
    It's a z-index issue.. jsfiddle.net/wirey00/CffPt/4 If you change the z-index it clicks fine Commented Aug 16, 2012 at 20:59

2 Answers 2

3

It's a z-index issue.. http://jsfiddle.net/wirey00/CffPt/4/ If you change the z-index it clicks fine

Sign up to request clarification or add additional context in comments.

Comments

1

It does work when you'd change the click-event to an mousedown-event.

It appears to be the z-index. Change the z-index of your zoom-elements to 99999 (for example) and you'll notice that it will work. The z-index is a style property, so adding a CSS can indeed mess up your behavior here :)

http://jsfiddle.net/3Z9yf/ You'll notice that the first button doesn't work (default z-index), while the second one will (has the z-index).

1 Comment

I removed all the mousedown even the filter still no results jsfiddle.net/dynamikus/CffPt/5

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.