I keep tweaking version 2.0. I haven't changed it much lately so I'm,
starting to think that it is ready for release.
> 2) How to bind JSB to the window scroll event...? I looked for it in
> chrome as well but I couldn't find any reference by browsing the
> code...
>
You can't bind to the window scroll event declaratively, you will have
to addEventListener in the onattach event. I might add onviewportscroll
now that you have mentioned it.
-dean
Yes, that's it. It will be cross-browser compatible because JSB is built
on top of base2.
>> I might add onviewportscroll now that you have mentioned it.
>
> That would be totally awesome!
>
Yeah, I thought about this for a while. I'm also thinking that I should
add ontextresize for text zooming. Any other global events that I should
add?
-dean
I like the idea of an ontextresize. I've been wondering about onhashchange.
--
m
How about these?
1. onwindowresize
2. onwindowscroll
3. ontextresize
4. onhashchange
We already have ondocumentready.
The last one might not be possible in IE6 without inserting an <iframe>.
-dean
IIRC, you can't detect hash changes with back/forward buttons otherwise.
-dean