> Plus, it's driving me crazy. Be aware that thickbox also uses $(document).ready(). If it runs before your code then things won't work. You may need to do this so that your doc-ready is registered first:
<script type="text/javascript" src="jquery.js"></script> <script type="text/javascript"> $().ready(function() { $(".list_images img").each(function() { $(this).wrap("<a href='"+$(this).attr("src")+"' class='thickbox'></a>"); }); }); </script> <script type="text/javascript" src="thickbox.js"></script> _______________________________________________ jQuery mailing list discuss@jquery.com http://jquery.com/discuss/