Documentation and examples

Using Pluralink should be fairly pain-free. First you’ll need to define the pluralink library on your page:

<script type="text/javascript" src="http://pluralink.com/files/pluralink.js"></script>
<link rel="stylesheet" href="http://pluralink.com/files/pluralink.css" type="text/css" media="screen" />
<!--[if IE]>
<link rel="stylesheet" href="http://pluralink.com/files/pluralink_ie.css" type="text/css" />
<![endif]-->

<!--[if lte IE 7]>
<link rel="stylesheet" href="http://pluralink.com/files/pluralink_ie6.css" type="text/css" />
<![endif]-->

If you want add target=»_blank» method to your pluralinks just add this code:

<script type="text/javascript">
pluralink.pluralinkOptions.blank = true;
</script>

Than you define your pluralinks in code, like this (don’t forget ending slashes if you define only domain, because of Opera browser that can’t define links like domain.com||):

<a href="http://firstlink.com/||http://secondlink.org/" title="First link description||Second link description">Some pluralink</a>

OR (if you want to watch page without javascript)

<span rel="pluralink">
   <span>Some pluralink</span>
   <a href="http://firstlink.com/">First link description</a>
   <a href="http://secondlink.com/">Second link description</a>
</span>

Finaly you get something like this: Some pluralink.

If you use AJAX on your page, you can re-init pluralink for generated page:

pluralink.reinit();

If you use Wordpress plugin set excerpt viewing for RSS-feed, because pluralinks not worked in RSS yet (but we working on it).