Hi,
I have a lightbox script installed and now I want to apply the script on every image within the content div. How can I achieve this?
My current JS code:
<script type="text/javascript" charset="utf-8">
$(document).ready(function(){
$("a[rel^='prettyPhoto']").prettyPhoto();
});
</script>
The css/div I want it applied to:
div.post img {
I somehow can't get this to work, and my jQuery skills are non existent :)
Thanks in advance for any help :)