Difference between revisions of "Mibbit in a Popup"

From Mibbit Wiki
Jump to: navigation, search
(non mibbit servers)
(passing a channel for a widget)
 
(12 intermediate revisions by 6 users not shown)
Line 1: Line 1:
example to put a link to open the embedded Mibbit version in a popup window onto your web site (connects only to irc.mibbit.com or authorized servers):  
+
{{orphan|date=December 2009}}
  <a href='#mibbit_test'
+
Example for a link to open the '''main Mibbit client''' in a popup window (in the top left corner, using a secure connection):  
  onclick='window.open("<nowiki>http://embed.mibbit.com/?channel=%23mibbit_test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'>
+
  <a href='#mibbit_full'
  our chat on irc.mibbit.com (popup)</a>
+
  onclick='window.open("<nowiki>https://www.mibbit.com/</nowiki>","","resizable,left=0,top=0,width=999,height=555")'>
 
+
  mibbit full version (https, popup)</a>
example to put a link to open a channel on freenodethe using the full blown Mibbit version in a popup window:
 
<a href='#freenode_example'
 
onclick='window.open("<nowiki>https://www.mibbit.com/?server=irc.freenode.net&channel=%23mibbit_test</nowiki>","","width=999,height=555")'>
 
our chat on irc.freenode.net (popup)</a>
 
The script part must be all on one line. Replace "mibbit_test" with the name of your own channel.
 
  
  
Line 14: Line 9:
 
  javascript:void(window.open("<nowiki>http://www.mibbit.com</nowiki>","","resizable,left=0,top=0,width=999,height=635"))
 
  javascript:void(window.open("<nowiki>http://www.mibbit.com</nowiki>","","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.
 
into the URL location input line and/or put it into a bookmarklet to open the full featured version.
--[[User:HerculeP|HerculeP]] March 2008
+
 
 +
----
 +
 
 +
 
 +
 
 +
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: [http://wiki.mibbit.com/index.php/Widget#Use_the_Widget_in_a_Popup Widget popup]
 +
 
 +
[[Category:Code]]
 +
[[Category:How To]]
 +
[[Category:Widget]]
 +
{{DEFAULTSORT:Mibbit In A Popup}}

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