Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other A Flashlight jQuery Page

  • This topic is empty.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #24432
    von
    Member

    This is a simple page that uses jQuery to follow you mouse around and move the center of the background image under your mouse. Useless I know, but ridiculously fun. Plus, I’m sure my code could be better.

    http://home.comcast.net/~vonholdt/test/flashlight.htm

    #55406
    Chris Coyier
    Keymaster

    Yeah it’s kinda cheezy but I get a kick out of stuff like that sometimes =)

    #55411
    Matt
    Member

    Very cool. No readability, but very cool.

    As Chris said, and I agree, I enjoy proof of concepts.

    #62626
    soap
    Participant

    i got bored and did one of my own

    http://affluentpracticemarketing.com/ti … lashlight/

    #62712
    von
    Member

    Thanks Chris and Matt!!!


    @Soap
    : It’s ridiculously fun and simultaneously useless isn’t it?

    #62988
    von
    Member

    David Walsh ported this to MooTools

    http://davidwalsh.name/mootools-flashlight

    #63312

    I really liked this technique and I wouldn’t call it totally useless :) It can be put to an awesome use to create a Harry potter themed website in which we could toggle this technique in a particular section to achieve the flashlight spell a.k.a ‘Lumos’.

    It could also be used for some kind of a game if one could innovate in the right direction ;)

    Nevertheless, Thanks for sharing it with us :)

    #68029
    lookslikepat
    Member

    Has anyone tried doing this with the background on a top DIV instead? So you don’t have to worry about the colors?

    <body>
    All the Content
    <div style="background: url(transparent-hole-as-the-flashlight.png); z-index:9999;"></div>
    </body>

    Or maybe that’s too heavy for the browser, since you have to use a pretty big flashlight picture as the bg… (like 1900*1200)…

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Other’ is closed to new topics and replies.