OLPCities/Window: Difference between revisions

From OLPC
Jump to navigation Jump to search
No edit summary
 
No edit summary
Line 2: Line 2:


We are now (sept 2006) doing tests to verify all the methods and propeties of this Class that is working OK with the OLPC station. So, we have only a few elements presented here.
We are now (sept 2006) doing tests to verify all the methods and propeties of this Class that is working OK with the OLPC station. So, we have only a few elements presented here.

You don't need to create any object for this Class because it will have only one stantialization for a page. You will use the "prefix": <b>window</b> to call its elements.

==Properties==
<pre>

location = String Used to call a new webpage whose address is the String

</pre>

Revision as of 12:45, 22 September 2006

"Window" is a Class that is part of the DOM (Document Object Model). This "library" is referenced automaticaly by the browser of the OLPC station and you don't need to add anything in the program to use it.

We are now (sept 2006) doing tests to verify all the methods and propeties of this Class that is working OK with the OLPC station. So, we have only a few elements presented here.

You don't need to create any object for this Class because it will have only one stantialization for a page. You will use the "prefix": window to call its elements.

Properties


location = String            Used to call a new webpage whose address is the String