• Header Sidebar Title Text

    One Place Web Resources

    Your Ultimate Destination for all the Coding Needs

    Have your questions answered from the industry pros and get your hands on exclusive code snippets, plugins, themes and a lot more.

  • Code Snippets-javascriptsNo Comments


    You might want a link to have a special action when double-clicked which prevents the default action of the link (go to another page). So: Double-click: does something special, does not do normal click event at all
    Click: works as normal You’ll need to have a very slight delay on firing off the normal click action, which you cancel when the double click event happens.



    Be the first to post a comment.

    Add a comment

    آپلود عکس