Hi group.

I'm on the way to have a plugin doing typographical ameliorations on
the texts, like hyphenations, but for the moment i'm only working on
basical stuff. I want to implement an emulation of the css :first-
letter, but doing it better.

For example if you have a number at the beginning, the whole number is
taken, and if you have some non-alphanumeric characters at the
beginning, like " or the spanish reversed ?, they are counted inside
the initial.

You can see a little example there (I started yesterday, don't be
cruel to a heart that's fool) :
http://www.si-les-idees-suffisaient.net/jquery/typoessai.html
it 'alert()'s a lot, but keep saying ok.

Look at the source there :
http://www.si-les-idees-suffisaient.net/jquery/jquery.typo.js

The problem is : it's working only for Firefox. Opera and IE seem to
do nothing at all, not even the very first alert, stating the
beginning of the function.

To do this function i have to use textNodes, checking for the
nodeType. I'm wondering if it is what makes IE and Opera not doing
anything.

Thanks for any help.

Reply via email to