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 
Closing bubble window

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



Joined: 14 Apr 2008
Posts: 23

PostPosted: Mon Apr 14, 2008 2:57 pm    Post subject: Closing bubble window Reply with quote

To close a bubble window, I use A tag like

<a href=bubble://close/>Close</a>

And this doesn't work on Firefox. Any suggestions?

CosiFanTutte
Back to top
Admin
Site Admin


Joined: 22 Aug 2006
Posts: 1055

PostPosted: Tue Apr 15, 2008 3:35 am    Post subject: Reply with quote

Use tool.closeBubble();

Please, read Javascript interface documentation or embedded help of ToolbarStudio/Firefox converter section.
Back to top
CatalinB



Joined: 10 Dec 2009
Posts: 30

PostPosted: Fri Feb 19, 2010 12:52 pm    Post subject: Reply with quote

Admin wrote:
Use tool.closeBubble();

Please, read Javascript interface documentation or embedded help of ToolbarStudio/Firefox converter section.



I want to use this functionality and I'm getting the following error:
"Refference Error: bubblewindow is not defined"

FF 3.* , WinXP, ToolbarStudio v.4.2.0.5
Back to top
lokigfx



Joined: 19 Nov 2010
Posts: 2

PostPosted: Fri Nov 19, 2010 12:18 pm    Post subject: Reply with quote

I also have the same issue in IE8 with version 4.2.0.47

I've got following code INSIDE of the bubble's html:

<script language="JavaScript" type="text/javascript">
var MyTool = null;
function ToolBarInit(tool) {
MyTool = tool;
}
</script>

<button onclick="javascript:tool.closeBubble();">CLOSE</button>


Any suggestions really appreciated Smile
Back to top
Chr



Joined: 17 Nov 2010
Posts: 2

PostPosted: Wed Nov 24, 2010 2:22 pm    Post subject: Reply with quote

lokigfx wrote:
I also have the same issue in IE8 with version 4.2.0.47

I've got following code INSIDE of the bubble's html:

<script language="JavaScript" type="text/javascript">
var MyTool = null;
function ToolBarInit(tool) {
MyTool = tool;
}
</script>

<button onclick="javascript:tool.closeBubble();">CLOSE</button>


Any suggestions really appreciated Smile


Have you tried <button onclick="javascript:MyTool.closeBubble();">CLOSE</button> ?
Back to top
kadas99



Joined: 06 Dec 2010
Posts: 10

PostPosted: Mon Dec 06, 2010 9:36 am    Post subject: Reply with quote

I have the same error:


"My tool is not defined"


So, i wan to show all i have:


Some php file, for example:

.php
Code:
<?php

echo "New bubble";
echo "<br />";
echo "<button onclick='javascript:MyTool.closeBubble();'>CLOSE</button>";


?>


later, i call it from toolbarstudio whit "Show Bubble".
When press close button, i get that error.

Thanks

(Sry about my english, i am from arg and i still learning about english)
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