Results 1 to 6 of 6

Thread: unrolling news on main site

  1. #1
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default unrolling news on main site

    Hello, im looking for a script to make news on my site like this:
    http://www.pg.gda.pl/bks/ (click więcej>> to unroll)

    i would like to make the same on my site, so i could unroll my news. does any one know the script?
    i will be gratefull for any help, cheers.

  2. #2
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

  3. The Following User Says Thank You to Medyman For This Useful Post:

    saif3r (02-06-2009)

  4. #3
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    kewl thanks. but how do i have to make if i wanna see first 3 lines of the news, and slide down the rest? i mean if i want those 3 lines always visible.

    oh and btw, i need it for php site
    Last edited by saif3r; 01-30-2009 at 12:01 AM.

  5. #4
    Join Date
    Mar 2007
    Location
    Currently: New York/Philadelphia
    Posts
    2,735
    Thanks
    3
    Thanked 519 Times in 507 Posts

    Default

    Code:
    <div id="intro">
       Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent at sem. Donec dictum placerat enim. Donec eget pede. Donec dignissim velit vestibulum nibh bibendum venenatis. Aliquam condimentum. In pretium purus sit amet leo. Nullam justo dui, imperdiet a, congue et, dapibus at, felis.
    <a href="javascript:animatedcollapse.show('more')"">Read more...</a>
    </div>
    
    <div id="more">
    Maecenas sed nisl eget felis condimentum lacinia. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Quisque tristique est ac tortor. Sed sagittis. Nullam enim erat, porta ac, mattis ac, accumsan non, libero. Aliquam vel elit id lacus malesuada molestie. Curabitur nibh ligula, gravida a, mollis ac, sagittis ac, felis. Quisque sed odio dapibus mi accumsan porta. Suspendisse fermentum interdum sapien. Nunc ac dolor ac purus pretium euismod.
    </div>
    Edit: I forgot to mention that you should also hide the "more" div at the start with CSS. Something like #more { display:none; }

  6. The Following User Says Thank You to Medyman For This Useful Post:

    saif3r (02-06-2009)

  7. #5
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    could u explain me step by step how to make it on php site?
    Last edited by saif3r; 01-30-2009 at 10:16 AM.

  8. #6
    Join Date
    Jan 2009
    Posts
    4
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Default

    im trying to do this, but it wont work... i got it on my site, but it dont want to expand...

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •