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: onClick handle in tree item.
tnn
Junior Member

Posts: 5
Registered: 4/24/2008
Location: SJC
Member Is Offline
posted on 4/24/2008 at 04:40 PM Reply With Quote
onClick handle in tree item.


Hello,

I have Tigra Tree Menu Pro.

I'd like to implement onClick handle in the tree item instead of going to the link.

here is sample of my tree item:

['machine1','machine1.html',{'tw':'_self','tt':'machine1'}],

so instead of going to machine1.html, I like to change to:

['<a href="#" onClick="onclickhandle();">machine1</a>','machine1.html',{'tw':'_self','tt':'machine1'}],

how ever it's not working. please help point out the solution.


thanks
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 4/25/2008 at 02:59 PM Reply With Quote

try:
['machine1','javascript:onclickhandle()',{'tw':'_self','tt':'machine1'}],
View User's Profile View All Posts By User U2U Member
tnn
Junior Member

Posts: 5
Registered: 4/24/2008
Location: SJC
Member Is Offline
posted on 4/25/2008 at 08:34 PM Reply With Quote

hello,

it works. :-D Thank you.

now I have a new problem. I can't pass a string into onclickhandle. example:

['machine1','javascript:onclickhandle("machine1")',{'tw':'_self','tt':'machine1'}],


I check by copy the link from tree menu it has only javascript:onclickhandle(

I did \" or ' the string but both failed.

please help.

Thanks.
View User's Profile View All Posts By User U2U Member
tnn
Junior Member

Posts: 5
Registered: 4/24/2008
Location: SJC
Member Is Offline
posted on 4/26/2008 at 07:48 PM Reply With Quote

escape single quote works \'


thanks
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