Search This Blog

Thursday, December 13, 2007

New website feature : show or hide news with Javascript

You can now better control what you see on my home page.

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):

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: