LATEST >>

Welcome Here And Thanks For Visiting. Like Us On Facebook...

EXEIdeas – Let's Your Mind Rock » HTML-CSS-PHP-JavaScript / JavaScript Codes » Make A Link That Will Open With The Double Click

Make A Link That Will Open With The Double Click

Make-A-Link-That-Will-Open-With-The-Double-Click
With Jquery we can make many amazing functions and this is one of them. If you wanna make a link that will open with a Double click then this post is for you. And now some people will ask Why make a link that will open with the double click?  I also don’t know.  But if you wanna make it for some reasons then you can easily make by just using the following script.

Features:

1.) JQuery File Added.
2.) Simple JavaScript Code Added.
3.) No Extra CSS Added.
4.) Simple And Fast Loading Flash Files.
5.) Can Work With Any Browser.

How To Add In A WebPage Or Blog?

1.) Just Go To Your “Web Page File” or “Blog”.
2.) Now “Copy” The Below Codes And “Paste” It To There Positions.

<a id='dlink' href='http://www.exeideas.com'>Double Click To Open The Link</a>
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" type="text/javascript"></script>
<script>
jQuery(function($) {
$('#dlink').click(function() {
return false;
}).dblclick(function() {
window.location = this.href;
return false;
});
});
</script>

Customization:

1.) You can change the Codes if your are a Pro. Rest can ask for customization.

Last Words:

That’s all we have. If you have any problem with this code in your template then feel free to contact us with full explanation of your problem. We will reply you as time allow to us. Don’t forget to share this with your friends so they can also take benefit from it and leave your precious feedback in our comment form below. Happy blogging, See you in next article…

You Like It, Please Share This Recipe With Your Friends Using...

Be the first to write a comment.

Leave a Reply

Your email address will not be published. Required fields are marked *