Re: Generating foldout menus in php

From: Date: Mon, 03 Sep 2007 15:06:18 +0000
Subject: Re: Generating foldout menus in php
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-261639@lists.php.net to get a copy of this message
2007. 09. 3, hétfő keltezéssel 15.09-kor Richard Heyes ezt írta: > > I'm looking for a way to generate dropdown/foldout menus (horizontal and > > vertical) on the fly, but all the javascript solutions I've seen use > > absolute or relative pixel positioning, which means I can't use them because > > I don't know at the time of generating a specific menu item how many pixels > > across or down the preceding items have already used. I'm currently using a > > javascript menu that works really well, but all the top-level menu items > > have to be preset with specific x-y pixel coordinates, and all the > > subsequent items are then relative to the top-level items. So I can generate > > the second-level and subsequent items on the fly but not the top-level > > items. Is there a way to use css or dhtml or something else (maybe something > > in javascript that I missed) to do this? > > Is this: http://www.phpguru.org/static/dynContext.example.html > what you > mean? > hmm on Linux/Firefox I can not see any custom menu... there's a box saying "Right click here to see menu" - I tried right click, left click, double click there and nothing happens. (on right click the standard firefox context menu appears) greets Zoltán Németh > -- > Richard Heyes > +44 (0)800 0213 172 > http://www.websupportsolutions.co.uk > > Knowledge Base and HelpDesk software > that can cut the cost of online support >

« previous php.general (#261639) next »