As indicated by the code of Step 2 on the demo page, the correct syntax for the script would be:
Code:
<a href="images/large/m_thirteen_1.jpg" rel="enlargeimage" rev="targetdiv:right,preload:yes"><img src="images/large/m_thirteen_thumb1.jpg" alt="" width="100" height="75" border="0" /></a>
However, since preload:yes is the default, you can skip it altogether:
Code:
<a href="images/large/m_thirteen_1.jpg" rel="enlargeimage" rev="targetdiv:right"><img src="images/large/m_thirteen_thumb1.jpg" alt="" width="100" height="75" border="0" /></a>
I don't know if that will validate or not to that DOCTYPE, but I think it will. If not, we will probably have to modify the script to use a data-attribute and an HTML 5 DOCTYPE. But give the above a go first.
Bookmarks