jquery.linkit-test

1.0.0 • Public • Published

LinkIt jQuery Plugin

I created this plugin as a project for a Udemy tutorial titled Projects in JavaScript & jQuery. It is simple, but it does its job.


LinkIt is a simple jQuery plugin used to attach links to HTML pages.

Version

0.1.0

Usage

Add <span></span> tags to your text, then add the following script to your page, changing the url to your desired location.

<script>
  $(document).ready(function() {
    $('span').linkIt({
      href: 'https://pulamusic.github.io/',
      text: 'Click Here'
    })
  })
</script>

The plugin will add the hyperlink Click Here to the page in place of the <span></span> tags with the target set to _blank. You can, of course, change the text of the hyperlink in the short script above.

Vendors

jQuery

License

MIT License

Package Sidebar

Install

npm i jquery.linkit-test

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

3.51 kB

Total Files

4

Last publish

Collaborators

  • pulamusic