![]() ![]() This is a pretty clever plugin and will only do the transformation if the browser does not support the text-overflow or -o-text-overflow properties. ![]() This post uses the jQuery method as well as the CSS method so the example above will work if you are viewing this page in Firefox.ĭownload the jQuery ellipsis plugin by Devon Govett. However, it’s possible to work around this with Javascript instead and I present here a method using jQuery. Using jQuery for FirefoxĪs mentioned at the start of this post, Firefox does not support the text-overflow property at all. o-text-overflow: ellipsis is how to make it work in Opera. It can be clipped, display an ellipsis (.), or display a custom string. It works in IE from at least version 6, Safari from at least version 3.2 and Google Chrome. The text-overflow property specifies how overflowed content that is not displayed should be signaled to the user. ![]()
0 Comments
Leave a Reply. |