The Nokia Web Browser is built upon S60WebKit, a port of the open source WebKit project to the S60 platform. Nokia WRT(Web-RunTime) is based on it.
Somebody would ask, "Can we use this library in the development of WRT applications?" The short answer is YES. For the long answer, I will take you through the following topics of this library:
To use prototype.js library, you need download it first and then include it in your widget applications.
Include prototype.js in the main HTML file
The including syntax is as follows:
Place the above code snippet in between the head start tag( <head>) and head end tag(</head>) in the main HTML file.
The main topics in this series are as follows:
This section shows how to do basice operations(utility functions,etc) with prototype.js in WRT widget application.
This section shows how to manipulate strings using prototype.js.
This section shows how to define a class and a subclass, and other stuffs using prototype.js
This section shows how to create a "Hello, world" window and even more using the prototype-based PWC (Prototype Window Class) or prototypeUI library in WRT widget application.
Form and AJAX(JSON)
This section shows how to make an ajax request and process the response using prototype.js in WRT widget application.
An example WRT application will be available for each topic. So, you can practice it yourself.
For the latest version of these demos, please go to here. You can check out the latest source code using a SVN client, or just download the pre-built installable wgz packages.