[mochikit] Re: window onclick doesn't work in IE

2007-10-19 Thread Olli Wang
Thanks, it works. :) On Oct 19, 11:12 pm, Beau Hartshorne <[EMAIL PROTECTED]> wrote: > On 19-Oct-07, at 2:30 AM, Olli Wang wrote: > > > Hi, I just tried: > > > connect(window, 'onclick', function () {alert('test')}) > > > When I click o

[mochikit] window onclick doesn't work in IE

2007-10-19 Thread Olli Wang
Hi, I just tried: connect(window, 'onclick', function () {alert('test')}) When I click on the window I should get an alert message. But it works fine on Fx, Safari and Opera, but not in IE 6 and IE 7. What's wrong about this function for IE? Any help would be appreciated. --~--~-~--~--

[mochikit] Ox.Class 0.1 has been released. Make writting OO easy

2007-10-15 Thread Olli Wang
Hi, folks. I just write Ox.Class, which provides a convenient way to write OO in JavaScript, and it supports multiple inheritance, too. You may get the code at http://pygments.org/demo/485/ , and here's my brief tutorial: 1. Define the class: Person = Ox.Class(object, { '__init__': f

[mochikit] Re: _55c has no properties

2007-03-03 Thread Olli Wang
But the error message sometimes appears but sometimes not in my same unchanged page.That's weird. :( On Mar 4, 2:36 pm, "Bob Ippolito" <[EMAIL PROTECTED]> wrote: > On 3/3/07, Olli Wang <[EMAIL PROTECTED]> wrote: > > > > > Hi, don't kno

[mochikit] _55c has no properties

2007-03-03 Thread Olli Wang
Hi, don't know why but sometimes "_55c has no properties" error appears in my Firebug console, I use packed version. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "MochiKit" group. To post to this group, s

[mochikit] Re: Fixed IE loadJSONDoc cache issue

2007-02-24 Thread Olli Wang
Oh, thanks. I haven't seem it before, sorry. On Feb 25, 4:06 am, "Roger Demetrescu" <[EMAIL PROTECTED]> wrote: > Hi Olli, > > You may find interesting reading this thread: > > http://tinyurl.com/23ny74 > > Cheers, > > Roger > > On 2/24/07, O

[mochikit] Fixed IE loadJSONDoc cache issue

2007-02-24 Thread Olli Wang
IE cache issue is annoying. Don't know why but MochiKit don't add a time stamp by itself so that we have to pass the parameter manually every time. I just fix this issue in my MochiKit.js, here's my code for anyone who needs it. # Original source (MochiKit.js at r1269) 2472 if(arguments.length>1