RE: Generating foldout menus in php

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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?

--
Richard Heyes


--
Thanks for the reference Richard. dynContext looks pretty good and is
similar to what I'm already using, but it looks like it also uses x-y
coordinates for the top-level item (looking at the show() function, unless I
misunderstood the manual).

I had problems making it work on my local machine. The
annotated.example.html displayed an error code (I presume) on right click.

BTW I stumbled across cssplay in my search and think it may be the solution.
Just trying to figure if lack of support for IE5 is a problem or not
(supports IE5.5 etc and all other browsers).

Cheers
Arno

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux