| Issue 5: | Incorrect usage on Project Home page |
‹ Prev
5 of 5
|
| 1 person starred this issue and may be notified of changes. | Back to list |
//On http://kammerer.boo.pl/code/prototype-overlay/: var overlay = new Overlay().show(element); //now contains "undefined", as show doesn't return anything (tested on Google Chrome). overlay.hide();//error //A correct example would be: var overlay = new Overlay(); overlay.show(); overlay.hide();//works |