Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Writing nodes to an excisting tree.
Dennus
Junior Member

Posts: 3
Registered: 8/27/2002
Member Is Offline
posted on 8/27/2002 at 07:10 PM Reply With Quote
Writing nodes to an excisting tree.


Hi,

I like your tree script! I'dd like to use it for a remote script application.
The thing i'm asking myself is if it's possible to insert new items into an excisting node without parsing the entire tree again.
The reason i think it would not work is because all nodes are written to the page in one single run and you cannot write to an excisting page.
But maybe i've overlooked an option like writing to the
? Probably not?
Got some ideas?

Thankz Dennus.
View User's Profile View All Posts By User U2U Member
tigra
Administrator

Posts: 2049
Registered: 6/17/2002
Location: US, CO
Member Is Offline
posted on 8/28/2002 at 06:58 AM Reply With Quote

This is pretty challenging task but it is possible. You can submit customization request and we'll work on it providing you with some kind of API to manipulate nodes dynamically.
View User's Profile View All Posts By User U2U Member
Dennus
Junior Member

Posts: 3
Registered: 8/27/2002
Member Is Offline
posted on 8/30/2002 at 06:16 PM Reply With Quote
Made it work!


Thankz,

But i'm doing this as a home project hoping to score some points at college.

I found a solution myself though. I did it by writing out the script and providing every statement in the entire script with comments.
That way [hint to all other scripters] i now know how the script works.

Bassically i add instead of a link a structure to the initial array, providing it a foldername (on the server) and a property indicating there's more to load from the server.

I replaced the
Code:

'<a href="' + this.a_config[1] + '"

with a function call to the Remote Script call.

When the return loads I use the clicked item as a parameter to the loop doing new Tree_Item(ClickedItem,LoopCount).

Right now i'm implementing an onmousedown event handler for nodes so you can do a Explorer like popup on rightclicks.

When my page is done i'll post a link to it.

Bye..
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Tigra Tree Menu
Product Demonstrations Live Demos:
Frames targeting
Win help style
Free Download Free Download
Free Download Menu Builders
Online Builder
Product Documentation Documentation:
Documenation Page
Support Forum Technical Support
Support Forum
   
Tigra Tree Menu PRO
Product Demonstrations Live Demos
Multiple Trees
Frames Targeting
Icons and Styles Overloading
Event Handling
Performance Test
Version 1.2 features
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Technical Support
Support Forum
Customer Care System
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004