Search the archives!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Javascript] dynamically hide an element
- From: aaronbassett at gmail.com (Aaron Bassett)
- Subject: [Javascript] dynamically hide an element
- Date: Thu Nov 30 08:25:45 2006
yup I realized that after I had sent the email but corrected in my last one to 'toggled' its the same problem as CSS layout and naming conventions if you have your navigation menu floated left and you call the column #columnLeft and then decide it would look better on the right and change its float it can make for quite confusing code ;) On 11/30/06, diego nunes <dnunes@xxxxxxxxx> wrote: > > On 11/29/06, Aaron Bassett <aaronbassett@xxxxxxxxx> wrote: > > The advantages are much the same as separating them from the HTML. > > By setting classes rather than styles you can then keep all style > > information within the stylesheet. > > The advantages, obviously, are the separation of presentation and > behavior -- just the same as you do with content and formatting --, > but keep in mind that setting a class to ".hide" is as inefficient as > setting the property directly from JavaScript. > The name of a property should reflect its meaning, not its formatting. > > Amplexos. > > -- > diego nunes > dnunes.com > _______________________________________________ > Javascript mailing list > Javascript@xxxxxxxxxx > https://lists.LaTech.edu/mailman/listinfo/javascript > -------------- next part -------------- An HTML attachment was scrubbed... URL: https://lists.LaTech.edu/pipermail/javascript/attachments/20061130/29f06bdd/attachment.html
- References:
- [Javascript] dynamically hide an element
- From: Peter Brunone
- [Javascript] dynamically hide an element
- From: Aaron Bassett
- [Javascript] dynamically hide an element
- From: Stephan Wehner
- [Javascript] dynamically hide an element
- From: Aaron Bassett
- [Javascript] dynamically hide an element
- From: diego nunes
- [Javascript] dynamically hide an element
- Prev by Date: [Javascript] dynamically hide an element
- Next by Date: [Javascript] Array Numerical Sorting
- Previous by thread: [Javascript] dynamically hide an element
- Next by thread: [Javascript] dynamically hide an element
- Index(es):