CSS3 selectors

Myroslav Opyr <[email protected]>
Newsgroups gmane.comp.web.zope.plone.design
Organization Ukrainian Zope Hosting
Message-ID <[email protected]>
Hi,

I've been reading through http://www.mezzoblue.com site I've referred to 
lately in the #plonedesign. And found that the URLs in Plone are 
highlighted with JavaScript and could be with CSS3 selectors 
http://www.mezzoblue.com/archives/2003/06/25/mose/ that are supported in 
some browsers 
http://www.macedition.com/cb/resources/css3support_selectors.html

for instance we can have:
.content a[href^="http://"] {... link_icon.gif ...}
.content a[href^="mailto:"] {... mail_icon.gif ...}
.content a[href^="news://"] {... topic_icon.gif ...}
...
.content a[href^="http://the.original.site"] {... noicon ...}

And make the current JavaScript run in the case the browser that renders 
the page does not support these CSS3 selectors (IE).

m.
-- 
Myroslav Opyr
zope.net.ua <http://zope.net.ua/> ° Ukrainian Zope Hosting
e-mail: [email protected] <mailto:[email protected]>



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id70&alloc_id638&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.