Besttoolbars Development network

Back to Besttoolbars main site

 

 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
relationship between buttons, Launch()es and scripts

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> General questions
Author Message
ijimmoore



Joined: 01 Mar 2010
Posts: 1
Location: New Jersey

PostPosted: Tue Apr 13, 2010 7:48 pm    Post subject: relationship between buttons, Launch()es and scripts Reply with quote

I am relatively new to javascript Confused. Following your doc, I have several buttons in my project. Each executes some js via Launch(). Here are some related questions ...
1. Are all the functions in ALL the scripts in my project accessible by the TB at run time?
2. All of your examples show a call to Launch() from a button. Can I use one generically defined Launch() call for several buttons, to execute functions defined across my various scripts? Please show us how you do that.
3. Is there a limit to the number of Launch() declarations?

Thanks!
Back to top
Admin
Site Admin


Joined: 22 Aug 2006
Posts: 1055

PostPosted: Wed Apr 14, 2010 8:12 am    Post subject: Reply with quote

There is no any Generic Launch function.
For every button you can add 'Custom Javascript' control with Launch function defined inside. And run it after button click.
If you have one function for several buttons, you just need to call the same Launch Script command (from one Custom script) from several buttons.

There is no limit to Launch functions defined.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> General questions All times are GMT
Page 1 of 1

 


Powered by phpBB © 2001, 2005 phpBB Group

Copyright c Softomate, 2010. All Rights Reserved
Terms of Service | Privacy Policy