Custom code not loading on article change
- waseemhussain
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
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?
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.
- Saka
- Offline
- Administrator
13 years 5 months ago #6181
by Saka
Emir Sakic
www.sakic.net
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.
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.