|
I guess that the best way to implement one-to-many (12X) links would be allowing the A tag to have multiple HREFs. The browser should then allow you (right click?) to choose from the possible links (like the Save As option).
Its currently possible to have multiple HREFs (the browser will use only one). Theoretically this would allow us to display 12X links with no browser modifications, just using CSS through the use of :before :after selectors and the atttr(X) property. Unfortunately some browsers dont support this.
With multiple HREFs in AS it should also be possible, as an alternative, to display 12X links
just using CSS through the use of A[href] selectors but, once again, some browsers dont support this.
As it is, I guess one way of doing 12X links on current browsers just by using CSS and DHTML is with something like this:
<html>
<head>
<style>
a.12XLink:hover {text-decoration: none;}
a.12XLink span {display: none;}
a.12XLink:hover span {display: block;}
</style>
</head>
<body>
12X Link
<span>
Item1
Item2
</span>
121 Link
</body>
</html>
Some more DHTML and CSS kung fu could make for a very usable and portable 12X links demo.
C U!
-- Mario Valente
|