RE: ?DHTML Layers with PHP?

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

 



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@xxxxxxxxx] 
Sent: Friday, March 19, 2004 11:04 AM
To: 'php-db@xxxxxxxxxxxxx'
Subject:  ?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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux