Display current/total articles (i.e. "1/5")
- akay
- Topic Author
- Offline
- New Member
Less
More
- Thank you received: 0
12 years 9 months ago #6488
by akay
My scroller show 5 articles, one at a time. Is there a way to make it show which number article you're on out of the total number of articles?
So the first article would say 1/5
The second, 2/5
I suppose I could add this to the article text and assign it a specific CSS tag, but I'd prefer it to generate automatically. Is that possible?
So the first article would say 1/5
The second, 2/5
I suppose I could add this to the article text and assign it a specific CSS tag, but I'd prefer it to generate automatically. Is that possible?
Please Log in or Create an account to join the conversation.
- Saka
- Offline
- Administrator
12 years 9 months ago #6489
by Saka
Emir Sakic
www.sakic.net
You can display the page/slide number but not the total.
The reason is that this is using AJAX so there is no way for the module to know the total number of articles until it gets them all. It fetches the articles as you scroll and not all at page load.
The reason is that this is using AJAX so there is no way for the module to know the total number of articles until it gets them all. It fetches the articles as you scroll and not all at page load.
Emir Sakic
www.sakic.net
Please Log in or Create an account to join the conversation.