Education/Projects/ProcessingForTheWeb/cursor: Difference between revisions

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


This page lists tasks to be done as part of the [[Education/Projects/ProcessingForTheWeb|Processing For The Web]] project, in order to fully implement all of Processing in processing.js.  The work is being led by David Humphrey and Al MacDonald, and done by students at Seneca College.  You are welcome to join this work.
This page lists tasks to be done as part of the [[Education/Projects/ProcessingForTheWeb|Processing For The Web]] project, in order to fully implement all of Processing in processing.js.  The work is being led by David Humphrey and Al MacDonald, and done by students at Seneca College.  You are welcome to join this work.
=== Examples ===


== Functions ==
== Functions ==
cursor() - this function sets the cursor to a predefined browser default. It        will also turn on the cursor if it is already hidden.
cursor(''MODE'') - this function sets the cursor to a predefined ''MODE'' defined by the function's parameter.
<div>
<ul>
  <li>''MODE'': either ARROW, CROSS, HAND, MOVE, TEXT, WAIT</li>
</ul>
</div>




Line 13: Line 25:
<ul>
<ul>
   <li>Test 1 -This tests the cursor() function.</li>
   <li>Test 1 -This tests the cursor() function.</li>
   <li>Test 2 -This tests the cursor(''mode'') function.</li>
   <li>Test 2 -This tests the cursor(''MODE'') function.</li>
   <li>Test 3 -This tests the cursor(''src'',''width'',''height'') </li>
   <li>Test 3 -This tests the cursor(''src'',''width'',''height'') </li>
</ul>
</ul>
Line 27: Line 39:
| Vista
| Vista
| Firefox(3.5.3)
| Firefox(3.5.3)
| Passed
| Passed
| Passed
| Passed
| Passed
| Passed
| Passed
|}
|}

Revision as of 02:36, 20 October 2009

Summary

This page lists tasks to be done as part of the Processing For The Web project, in order to fully implement all of Processing in processing.js. The work is being led by David Humphrey and Al MacDonald, and done by students at Seneca College. You are welcome to join this work.

Examples

Functions

cursor() - this function sets the cursor to a predefined browser default. It will also turn on the cursor if it is already hidden.

cursor(MODE) - this function sets the cursor to a predefined MODE defined by the function's parameter.

  • MODE: either ARROW, CROSS, HAND, MOVE, TEXT, WAIT



Bugs

Tests

  • Test 1 -This tests the cursor() function.
  • Test 2 -This tests the cursor(MODE) function.
  • Test 3 -This tests the cursor(src,width,height)
OS(version) Browser(version) test 1 test 2 test 3
Vista Firefox(3.5.3) Passed Passed Passed