|
|
| Author |
Message |
Versimedia
Joined: 07 Jun 2007
Posts: 2
|
Posted: Wed Jun 13, 2007 12:55 pm Post subject: Java Script not working in Firefox |
|
|
Any buttons or menu items that use "Launch Script" to run a javascript file do not work in the Firefox conversion, although they work in IE and the studio fine. I even tested just displaying an alert window in the code:
------
Example:
Create a button, choose "LAUNCH SCRIPT" and enter the filename for the javascript file
In the Javascript file I put:
function Launch(tool)
{
MainWindow.document.parentWindow.alert('test');
}
On IE this displays the message, on firefox nothing happens.
-------
Another bug, anything I have "Hidden" (Under the Visibility option) appears in Firefox toolbar.
I have sent in my CAB to you (twice) as requested and have not heard anything back. Can you please check into this?
-John |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Fri Jun 29, 2007 10:59 am Post subject: |
|
|
For Firefox you should use :
function Launch(tool)
{
tool.alert('test');
}
Invisible buttons issue has been solved in the latest version of converter from :
http://www.besttoolbars.net/download.php#mozilla |
|
| Back to top |
|
 |
felixksp
Joined: 28 Aug 2007
Posts: 15
Location: Spain
|
Posted: Sun Sep 02, 2007 4:55 pm Post subject: |
|
|
| So I understand that tool is the window?? Then how could I access to the toolbar object? Using ToolbarControl? |
|
| Back to top |
|
 |
Admin Site Admin
Joined: 22 Aug 2006
Posts: 1055
|
Posted: Thu Sep 27, 2007 4:36 am Post subject: |
|
|
| For Firefox converter you should just use 'tool' to access toolbar object |
|
| Back to top |
|
 |
|