Gurpreet Singh
Gurpreet Singh

Reputation: 11

how do i continuously get the read more link if i have long content on a particular div using jquery

i want to break my content div into 4 readmore links

<div id="mycontent">
testing long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long contenttesting long content
</div>

how can i do it usuing jquery Please help me in

Upvotes: 0

Views: 109

Answers (1)

Val
Val

Reputation: 17522

I don't know how much of jQuery you know but this is a nice plugin you can use.

http://plugins.learningjquery.com/expander/demo/index.html

there is a demo and the download link there aswell :) hope it helps

Upvotes: 1

Related Questions