[Proto-Scripty] Sharing sakura, js datetime parser and calendar lib (github.com)

2010-02-14 Thread Alex K
Hi all, some time ago I've spent some time on building JavaScript date formatter, parser and an extensible and flexible calendar widget, now I'm sharing it in hope that it can be useful for someone. http://wiki.github.com/klizhentas/Sakura/ -- You received this message because you are

[Proto-Scripty] Re: document.viewport.getDimensions

2009-01-26 Thread Alex K
JFYI - Upgrade from 1.6.0.1 to 1.6.0.3 solved the issue. On Jan 24, 10:28 pm, Alex K klizhen...@gmail.com wrote: Ok, here you are: //inside some class... this.on_resize_ = this.on_resize.bindAsEventListener(this); Event.observe(window,'resize',this.on_resize_); on_resize: function(e

[Proto-Scripty] document.viewport.getDimensions

2009-01-24 Thread Alex K
Hi All, I've noticed that document.viewport.getDimensions returns weird numbers on Opera 9.63 on Ubuntu. Can anyone confirm? The code snippet is obvious so I'm pretty sure that it's not my typo or something Regards, Alex --~--~-~--~~~---~--~~ You received this

[Proto-Scripty] Re: document.viewport.getDimensions

2009-01-24 Thread Alex K
Ok, here you are: //inside some class... this.on_resize_ = this.on_resize.bindAsEventListener(this); Event.observe(window,'resize',this.on_resize_); on_resize: function(e){ var d = document.viewport.getDimensions(); $('header').innerHTML = ' width: '+d.width+' height: '+d.height; }