Re: [WSG] CSS Dropdown menu
Nothing wrong with styling states with CSS, but there is plenty wrong with using javascript to overwrite CSS states when you could do exactly the same thing with CSS. However, adding javascript to make a browser work like the others do is fine, but you should try to compress it some what, to save download times. On 5/24/05, Thierry Koblentz [EMAIL PROTECTED] wrote: Frederic Fery wrote: on your site is says What's Bad We're using CSS for another purpose than presentation. why is it that bad? It is said that flyout and dropdown menus belong to the behavior layer and that CSS should not be used to accomplish such things. Also, because this technique relies on CSS *and* Scripting it overlaps 2 layers; and that's supposed to be bad too ;-) IMO, there is even a third problem, and it is about usability: there is no delay that can be set regarding the collapsing of the nested lists. Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Rowan Lewis (AKA. The Wolf) ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
On 5/24/05, Thierry Koblentz [EMAIL PROTECTED] wrote: It is said that flyout and dropdown menus belong to the behavior layer and that CSS should not be used to accomplish such things. Also, because this technique relies on CSS *and* Scripting it overlaps 2 layers; and that's supposed to be bad too ;-) IMO, there is even a third problem, and it is about usability: there is no delay that can be set regarding the collapsing of the nested lists. Who is saying that? Im just wondering - Cause sometimes it seems to me that alot of effort is put into making something correct way beyond just adhering to the webstandards. Like asking whether it is ok to use list definitions when the list only has a single item etc. Maybe i have misundertsood something but does it really matter as long as you follow the standards and your page validates? - Michael ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
On Tue, 2005-05-24 at 14:00 +0200, Michael Lykke wrote: Im just wondering - Cause sometimes it seems to me that alot of effort is put into making something correct way beyond just adhering to the webstandards. Like asking whether it is ok to use list definitions when the list only has a single item etc. Maybe i have misundertsood something but does it really matter as long as you follow the standards and your page validates? Not in terms of web standards themselves, but certainly in terms of their purpose. They exist to ensure accessibility, rather than guidelines for their own sake. For example, you can have a perfectly validating table-based layout that remains inaccessible. You can have a website which is purely image-based that is 'valid', although semantically null. Best practises and doing things the 'correct' way are beyond the letter of web standards, but adhere to their spirit - namely, ensuring a more meaningful and accessible web. Kind Regards, Joshua Street base10solutions Website: http://www.base10solutions.com.au/ Phone: (02) 9898-0060 Fax: (02) 8572-6021 Mobile: 0425 808 469 Multimedia Development Agency E-mails and any attachments sent from base10solutions are to be regarded as confidential. Please do not distribute or publish any of the contents of this e-mail without the senders consent. If you have received this e-mail in error, please notify the sender by replying to the e-mail, and then delete the message without making copies or using it in any way. Although base10solutions takes precautions to ensure that e-mail sent from our accounts are free of viruses, we encourage recipients to undertake their own virus scan on each e-mail before opening, as base10solutions accepts no responsibility for loss or damage caused by the contents of this e-mail. ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
Rowan Lewis wrote: Nothing wrong with styling states with CSS, but there is plenty wrong with using javascript to overwrite CSS states when you could do exactly the same thing with CSS. However, adding javascript to make a browser work like the others do is fine, but you should try to compress it some what, to save download times. I'm curious to know if you're saying that as a general rule or if it relates to that menu in particular. Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
I'm just saying that its silly to reinvent things like :hover with javascript and DOM but its perfectly fine to write javascript to fix browser incompatability (IE doesn't support :hover on all elements). On 5/25/05, Thierry Koblentz [EMAIL PROTECTED] wrote: Rowan Lewis wrote: Nothing wrong with styling states with CSS, but there is plenty wrong with using javascript to overwrite CSS states when you could do exactly the same thing with CSS. However, adding javascript to make a browser work like the others do is fine, but you should try to compress it some what, to save download times. I'm curious to know if you're saying that as a general rule or if it relates to that menu in particular. Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** -- Rowan Lewis (AKA. The Wolf) ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
[WSG] CSS Dropdown menu
For people interested in à la suckerfish menus, this one now allows tabbing navigation in MSIE too: http://www.tjkdesign.com/articles/dropdown/demo.asp Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
on your site is says What's Bad We're using CSS for another purpose than presentation. why is it that bad? On 5/24/05, Thierry Koblentz [EMAIL PROTECTED] wrote: For people interested in à la suckerfish menus, this one now allows tabbing navigation in MSIE too: http://www.tjkdesign.com/articles/dropdown/demo.asp Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help ** ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **
Re: [WSG] CSS Dropdown menu
Frederic Fery wrote: on your site is says What's Bad We're using CSS for another purpose than presentation. why is it that bad? It is said that flyout and dropdown menus belong to the behavior layer and that CSS should not be used to accomplish such things. Also, because this technique relies on CSS *and* Scripting it overlaps 2 layers; and that's supposed to be bad too ;-) IMO, there is even a third problem, and it is about usability: there is no delay that can be set regarding the collapsing of the nested lists. Thierry | http://www.TJKDesign.com ** The discussion list for http://webstandardsgroup.org/ See http://webstandardsgroup.org/mail/guidelines.cfm for some hints on posting to the list getting help **