Custom code not loading on article change

13 years 5 months ago #6178 by waseemhussain
Hi,

Im using Ajax Scroller with articles where I have placed some custom javacript code, through the nonumber extension called sourcerer.

When the articles load in Ajax Scroller they show up fine and the javascript is working, but only on the first articles shown in ajax scroller.

Once my row of articles change then this customized code is treated as regular html.

I find it very strange, that on the initial loading of the page the customized code is treated properly, but when the articles in ajax scroller change then the customized code is treated as regular text.

Any clues on how to fix this?

Please Log in or Create an account to join the conversation.

13 years 5 months ago #6181 by Saka
It's not strange. First article is loaded at the page load and the rest is fetched asynchronously as you scroll through.

You can turn off AJAX in parameters and see if that will help. Of course, you will lose the advantages of asynchronous load.

Emir Sakic
www.sakic.net

Please Log in or Create an account to join the conversation.

About us

We provide high quality Joomla components created by a co-founder and original core developer of Joomla. For over a decade, our products have been used by more than 20.000 webmasters around the world.

Stay in touch