Welcome to WebmasterWorld Guest from 54.145.208.160

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)

Senior Member

joined:Dec 29, 2003
posts:5428
votes: 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?

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

Senior Member

WebmasterWorld Senior Member 5+ Year Member

joined:Aug 9, 2008
posts: 961
votes: 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.
1:35 pm on May 26, 2011 (gmt 0)

Senior Member

joined:Dec 29, 2003
posts:5428
votes: 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.

thanks
 

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members