Hello, I have a website that uses ajax jquery and facebox. ( http://tinyurl.com/23eh4xc )
Inside the div "#content" there are some links to other pages that open fine using facebox.
If I reload the content of that div using ajax jquery , then the links wont popup using facebox effect anymore.
I tried to create a function that I would call whenever I call the function that changes the contents of div #content , but no luck . I know that I must reinit/reload the facebox to DOM everytime I load something new to the page that contains rel="lightbox" ,but I cant figure it out how.I call this inside
function showcategory() {
reinit();
...
}
function reinit() {
$('a[rel*=facebox]').facebox() ;
}