CodeCanyon

jQuery Flashlight Effect

3 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
IridianGroup says

I am looking for a jQuery plugin or code that will allow me to create a sort of flashlight effect. To clarify, I want some dark colored sections on a site that when hovered over with the cursor a sort of faded light area appears that allows the user to see underlying images. Like shining a flashlight into the dark and moving it around. If anyone can point me in the right direction that would be so awesome! Thanks!

141 posts
  • Author had a Free File of the Month
  • Bought between 1 and 9 items
  • Exclusive Author
  • Has been a member for 2-3 years
  • Referred between 1 and 9 users
  • Sold between 5 000 and 10 000 dollars
  • United States
Endat says

Would be so simple using regular javascript.. why does it have to be jquery?

3 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
IridianGroup says

Stack Overflow got to this first, I had posted the same question there. Here’s the plugin just in case anyone else is looking for such a thing. http://www.dynamicdrive.com/forums/showthread.php?t=62822.

Thanks!

3 posts
  • Bought between 1 and 9 items
  • Has been a member for 1-2 years
IridianGroup says

Would be so simple using regular javascript.. why does it have to be jquery?

JavaScript or jQuery, it would not matter either way I guess. I just thought maybe there was a jQuery plugin already written somewhere, so I said jQuery. If you have a JavaScript solution in addition to the one I posted above I’d love to see it. Thanks!

by
by
by
by
by