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: Reference HINTS_ITEMS array by name
pgunni
Junior Member

Posts: 3
Registered: 8/6/2003
Member Is Offline
posted on 8/6/2003 at 04:26 AM Reply With Quote
Reference HINTS_ITEMS array by name


Firstly, very cool tool.

How do you create the array of hints so they can be referenced by name e.g myHint.show('Tip1')?

Also when is the PRO version out?

Regards
View User's Profile View All Posts By User U2U Member
rock
Moderator

Posts: 687
Registered: 4/15/2003
Member Is Offline
posted on 8/6/2003 at 02:17 PM Reply With Quote

You should modify timeout call as the follows:
setTimeout('myHint.showD("'+id+'")', this.n_dl_show);
setTimeout('myHint.showElem("' + this.visible + '", true)', 10);

Items should be defined as:
HINTS_ITEMS = {
'TT1':wrap("Tigra Hints Product Page"),
'TT2':wrap("SoftComplex Download Page"),
'TT3':wrap("Tigra Hints Forum"),
'TT4':wrap_img("01", "A picture of a tiger"),
'TT5':wrap_img("70","A picture of a tiger"),
'TT6':wrap_img("20","A picture of a puma")
};

And show call will be:
onMouseOver="myHint.show('TT5')"
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
 Product Demonstrations Live Demo
Free Download Free Download
Product Documentation Documentation
Documenation Page
Change Log
Support Forum Support Forum
 

Go To Top


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