Difference between revisions of "Mibbit in a Popup"

From Mibbit Wiki
Jump to: navigation, search
(embed now supports any server)
m
Line 1: Line 1:
 
Example to put a link to open the embedded Mibbit version in a popup window onto your web site (auto connects by default to irc.mibbit.com or authorized servers only):  
 
Example to put a link to open the embedded Mibbit version in a popup window onto your web site (auto connects by default to irc.mibbit.com or authorized servers only):  
 
  <a href='#freenode/test'
 
  <a href='#freenode/test'
  onclick='window.open("<nowiki>http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'>
+
  onclick='window.open("<nowiki>http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&nick=prefix&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'>
 
  our chat on Freenode (popup)</a>
 
  our chat on Freenode (popup)</a>
 
The script part must be all on one line. Replace "test" with the name of your own channel.  
 
The script part must be all on one line. Replace "test" with the name of your own channel.  

Revision as of 10:15, 27 March 2008

Example to put a link to open the embedded Mibbit version in a popup window onto your web site (auto connects by default to irc.mibbit.com or authorized servers only):

<a href='#freenode/test'
onclick='window.open("http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&nick=prefix&chatOutputShowTimes=true","","width=999,height=555")'>
our chat on Freenode (popup)</a>

The script part must be all on one line. Replace "test" with the name of your own channel.

Example for a link to open the full blown Mibbit version in a popup window (using a secure connection):

<a href='#mibbit_full'
onclick='window.open("https://www.mibbit.com/","","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. --HerculeP March 2008