RE: [PHP-DB] ?DHTML Layers with PHP?
| From: | Paul Miller | Date: | Fri, 19 Mar 2004 17:16:39 +0000 |
| Subject: | RE: [PHP-DB] ?DHTML Layers with PHP? | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-33547@lists.php.net to get a copy of this message | ||
This JS script is awesome. I work with Oracle Portal and a guy modified
it to read portal hierarchies so I know it can read dynamic data with
modification.
http://www.destroydrop.com/javascripts/tree/
I believe you just have to be able to create the parent child
relationships and display them in a js include like this:
<script type="text/javascript" src="dynamic_page.php">
</script>
With dynamic_page.php containing links like:
<!--
d = new dTree('d');
d.add(44273,-1,'Corporate Documents');
d.add(44273,1,'Corporate
Documents','http://www.someserver.com/portal/page?_pageid=73,44273','Fol
der Name','');
document.write(d);
-->
I am not sure of a ready made php script that can do what you want, but
I know it can be done.
HTH
- Paul
-----Original Message-----
From: Galbreath, Mark A [mailto:GalbreathMA@state.gov]
Sent: Friday, March 19, 2004 11:04 AM
To: 'php-db@lists.php.net'
Subject: [PHP-DB] ?DHTML Layers with PHP?
I've been sitting here all morning wracking my brains for a way to code
a hierarchical menu tree with JavaScript from database data retrieved by
PHP, so that the child menus appear on a mouse click. Can PHP do this
without JS? The only JS examples I can find use static menu trees, not
dynamic data.
tia,
Mark
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php