Hi, I know that prototype should be kept as simple as possible but this is a common use case IMHO.
This is a technique to avoid the brief "flash" that happens when you want a DOM node hidden if the browser has javascript, but be shown if it does not: <script> document.write('<style>#myDiv { display:none; }</style>'); </script> <div id="myId"> ... </div> It's much better than just calling $('myDiv').hide(), which would be seen for an instant in the browser. This can obviously be used with any browser-supported CSS selector. I was just going to blog about it and that's all, but thought it would be a nice feature to add to prototype. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Prototype: Core" group. To post to this group, send email to prototype-core@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/prototype-core?hl=en -~----------~----~----~----~------~----~------~--~---