ajax content not loading plugins correctly
-
hello, trying to get a few kinks worked out with the way i’m dynamically loading content with ajax. keep in mind that i really know nothing about ajax, and have just spent the last five hours or so reading all i could about this without really getting anywhere with my issue. the post content loads perfectly but the plugins within the post do not work correctly. this is the code in my header.php :
and this is the code in my main page to set the href to open the content in the new div on click:
<a href="javascript:ajaxpage('https://sidoniesmith.com/main/sister-act/', 'contentarea');">sister act</a>
like i said, the content loads just fine but the gallery plugin won’t work in the ‘contentarea’ div, whereas it does work when just viewing the post by itself. to narrow down my options, i tried this with a media player plugin too and same thing, works in the individual post but not when being pulled by ajax.
any help would be great.
thanks.
-jared
- The topic ‘ajax content not loading plugins correctly’ is closed to new replies.