In my previous thread I wrote something about ajax pagination and lightbox effect problem. I found how it can be done on http://www.dynamicdrive.com/forums/s...ad.php?t=25671 but this is ok for static content. My articles are retrieved from mysql where I have more than 1000 articles where I have images inside. And this articles with images have following code
HTML Code:
<a href="/image1.jpg" rel="lightbox" title="image1">
. This rel="lightbox" effect I made in custom cms editor like this and now after adding ajax pagination I do not have lightbox effect on my images.<br>
Solution is to replace :
rel="lightbox"

with:

onclick="myLightbox.start(this); return false;" rel="lightbox"
but is there any other solution cause I do not want to alter the mysql because of this. Anyone have idea ?