-
Notifications
You must be signed in to change notification settings - Fork 168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slicePoint option not working #30
Comments
I can't reproduce the problem you're seeing ( http://plugins.learningjquery.com/expander/test/?single%20block%3A%20slicePoint%20200%2C%20without%20preserving%20word%20boundaries ) would you mind putting together a reduced test case that shows the problem so I can take a look at what's going on? something on http://jsfiddle.net or http://jsbin.com would be ideal. thanks! |
jsfiddle wasn't working too well so I copied the source and made it work on this: http://205.185.127.183/~soviet/test.html As you can see, the first entry cuts off at 100 chars, and the second cuts off at the desired 200 chars. |
That's right. It's working exactly as you are instructing it to work. The first entry cuts off at 100 characters because you have called The second one cuts off at 200 characters because you are calling
If you want all of them to act the same way, just remove the first call — the one without the options — and change the selector of the second to include all of the
|
Thank you, that solved my problem. I'm not very good with Javascript as I haven't had the need to work with it's code excessively. |
No problem. Glad you were able to get it working. |
Hi, When I try to set the option slicePoice to something other than the default, it doesn't work and cuts off at the default 100chars, here's my JS:
Thanks.
The text was updated successfully, but these errors were encountered: