On Dec 24, 3:46 am, Diego Perini <[email protected]> wrote: > Basic rule should be to avoid mixing Javascript and CSS to hide/show > elements in the document (or the complete document). > > So hide/show using only Javascript - OR - hide/show using only CSS (if > possible at all). > ACK. It is OK to have something shown by default and then hide it using javascript but not vice versa.
CSS support does not imply DOM support nor is the reverse true. > This eliminates the possibility of a blank page as the result for > users with disabled Javascript. > Well, yes, but not entirely. It is still possible for things to be fouled up in other ways. Remember "operation aborted" with appendChild? But this thinking can help avoid more such blunders. -- Garrett Twitter: @xkit -- To view archived discussions from the original JSMentors Mailman list: http://www.mail-archive.com/[email protected]/ To search via a non-Google archive, visit here: http://www.mail-archive.com/[email protected]/ To unsubscribe from this group, send email to [email protected]
