You can do the following but it will be a custom mod that will no longer work for click activation.
First, in thumbnailviewer2.js change:
Code:
var imagepath=linkobj.getAttribute("href") //Get URL to enlarged image
to:
Code:
var imagepath=linkobj.rel.split('::')[2]; //Get URL to enlarged image
and (also in the thumbnailviewer2.js file) get rid of this:
Code:
pagelinks[i]["onclick"]=function(){ //Cancel default click action
return false
}
Now your links that previously were like so and similar:
Code:
<a href="images/smallAl976.jpg" class="links-white-small" rel="enlargeimage::mouseover" rev="loadarea::AL976-Aluminum-Full-View-Door.php">AL978 ALUMINUM</a>
would be like:
Code:
<a href="whatever.htm" class="links-white-small" rel="enlargeimage::mouseover::images/smallAl976.jpg" rev="loadarea::AL976-Aluminum-Full-View-Door.php">AL978 ALUMINUM</a>
Notice that the URL to the larger image has been moved to the rel attribute following an additional :: separator. The href or the link can now be to whatever you like and it will be and function as a normal link when clicked.
Bookmarks