/    Sign up×
Community /Pin to ProfileBookmark

Display question

Anyone:
[B]Is it possible[/B] to use the javascript onMouseOver function,
or some other javascript function, as follows?

  • 1.

    Display an image (gif or jpg) under a mask of one uniform (black) color.
    (Possibly using the ‘layers’ function in CSS element?)

  • 2.

    When the mouse moves over the masked image, a portion of
    the underlying image is displayed, ie like looking through a
    circular or square ‘keyhole’.
    (Possibly using a XOR command in the scanning function)

  • 3.

    Later, I would also like to know where the mouse is located (x,y)
    while scanning the image through the keyhole, but I don’t initially need this.

  • I have seen this in ‘java’, but the source is not available for me to use.

    Any thoughts or leads are appreciated. ?

    to post a comment
    JavaScript

    2 Comments(s)

    Copy linkTweet thisAlerts:
    @JMRKERauthorJul 17.2006 — Perhaps I posted original question after everyone else was in bed. :o

    Anyone have any directions for me to go to (except down :eek: )?
    Copy linkTweet thisAlerts:
    @wasim___drushtiJul 18.2006 — this would be more efficent & less time consuming if U use flash for this.
    ×

    Success!

    Help @JMRKER spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 4.29,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...