🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

anything-clickable is a small and cross-browser jQuery plugin which makes any elements (e.g. images, videos, table cells, etc) clickable with just an HTML data attribute.

Click

Documentation

jquery-anything-clickable

A jQuery plugin which makes anything clickable easily.

npm

How to install

$ npm install jquery-anything-clickable

And add your reference:

<script src="node_modules/jquery/dist/jquery.min.js"></script> <script src="node_modules/jquery-anything-clickable/src/jquery-anything-clickable.js"></script>

How to use

Create an element.

<p>  </p>

And change it like this.

<p data-href="https://www.aiursoft.com">    </p>

And when it starts, just click it!

You can even add data-href to

<hr> <img> <tr> <td> <video> <div>  ...  And anything!

You May Also Like