|
|
| Author |
Message |
CosiFanTutte
Joined: 14 Apr 2008
Posts: 23
|
Posted: Mon Apr 14, 2008 2:57 pm Post subject: Closing bubble window |
|
|
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
|
Posted: Tue Apr 15, 2008 3:35 am Post subject: |
|
|
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
|
Posted: Fri Feb 19, 2010 12:52 pm Post subject: |
|
|
| 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
|
Posted: Fri Nov 19, 2010 12:18 pm Post subject: |
|
|
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  |
|
| Back to top |
|
 |
Chr
Joined: 17 Nov 2010
Posts: 2
|
Posted: Wed Nov 24, 2010 2:22 pm Post subject: |
|
|
| 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  |
Have you tried <button onclick="javascript:MyTool.closeBubble();">CLOSE</button> ? |
|
| Back to top |
|
 |
kadas99
Joined: 06 Dec 2010
Posts: 10
|
Posted: Mon Dec 06, 2010 9:36 am Post subject: |
|
|
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 |
|
 |
|