Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Javascript

Javascript

Scheduled Pinned Locked Moved ASP.NET
javascripthelpquestion
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sribachana
    wrote on last edited by
    #1

    Hi All, I have one problem to discuss with. I have a javascript function which will capture screencoordinates of browser window on a mouse click. I want that javascript function to be masked(i.e doesn't apply)to a particular event(eg.Say,"OnmouseClick" on a image in the browser). How can we do this?

    J 1 Reply Last reply
    0
    • S sribachana

      Hi All, I have one problem to discuss with. I have a javascript function which will capture screencoordinates of browser window on a mouse click. I want that javascript function to be masked(i.e doesn't apply)to a particular event(eg.Say,"OnmouseClick" on a image in the browser). How can we do this?

      J Offline
      J Offline
      just3ala2
      wrote on last edited by
      #2

      i'm not very sure about that but gues u should check the "element" type before doing your javascript code var elem; elem = document.gerElementById('Your Control') if elem.type = "img" ... something like that hope this would help

      Best Regards 3ala2 :)

      S 1 Reply Last reply
      0
      • J just3ala2

        i'm not very sure about that but gues u should check the "element" type before doing your javascript code var elem; elem = document.gerElementById('Your Control') if elem.type = "img" ... something like that hope this would help

        Best Regards 3ala2 :)

        S Offline
        S Offline
        sribachana
        wrote on last edited by
        #3

        What u check the condition is ok.if the condition satisfies then we should able to mask particular javascript function(In this case,the function which captures the screen coordinates should be masked for the clicked event on the image in a browser). So how to mask the javascript function is what really important for that clicked event on image.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups