(opdateret 10. sept.) Eric A. Meyer har pÄ sit css/edge site lavet en side hvor han demonstrerer hvordan man kan lave folde-ud menuer i CSS2 helt uden brug af scripting! Da det krÊver bÄde krÊver support af > selector og :hover "pseudo klassen" pÄ alle elementer (ikke kun links), sÄ er det stadig et fÄtal af browsere som menuen fungerer i. Det er med andre ord mere interessant som en teknologisk demonstration af fremtidens muligheder med CSS end det er praktisk anvendeligt lige her og nu. Men menuen er testet succesfuldt i Mozilla 1.0 og i Netscape 7. Konqueror version 2.2 og 3 understÞtter bÄde :hover pseudo klasse pÄ alle elementer og > selector, men i praksis fungerer menuen alligevel ikke helt i disse browsere (tak til Jonas Koch Bentzen for info om Konqueror 3).

Links:
css/edge, Pure CSS menus eksempel pÄ css/edge, Peter-Paul Koch's CSS2 support chart

Comments

Write a comment... 

 

There are no comments to this post

Only Name and Comment are required fields when commenting here. If you specify your email address, everyone will be able to find it at your comment. However your email will only be directly visible when hovering over your name, and in the code behind it will not look like an email address. So the risk of bots harvesting email addresses here, should be minimal. But again, you are free to leave the email blank when commenting.

If you tick Remember me, your name, email and homepage address will be remembered and prefilled at your next visit (Uses a cookie when ticked).

Full URLs (starting with "http://" or "https://") in comment text will be converted into active links when comment has been verified by a human as not being spam. Comments that looks too much like spam, will immidiately/proactively be rejected by the system and never reach a human eye.