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 
Java Script not working in Firefox

 
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion
Author Message
Versimedia



Joined: 07 Jun 2007
Posts: 2

PostPosted: Wed Jun 13, 2007 12:55 pm    Post subject: Java Script not working in Firefox Reply with quote

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

PostPosted: Fri Jun 29, 2007 10:59 am    Post subject: Reply with quote

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

PostPosted: Sun Sep 02, 2007 4:55 pm    Post subject: Reply with quote

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

PostPosted: Thu Sep 27, 2007 4:36 am    Post subject: Reply with quote

For Firefox converter you should just use 'tool' to access toolbar object
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BestToolbars.Net Forum Index -> Mozilla/Firefox conversion 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