Friday, April 16, 2010

Processing-js status bar

My next ticket for processing-js is status(). In this function I had to display a message in browser status bar. I had to set dom.disable_window_status_change to false in order for the message to be displayed in status bar. I wonder that it is possible to disable this options by using javascript. For now I have to disable it manually by typing "about:config" in url of firefox browser.
This is the output.

Monday, April 5, 2010

I have been working on my next processing-js ticket 155. There were a lot missing information that I could find answers. Since the assignment requires using JavaScript to capture inputstream from either url or a input file. However, when I googled it, I found out that JavaScript couldn't handle files.
So I went on IRC and talked to mlam19 and annasob. mlam19 suggested that I should use AJAX to work around the problem, such as return ajax(filename). Annasob told me that I should ask John Resig. So I emailed him and hopefully he would reply.
The other problem that I have in mind is how do I test the function, because it requires to capture an online stream or input. Hopefully I will have all my answers when I'll attend Processing conference call on thisThursday.