function choose_ashtopbar() {
$html = <<<HTML
<div class="dmzeus">
<ul>
<li class="f-selection">London
<ul>
<li class="f-newyork">New York</li>
<li class="f-paris">Paris</li>
<li class="f-london">London</li>
<li class="f-milan">Milan</li>
</ul>
</li>
</ul>
</div>
HTML;
return $html;
}
I am using the above function to select cities from a dropdown menu.
However, the selected city needs to be hidden from the menu using javascript, I presume. In my example .f-london
should have css display:none;
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire