<script src="http://libs.baidu.com/jquery/1.4.2/jquery.min.js"></script> <link type="text/css" rel="stylesheet" href="css/zoomy0.5.css" /> <script type="text/javascript" src="js/jquery.zoomy0.5.min.js"></script> <script type="text/javascript"> $(function(){ $('.zoom').zoomy(); }); </script> <a class="zoom" href="lucyZoom.jpg"><img src="lucyTn.jpg" /></a>