DLINK - Automatic Link Improver

By adding a single line of javascript to your site, you can automatically enhance your casual links to look and work better.

It's not fussy, wether the link is internal, external, on a subdomain, an anchor or an email link - it will improve its usefullness. All without much work on the developers part too!

Becomes...


Adding DLINK to your site

There are 3 very simple steps to adding DLINK to your site. And you dont have to download a thing!

  1. Add this code to the head of your page
    <script type="text/javascript" src="http://oopstudios.com/dlink/dlink.js"></script>
    Note: this file will never move - linking to my version means you can rely on me making updates!

  2. Add the class of "dlink" to any section of your website that you want highlighted
    <div class="dlink">
      your <a href="#">link filled</a> content...
    </div>
  3. Style the newly enhanced links with colour
    a.internal  {color: #D47700;}
    a.external  {color: #0074D4;}
    a.subdomain {color: #D43500;}
    a.email     {color: #00B235;}

And your done


For example

DLINK actually adds most of the colour and graphics to my entire site, but lets have a quick demo anyhow!

I have created a custom navigation below (that won't be modified)

Remember that your source code remains simple (and semantic), and to implement the feature is literally a one-minute-job!

Note: the icons have been chosen to work on any background colour!