Questions tagged [dotdotdot]

dotdotdot is a smart and cross-browser jQuery plugin that truncates multiple line content to fit within your container and adds an ellipsis at the end of the text, similar to the CSS3 text-overflow property. The plugin also has the ability to truncate the path names of a URL to make it more readable.

29 questions
1
vote
0 answers

jQuery dotdotdot plugin function doesn't exist

I added a plugin to jQuery today, which is dotdotdot, but it does not work, I added two more plugins, too, all jQuery plugins I download don't work. Here's my : <?php echo $title;?> | Powerity
PepsiGam3r
  • 302
  • 1
  • 4
  • 10
1
vote
1 answer

jQuery dotdotdot on accordion menu

So I have a set of accordions that I use to show and hide extra content. I am using jQuery's .animate() to do so (well in this case it is using velocity, but essentially the exact same). The closed height shows a few lines of text (height: 95px),…
0
votes
1 answer

Dotdotdot library removing text

Dotdotdot library removing my text on newer versions of Chrome Browser using jquery dotdotdot version 1.6.10 and have try later versions as well. It flashes on initial page load then disappears. I know I can do this with CSS but working a big site…
roshambo
  • 2,624
  • 6
  • 31
  • 54
0
votes
0 answers

Is it possible that dotdotdot removes my text?

I have a h4:

Simple text

and on document.ready: jQuery(".ddd").dotdotdot({}); in my browswer the text is gone, the inspector shows

BUT when I…
John Smith
  • 6,129
  • 12
  • 68
  • 123
0
votes
0 answers

dotdotdot plugin together with Knockout remove content

I has knockout custom binding and use "dotdotdot" into it. ko.bindingHandlers.dotdotdot = { init: function (element, valueAccessor, allBindingsAccessor) { var value = ko.utils.unwrapObservable(valueAccessor()); $(element).text(value); …
0
votes
0 answers

dotdotdot jquery plugin not working for display: inline-block

div { width: 50px; } span { display: inline-block; } p { max-height: calc(1em + 5px); }
a

b

It seems when ellipsis is applied to the p it calculates the width as if it…
shell
  • 1,867
  • 4
  • 23
  • 39
0
votes
1 answer

issue with multiline text with ellipsis in chrome

I'm stuck with some weird issue and hope I can get some help here. I have a multi-line text inside anchor tag which is surrounded by span and then by div tag. I have added plugin 'dotdotdot' to add ellipsis to this text. It works fine in Firefox…
pravid
  • 719
  • 9
  • 27
0
votes
0 answers

How to prevent FOUT with dotdotdot?

I am using the dotdotdot plugin to cut off texts. The problem is that on slower devices I get a flash of unformatted output - it loads the whole text and only after a moment dotdotdot fires and cuts it off. If you want to see an example, just open…
Džuris
  • 2,115
  • 3
  • 27
  • 55
0
votes
0 answers

dotdotdot - Wrap text at the first full stop

I am trying to cut off the text at the first full stop using dotdotdot plugin. However I can't make it work. I tried word-wrap: break-word; but it didn't work. How to cut off the text at the first full stop? I've set these…
brunodd
  • 2,474
  • 10
  • 43
  • 66
0
votes
1 answer

How to use angular-dotdotdot?

I am using dotdotdot seems to bea cool plug-in... however, I need to use it an angular, is not working if new elements are loaded (via http.get <> ng-repeat)... So I find that there is an angular-dotdotdot... How to use it? is not very…
serge
  • 13,940
  • 35
  • 121
  • 205
0
votes
0 answers

AngularJS: call directive after view is loaded

I have strange issue, which is really hard to reproduce with `dotdotdot1 directive: .directive('dotdotdot', ['$timeout', function($timeout) { return { restrict: 'A', link: function(scope, element) { …
brabertaser19
  • 5,678
  • 16
  • 78
  • 184
0
votes
1 answer

why can't I apply ellipses to all posts in my blog using the dotdotdot jquery plugin

I have a blog page that posts the most recent three post but the posts would show all of the body of the post. I tried to use dotdotdot jquery plugin to apply ellipses to the posts but it would only be applied to the current post. I'm making this in…
user4783644
  • 47
  • 1
  • 5
0
votes
2 answers

Jquery dotdotdot.js plugin not functioning properly for text with html elements

I am using dotdotdot.js for my project. Recently, I added a rich-text editor (tinymce), and the text now has some html elements like p,a,b,i, etc. dotdotdot is not working as expected for this text. Here is the fiddle:…
EvilDevil
  • 680
  • 1
  • 7
  • 18
-2
votes
1 answer

dotdotdot see more not working with Angularjs

I have a repeat with a bunch of text I want to apply the ellipsis to. I am using jquery dotdotdot. dotdotdot documentation I made a simple directive that looks like angular.module('core').directive('dotdotdot', [function () { return { …
Leo
  • 1,495
  • 23
  • 41
1
2