View Thread
Who is here? 1 guest(s)
|
how to show in panel ?
|
|
| XPFTP |
Posted on 31-01-2012 21:16
|
|
Frequent poster ![]() Posts: 120 Joined: 15/02/2009 20:50 |
how can i show this in a panel please .. i sooo forgot with old age .. lol also the src links.. do i just up them in the main folder ? ty for any help on this <html> <head> <link href="tree.css" rel="styleSheet" type="text/css"> </head> <body> <!-------------- nos tree --------------> <script language="JavaScript" src="tree_nodes.js"></script> <script language="JavaScript" src="tree_format.js"></script> <script language="JavaScript" src="nostree.js"></script> <script language="JavaScript"> //This script featured on JavaScript Kit (http://www.javascriptkit.com) var treeName = "Tree"; new NosTree (treeName, TREE_NODES, TREE_FORMAT); //UNCOMMENT 2 lines below to expand first node of tree and redraw it //NTrees[treeName].Nodes[0].expanded = true; //NTrees[treeName].draw(); </script> </body> </html> Edited by XPFTP on 31-01-2012 21:17 |
|
|
|
| XPFTP |
Posted on 01-02-2012 00:43
|
|
Frequent poster ![]() Posts: 120 Joined: 15/02/2009 20:50 |
ok i got it to some what work.. but the size height of panel is like only 2 lines of text high.. anyway to tell the panel height or force it ? |
|
|
|
| KasteR |
Posted on 01-02-2012 14:06
|
|
Junior ![]() Posts: 26 Joined: 16/01/2010 21:15 |
What are you even trying to display? Looks like JavaScript only to me.. |
|
|
|
| quiki |
Posted on 02-02-2012 02:28
|
|
Forum Moderators ![]() Posts: 143 Joined: 25/11/2008 09:28 |
Hm, see if this works: openside("Topicname" ;echo ' <center> <script language="JavaScript" src="tree_nodes.js"></script> <script language="JavaScript" src="tree_format.js"></script> <script language="JavaScript" src="nostree.js"></script> <script language="JavaScript"> //This script featured on JavaScript Kit (http://www.javascriptkit.com) var treeName = "Tree"; new NosTree (treeName, TREE_NODES, TREE_FORMAT); //UNCOMMENT 2 lines below to expand first node of tree and redraw it //NTrees[treeName].Nodes[0].expanded = true; //NTrees[treeName].draw(); </script> </center> </a> </br> '; closeside(); |
|
|
|
| XPFTP |
Posted on 02-02-2012 02:38
|
|
Frequent poster ![]() Posts: 120 Joined: 15/02/2009 20:50 |
nope..quiki .. the java came with a load iframe page.. so i went with that .. so the panel loads the frame code. then brings the java tree page .. works good .. yes kaster its java .. its a nav tree like windows file manager .. there wasnt anything like it for pf .. so i wanted to find one that would work .. Edited by XPFTP on 02-02-2012 02:40 |
|
|
|
| KasteR |
Posted on 02-02-2012 20:40
|
|
Junior ![]() Posts: 26 Joined: 16/01/2010 21:15 |
Just taking a guess here, but you may need to be placing the JavaScript code within a head tag, before the php portion of the script. I wouldn't try to echo it out through php. And what I meant earlier, is you are leaving out the portion that will actually display something, such as a menu. |
|
|
|
| XPFTP |
Posted on 02-02-2012 21:46
|
|
Frequent poster ![]() Posts: 120 Joined: 15/02/2009 20:50 |
ill pm you the site link so you can see the menu .. i didnt write the codeing.. and i got it to work to a point .. as iam testing many diff menus.. i like smokes menu .. but i also like the windows explorer style as many people are use to this type of menu . |
|
|
|
| ankit123 |
Posted on 04-02-2012 02:23
|
|
Newbie ![]() Posts: 1 Joined: 04/02/2012 02:22 |
Thank u for a suggestion.... |
|
|
|
| Jump to Forum: |


Information
Resources
Submit









;