When I create a class like example below. How would I remove a class
so its not in memory.
namespace.Popup = Class.create(
// create or show
I was thinking of creating this at the start of my application and
just hiding and showing the popup which will be a div that will be
passed into the popup class as a container.
In other languages I have called the class everytime a user rolls over
an element like below.
var popup = new Popup();
if (popup) popup = null;
How would you remove a class like above in prototype.
You received this message because you are subscribed to the Google Groups
"Prototype & script.aculo.us" group.
To post to this group, send email to email@example.com.
To unsubscribe from this group, send email to
For more options, visit this group at