Nate, >Here is a question I have, and perhaps this is doable (I can't see why >not), >but why don't the *box scripts like Thickbox, Lightbox, etc, just write the >CSS in the Javascript file, and eliminate the need to include a CSS file >(or >it's contents in your CSS)?
I'm just giving a general answer to why API developers may choose to go w/an external stylesheet over programming the stylesheets via the API. I think the reason most people like the idea of an external style sheet is that it allows you to have different style sheets for different purposes--without needing to touch the API. The disadvantage code rewritten this way has, is that it's often impossible to style multiple instances of the same plug-in on the same page in a different style--which can sometimes be necessary. The code has to allow for some way to customize the class declarations. I've only run into a few times when this has been necessary and it's usually w/DHTML menus. -Dan _______________________________________________ jQuery mailing list [email protected] http://jquery.com/discuss/
