in fact i just found a way:
$("div.linkSubMenu ul li a.selected").parent().parent().parent().show();
is that the correct way? It seems a bit slow on rendering it.
_____
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Alexandre
Plennevaux
Sent: mercredi 28 mars 2007 21:31
To: 'jQuery Discussion'
Subject: [jQuery] Selector question
hello !
i have a menu which structure for each item is:
(1) ul > li > div.linkSubMenu > ul.detailSubnav>li>a
except for the selected menu, which is:
(2) ul > li > div.linkSubMenu > ul.detailSubnav>li>a.selected
on load, all div.linkSubMenu are hidden (via css: display:none)
i would like that the selected one (2) be shown. I don't know how to target it
via jquery, can you help me out?
thank you!
alex
Alexandre Plennevaux - LAb[au] asbl.vzw / MediaRuimte
Lakensestraat/Rue de Laeken 104
B-1000 Brussel-Bruxelles-Brussels
Belgie-Belgique-Belgium
Tel:+32(0)2.219.65.55
Fax:+32(0)2.426.69.86
Mobile:+32(0)476.23.21.42
HYPERLINK "blocked::http://www.lab-au.com/"http://www.lab-au.com
HYPERLINK "blocked::http://www.mediaruimte.be/"http://www.mediaruimte.be
HYPERLINK
"blocked::http://www.mediaruimte.be/"__________________________________________________________________________
The information in this e-mail is intended only for the addressee named above.
If you are not that addressee, please note that any disclosure, distribution or
copying of this e-mail is prohibited.
Because e-mail can be electronically altered, the integrity of this
communication cannot be guaranteed.
__________________________________________________________________________
--
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.448 / Base de données virus: 268.18.20/736 - Date: 27/03/2007 16:38
--
Ce message Envoi est certifié sans virus connu.
Analyse effectuée par AVG.
Version: 7.5.448 / Base de données virus: 268.18.20/736 - Date: 27/03/2007 16:38
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/