The Insertion object (Abstract) This object serves as the root for other classes in the library. It does not have any properties or methods. The classes defined in this object are also treated as traditional abstract classes.
Now, I might be wrong, but I am pretty sure whatever you are trying to do, isn't supposed to be done the way you are trying to. Are you just trying to dynamically include an external CSS file or are you just trying to apply a style to a node? -Andrew Martinez -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Thursday, May 04, 2006 11:30 AM To: [email protected] Subject: [Rails-spinoffs] How to insert styles with Insertion Hi, I'm having difficulty using Prototype's Insertion method to insert styles into a document node. Code like this seems to fail: new Insertion.Top(widgets[i], '<style type="text/css"></style>'); When I inspect the DOM, the style is nowhere to be found. Any ideas on how to get this to work? Thank you, Jeff Rankin Human Factors 544-4333 _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs _______________________________________________ Rails-spinoffs mailing list [email protected] http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
