> This works a bit better than before (before it would not handle
> whitespace at the end)

Yes it's a bit better; however the "invisible" style is contained inside the
<i>text</i>, and so the part after </i> becomes visible again when we are
"typing" the <i>text</i> part.

It would be good if we did not use a <span invisible>, but then we need to
reserve the space for the letters, because we don't want the content to
"push" other content...

but... oh ho!  and here it is!!
    $(this).height($(this).height());
    $(this).width($(this).width());

Check out the new version at
http://www.jquery.info/IMG/html/19_typewriter.html

It even works with IE!

-- Fil


_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/

Reply via email to