[jQuery] Re: Click event outside of an element

2009-11-23 Thread Dustan
Perhaps something along these lines is what you are looking for? $(document).click(function(event) { if (!$(event.target).hasClass('classname')) { // run this code if anywhere in the document except the item is clicked } }); On Nov 20, 8:29 am, Keysher wrote: > Hi! > > I am newbi

[jQuery] Re: jQuery Opacity functions doing strange things to 1px semi-transparent png background

2009-11-23 Thread Dustan
I hope you've found an appropriate answer as this is from a while back, but I'll still post what I have found so some other searching soul someday may stumble across this. I've suffered from this same problem as well. The result looks similar to the following http://ow.ly/E1xV There is supposed to