
On 12.21.11, In Javascript, by admin
if you are having problem loading lytebox when loading content with using ajax with jquery e.g.
$("#insidebox").load("ajax.php?cat="+cat+"&cache=" + Math.random()*99999);
The main problem was that Lytebox gets initialized during page load. Since AJAX bypasses page load, the problem arises.
The Lytebox run by this function initLytebox(); so we just need to call this functions when our ajax parsed data properly.
Related posts:




Leave Your Response