jqueryexample.com jquery elipsis - dotdotdot plugin - jqueryexample.com

jquery elipsis – dotdotdot plugin by jqueryuser

jQuery.dotdotdot is an advanced cross-browser ellipsis for multiple line content. It adds an ellipsis after cut off text to indicate that there is more text than currently visible. Not only on a single line of content, but also particularly on multiple lines of content.

To use add jquery library and script file in header and on document ready call function.
<script type=”text/javascript” language=”javascript” src=”jquery.js“></script>
<script type=”text/javascript” language=”javascript” src=”jquery.dotdotdot-1.2.1.js“></script>

$(function(){
$(‘.ellipsis, .ellipsis-e’).dotdotdot();
$(‘.ellipsis-r’).dotdotdot({
watch: ‘window’
});
$(‘.ellipsis-a’).dotdotdot({
after: ‘a’
});
});

CSS:

.box.box-half {
    float: left;
    width: 295px;
}

.box.box-7 {
    height: 110px;
}
 <div>
          <div style="height: auto; width: auto;">
content goas here...
</div>
</div>

For more details Visit: http://dotdotdot.frebsite.nl/

Did you like this? Share it:

Discussion

  1. I’m new to developing sites and I was wanting to know if having your blog title relevant to your content really that vital? I see your title, “jqueryexample.com

  2. Heya just happened upon your website from Yahoo after I entered in,
    “jqueryexample.com

  3. Wow that was odd. I just wrote an really long comment but after I clicked submit
    my comment didn’t appear. Grrrr… well I’m not
    writing all that over again. Regardless, just wanted to say superb blog!

  4. Hello! I hope you do not mind but I decided to post
    your weblog: http://jqueryexample.com/jquery-elipsis-dotdotdot-plugin.

    html to my online directory. I used, “jqueryexample.com

  5. Kit says:

    My partner and I absolutely love your blog and find most of your post’s to be precisely what I’m
    looking for. Does one offer guest writers to write content for yourself?
    I wouldn’t mind writing a post or elaborating on some of the subjects you write regarding here. Again, awesome website!

  6. Hello there! Do you use Twitter? I’d like to follow you if that would be okay. I’m absolutely enjoying
    your blog and look forward to new posts.

  7. Baju bayi says:

    Wow, marvelous blog layout! How long have you been blogging for? you make blogging look easy. The overall look of your web site is great, let alone the content!. Thanks For Your article about jqueryexample.com » jquery elipsis & .

Leave a Comment