My favorites | Sign in
Project Home Downloads Wiki Issues Source
READ-ONLY: This project has been archived. For more information see this post.
Search
for
  Advanced search   Search tips   Subscriptions
Issue 5: Incorrect usage on Project Home page
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


 
Reported by oxyge...@gmail.com, Oct 19, 2011
//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




Powered by Google Project Hosting