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 
custon java script - launch modeless dialog

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



Joined: 15 Jan 2010
Posts: 1

PostPosted: Mon Jan 18, 2010 2:57 pm    Post subject: custon java script - launch modeless dialog Reply with quote

I have a custom javascript [attached to a button] that should launch a modeless dialog box. It works in a standalone webpage but when I attach the following javascript code to the button nothing happens?!?!? any help?

function Launch(tool)
{
window.showModelessDialog("accord1.html")
}

I chose this route because it seems the modalDialog (but not modeless) is supported by the toolbar as shown in examples using:

<LOCALHTML name="tbscmd_tbs_button_017484" parse_events="0" href="accord1.html" newbrowserwindow="modaldialog" title="sample" options="status:no;help:no;dialogHeight:600px;dialogWidth:320px;scroll:no;"/>
Back to top
Admin
Site Admin


Joined: 22 Aug 2006
Posts: 1055

PostPosted: Wed Jan 20, 2010 6:05 am    Post subject: Reply with quote

we have no such a method.

You can try to call any toolbar command (including our modadialog) by using CallCMD feature.
Please, find more information in Javascript Interface documentation
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