Hi Green,

thanks for the fix. Tested it on IE 7 and the error is gone. However,
I noticed that in your sample.html the original input file is not
selectable in IE7/8 - neither by mouse nor by tab. Very strange, but
it doesn't bother me much. I guess it's more a problem of the
cloning...

Greets, Stefan


On 23 Mrz., 21:21, green <greenlaw...@gmail.com> wrote:
> Hi Stefan,
>
> I give up Event.prototype extension mechanism and make Event.prototype.key()
> a normal function in pMask.js. Can you try it in your IE7? I am using
> windows7 and IE7 can't be installed in this machine. But anyway I suppose
> this new version should work.
>
> thx,
> Green
>
> On Tue, Mar 23, 2010 at 12:00 AM, lars_stecken <ste...@farsite.de> wrote:
> > Hi Green,
>
> > I was an idiot (again) - I still had the IE 7 emulation meta tag in my
> > HTML head, that's why I still got the error. I had put this tag in
> > before in one of my efforts to find a work around for the error.
>
> > Even so, I just checked your example file against a real IE 7 and it
> > fails (Event.prototype not an yadayadayada). Since the browser isn't
> > that old it would be great if you could think of some fix :-)
>
> > Cheers around the world,
> > Stefan
>
> > On 21 Mrz., 11:24, green <greenlaw...@gmail.com> wrote:
> > > hi Stefan,
>
> > > This is the result of removing "prototype" from "Event.prototype.key".
> > > Please DO NOT DO it if you want to keep the tool working. I have tried
> > > T.J.'s suggestion about the IE problem, it's already gone. However there
> > is
> > > another problem in IE8: I tried to clone the form input and found i
> > cannot
> > > move the focus to the cloned one. This problem can't be reproduced in FF
> > and
> > > Chrome. Probably it will not be your problem if you use a different way
> > to
> > > copy input.
>
> > > Take a look at the  new sample.html file in the github to see how I tried
> > to
> > > clone an input and re-mask it.
>
> > > Thx,
> > > Green
>
> > > On Sat, Mar 20, 2010 at 6:20 AM, lars_stecken <ste...@farsite.de> wrote:
> > > > Ok, I figured that now I am getting errors in FF on buttons which are
> > > > caught with the default case in the _chrFromEvent. The mask is still
> > > > working though - I could just comment this line "chr = event.key();" ,
> > > > right?  Am I breaking any functionality by doing this?
>
> > > > On 19 Mrz., 12:07, green <greenlaw...@gmail.com> wrote:
> > > > > Hi Stefan,
>
> > > > > IE problem has been cleared by T.J. Crowder in this thread:
> > > >http://groups.google.com/group/prototype-scriptaculous/browse_thread/..
> > ..
> > > > > It's actually a problem of my test html page, not relevant to the
> > > > > javascript.
>
> > > > > <
> >http://groups.google.com/group/prototype-scriptaculous/browse_thread/..
> > > > .>Greeting
> > > > > from Sydney, Green
>
> > > > > On Fri, Mar 19, 2010 at 5:37 PM, lars_stecken <ste...@farsite.de>
> > wrote:
> > > > > > Hey Green,
> > > > > > thanks a bunch for this quick answer. I'll try it out today and
> > will
> > > > > > also look into the IE problem - maybe I can help.
>
> > > > > > Greets from Berlin, Stefan
>
> > > > > > On 19 Mrz., 00:36, green <greenlaw...@gmail.com> wrote:
> > > > > > > Hi Stefan,
>
> > > > > > > Thanks for reporting this problem. I have a quick fix enable you
> > to
> > > > call
> > > > > > new
> > > > > > > pMask() multiple times without impact fields that is already
> > > > initialized.
> > > > > > I
> > > > > > > have tested it on firefox (3.6) and Chrome (4.0). Running this
> > script
> > > > on
> > > > > > IE8
> > > > > > > failed due to Error: "Event.prototype is null or not an object".
> > I
> > > > will
> > > > > > keep
> > > > > > > watching this IE bug later.
>
> > > > > > > Thx,
> > > > > > > GreenOn Wed, Mar 17, 2010 at 10:37 PM, lars_stecken <
> > > > ste...@farsite.de>
> > > > > > wrote:
> > > > > > > > Hey good work with the script. Ran into a little problem: I am
> > > > copying
> > > > > > > > form elements which have a pmask applied to. Unfortunately the
> > new
> > > > > > > > elements do not get recognized by pMask and calling new pMask()
> > > > again
> > > > > > > > will result in malfunction of the already initialized fields
> > while
> > > > the
> > > > > > > > new fields work fine. Is there a way to initialize only
> > particular
> > > > > > > > fields or to re-initialize the complete document without
> > affecting
> > > > the
> > > > > > > > "old" fields?
>
> > > > > > > > Thanks for your help.
> > > > > > > > Cheers, Stefan
>
> > > > > > > > On 6 Mrz., 14:06, green <greenlaw...@gmail.com> wrote:
> > > > > > > > > Hi,
>
> > > > > > > > > I have port Fabio Zendhi Nagao's
> > > > > > > > > iMask<http://zendold.lojcomm.com.br/imask/>tool to prototype
> > > > with
> > > > > > > > > changes (or, you can say, enhancements). You can
> > > > > > > > > download it athttp://github.com/greenlaw110/pMask/
>
> > > > > > > > > Thx,
> > > > > > > > > Green
>
> > > > > > > > --
> > > > > > > > You received this message because you are subscribed to the
> > Google
> > > > > > Groups
> > > > > > > > "Prototype & script.aculo.us" group.
> > > > > > > > To post to this group, send email to
> > > > > > > > prototype-scriptacul...@googlegroups.com.
> > > > > > > > To unsubscribe from this group, send email to
> > > > > > > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
>
> > > > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%252bunsubscr...@googlegroups.com<prototype-scriptaculous%25252bunsubscr...@googlegroups.com>
>
> > > > > > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%252bunsubscr...@googlegroups.com<prototype-scriptaculous%25252bunsubscr...@googlegroups.com>
>
> > > > <prototype-scriptaculous%252bunsubscr...@googlegroups.com<prototype-scriptaculous%25252bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%25252bunsubscr...@googlegroups.com<prototype-scriptaculous%2525252bunsubscr...@googlegroups.com>
>
> > > > > > > > .
> > > > > > > > For more options, visit this group at
> > > > > > > >http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
> > > > > > --
> > > > > > You received this message because you are subscribed to the Google
> > > > Groups
> > > > > > "Prototype & script.aculo.us" group.
> > > > > > To post to this group, send email to
> > > > > > prototype-scriptacul...@googlegroups.com.
> > > > > > To unsubscribe from this group, send email to
> > > > > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
>
> > > > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%252bunsubscr...@googlegroups.com<prototype-scriptaculous%25252bunsubscr...@googlegroups.com>
>
> > > > > > .
> > > > > > For more options, visit this group at
> > > > > >http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
> > > > --
> > > > You received this message because you are subscribed to the Google
> > Groups
> > > > "Prototype & script.aculo.us" group.
> > > > To post to this group, send email to
> > > > prototype-scriptacul...@googlegroups.com.
> > > > To unsubscribe from this group, send email to
> > > > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> > <prototype-scriptaculous%2bunsubscr...@googlegroups.com<prototype-scriptaculous%252bunsubscr...@googlegroups.com>
>
> > > > .
> > > > For more options, visit this group at
> > > >http://groups.google.com/group/prototype-scriptaculous?hl=en.
>
> > --
> > You received this message because you are subscribed to the Google Groups
> > "Prototype & script.aculo.us" group.
> > To post to this group, send email to
> > prototype-scriptacul...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/prototype-scriptaculous?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to prototype-scriptacul...@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.

Reply via email to