Welcome to WebmasterWorld Guest from

Forum Moderators: not2easy

Message Too Old, No Replies

Collapsible CSS that shows 100 words

show /hide



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?



1:24 pm on May 26, 2011 (gmt 0)

WebmasterWorld Senior Member 5+ Year Member

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.


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.


Featured Threads

Hot Threads This Week

Hot Threads This Month