Difference between revisions of "Mibbit in a Popup"

From Mibbit Wiki
Jump to: navigation, search
(clean up, added orphan tag)
(passing a channel for a widget)
 
Line 1: Line 1:
 
{{orphan|date=December 2009}}
 
{{orphan|date=December 2009}}
 
+
Example for a link to open the '''main Mibbit client''' in a popup window (in the top left corner, using a secure connection):  
Example for a link to open the full blown Mibbit version in a popup window (in the top left corner, using a secure connection):  
 
 
  <a href='#mibbit_full'
 
  <a href='#mibbit_full'
 
  onclick='window.open("<nowiki>https://www.mibbit.com/</nowiki>","","resizable,left=0,top=0,width=999,height=555")'>
 
  onclick='window.open("<nowiki>https://www.mibbit.com/</nowiki>","","resizable,left=0,top=0,width=999,height=555")'>
Line 11: Line 10:
 
into the URL location input line and/or put it into a bookmarklet to open the full featured version.
 
into the URL location input line and/or put it into a bookmarklet to open the full featured version.
  
 +
----
 +
 +
 +
 +
Example for a link to open a '''Mibbit widget''' in a popup window and joining the channel "#Test":
 +
<a onclick=window.open("http://widget.mibbit.com/?channel=%23Test","_wdg","resizable")
 +
href="#Mibbit-popup">open a Mibbit widget in a popup</a>
  
Using the embedded Mibbit: [http://wiki.mibbit.com/index.php/Widget#Use_the_Widget_in_a_Popup Widget popup]
+
see also: [http://wiki.mibbit.com/index.php/Widget#Use_the_Widget_in_a_Popup Widget popup]
  
 
[[Category:Code]]
 
[[Category:Code]]

Latest revision as of 20:55, 3 March 2010

Example for a link to open the main Mibbit client in a popup window (in the top left corner, using a secure connection):

<a href='#mibbit_full'
onclick='window.open("https://www.mibbit.com/","","resizable,left=0,top=0,width=999,height=555")'>
mibbit full version (https, popup)</a>


For your personal use you can also paste

javascript:void(window.open("http://www.mibbit.com","","resizable,left=0,top=0,width=999,height=635"))

into the URL location input line and/or put it into a bookmarklet to open the full featured version.



Example for a link to open a Mibbit widget in a popup window and joining the channel "#Test":

<a onclick=window.open("http://widget.mibbit.com/?channel=%23Test","_wdg","resizable") 
href="#Mibbit-popup">open a Mibbit widget in a popup</a>

see also: Widget popup