|
|
| Author |
Message |
donovan1
Joined: 15 Jan 2010
Posts: 1
|
Posted: Mon Jan 18, 2010 2:57 pm Post subject: custon java script - launch modeless dialog |
|
|
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
|
Posted: Wed Jan 20, 2010 6:05 am Post subject: |
|
|
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 |
|
 |
|