Look at the right under my picture.
- You can decide how much news you want to see : 10, 30, 50, All (Default is 30)
- You can decide when a news should be displayed. When it is too long instead of having the contents, you will have a button to show/hide the news content. The default is 512 characters.
Many combinations are than possible (default is 30 news and 512 characters):
- 10 news compacted (max 0 bytes)
- 25 news compacted
- 50 news compacted
- All news compacted
- ...
- 10 news limited to 512 characters
- 25 news limited to 512 caracters
- ...
- All news limited to 1024 caracters
- ...
- Finally : all news with no limit (all text shown)
Those who think I'm just playing around with JavaScript are right.
In fact I'm very close to use Ajax but I have a lack of time.
No comments:
Post a Comment