Difference between revisions of "Mibbit in a Popup"
m |
(embed now supports any server) |
||
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): | |
− | <a href='# | + | <a href='#freenode/test' |
− | onclick='window.open("<nowiki>http://embed.mibbit.com/?channel=%23test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'> | + | onclick='window.open("<nowiki>http://embed.mibbit.com/?server=irc.freenode.net&channel=%23test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'> |
− | our chat on | + | 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='# | + | <a href='#mibbit_full' |
− | onclick='window.open("<nowiki>https://www.mibbit.com/ | + | onclick='window.open("<nowiki>https://www.mibbit.com/</nowiki>","","width=999,height=555")'> |
− | + | mibbit full version (https, popup)</a> | |
− | |||
Revision as of 09:56, 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&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