srobbin / jquery-approach

A jQuery plugin that allows you to animate style properties based on the cursor’s proximity to an object.
http://srobbin.com/jquery-plugins/jquery-approach/
GNU General Public License v2.0
167 stars 20 forks source link

Broken in IE #1

Open justrealmilk opened 14 years ago

justrealmilk commented 14 years ago

http://tom.is-a-geek.org/anthony/photos/staticOpen.php Removed a few things for privacy reasons.

I can't work out what I'm doing wrong... Or if somethings broken between the script and the browser...

Thanks, Tom

justrealmilk commented 14 years ago

I've taken Mr. Robbin's example code and swapped in some bordered DIVs to experiment with... http://tom.is-a-geek.org/hi.htm

It works there so maybe IEs getting confused with other scripts on the page?

srobbin commented 14 years ago

Hi Tom,

Try download the latest source code. I've added a check that tries to use filter:alpha(opacity=xx) if the browser doesn't support the opacity style (which IE doesn't). Hopefully, this should fix the problem.

Let me know what happens.

-Scott

justrealmilk commented 14 years ago

Excellent work! Although it flashes them all on (then off) at first, it still does the job nicely and should wow all involved. Keep up the excellent work. :)

srobbin commented 14 years ago

Thanks, Tommy.

Yeah, I had noticed the flashing too. I'll look into that, and will let you know if/when I find a fix.