John H
Member since May 15, 2009
- Profile: /members/3415-john-h.htm
- Comments: 3
Recent Blog Comments By John H
-
Ask Ben: Excluding Script Tag Content From The jQuery .text() Method
Posted on Oct 20, 2009 at 3:20 AM
Thanks for this, Ben - it resolves the issue (and major headache) I was having. I think the differences between browsers means that I will never quite get them to agree exactly on the length of content, but with this script, plus a little bit of 'fuzziness' in the given length (i.e. if (contentLengt... read more »
-
Ask Ben: Iterating Over An Array In jQuery, One Index Per Click
Posted on May 19, 2009 at 10:01 AM
Many many thanks, Ben. I never knew about using :gt in JQuery. That makes things a lot simpler...... read more »
-
Ask Ben: Iterating Over An Array In jQuery, One Index Per Click
Posted on May 15, 2009 at 11:13 AM
Hi Ben. Great script. It has very nearly helped me to get exactly what I need. However, I need to tweak it and I just can't get it to work. What I am looking for is a way to hide all but the first three items on load (as opposed to hiding all items). Then I need a way to reduce the number of items b... read more »