It's fairly simple. Just add a simple JavaScript to the template next to the Lightbox import.
<script type="text/javascript" src="js/jquery.js"></script> <script type="text/javascript"> jQuery.noConflict(); jQuery(document).ready(function() { jQuery('#Blog1 a img[class!=icon-action]').parent().attr('rel','lightbox[imgs]'); jQuery('#Blog1 a img[class!=icon-action]').parent().attr('title','© Žan Kafol'); }); </script> <script type="text/javascript" src="js/prototype.js"></script> <script type="text/javascript" src="js/scriptaculous.js?load=effects,builder"></script> <script type="text/javascript" src="js/lightbox.js"></script> <link rel="stylesheet" href="css/lightbox.css" type="text/css" media="screen">
No comments:
Post a Comment