homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Gold Sponsor 2015!
Home / Forums Index / Code, Content, and Presentation / CSS
Forum Library, Charter, Moderators: not2easy

CSS Forum

Collapsible CSS that shows 100 words
show /hide

Msg#: 4317778 posted 6:53 am on May 26, 2011 (gmt 0)

Hi guys,
I found a JavaScript /css that shows/hides a certain block of text and it works. But I'd like to shows 100 words and then have a "read more." However that text is in a php script and it changes with each page.

I noticed that youtube has it but I have not yet seen one on public domain. Does anyone know of a script for a fee or free on public domain?




WebmasterWorld Senior Member 5+ Year Member

Msg#: 4317778 posted 1:24 pm on May 26, 2011 (gmt 0)

Hi walkman, if you're looking for a script, you may have better luck in te javascript forum. However, if the only issue is the css, we could have a look to see if it is worth modifying the css instead of looking for a whole new script. If you choose the second option, just post the css and a short html snippet - enough to see how it works.


Msg#: 4317778 posted 1:35 pm on May 26, 2011 (gmt 0)

alt, thanks for the reply.
I have a JS one but it shows nothing in front, just the "click here to see" and I did it last night so I'm not sure if Google indexes it or not. I have to see if it's indexed and then take it from there.


Global Options:
 top home search open messages active posts  

Home / Forums Index / Code, Content, and Presentation / CSS
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved