 |
 |
 |
 |
 |
| Author |
Message |
snoopy
Joined: 28 Mar 2006 Posts: 23
|
|
plus minus news stories |
|
Hi a nice little trick would be to add a + and - to the stories so the viewers could decide how many stories to show.
|
|
| Tue Feb 12, 2008 12:05 pm |
|
 |
Guest
|
|
|
Please login to hide the ads.
|
|
|
|
 |
FI-DD
Admin

Joined: 22 Sep 2005 Posts: 2668 Location: Germany |
|
|
|
You can do this in your template. Put your news in a <div> and hide it when loading:
 |  | <div id="{id}" style="display:none">news</div> |
Then you create a plus (+) link which has the following onclick event:  |  | onclick="document.getElementById('{id}').style.display='block'" |
That's basic css and javascript - just google it.
|
|
| Fri Feb 15, 2008 4:22 pm |
|
 |
scottdallas

Joined: 04 May 2006 Posts: 1802 Location: US |
|
|
|
Well that's a handy and cool trick. I just bookmarked it. I'm glad you googled it first fidd 
_________________ www.scottdizzle.com uses cnr
last update: 07-22-08: 8:30 pm |
|
| Sun Feb 17, 2008 8:48 pm |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum
|
|
 |
 |
 |
|