Difference between revisions of "Mibbit in a Popup"
m (e/ removed) |
(non mibbit servers) |
||
Line 1: | Line 1: | ||
− | example to put a link to open the embedded Mibbit version in a popup window onto your web site: | + | 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): |
<a href='#mibbit_test' | <a href='#mibbit_test' | ||
onclick='window.open("<nowiki>http://embed.mibbit.com/?channel=%23mibbit_test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'> | onclick='window.open("<nowiki>http://embed.mibbit.com/?channel=%23mibbit_test&chatOutputShowTimes=true</nowiki>","","width=999,height=555")'> | ||
our chat on irc.mibbit.com (popup)</a> | our chat on irc.mibbit.com (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. | ||
Revision as of 18:27, 26 March 2008
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):
<a href='#mibbit_test' onclick='window.open("http://embed.mibbit.com/?channel=%23mibbit_test&chatOutputShowTimes=true","","width=999,height=555")'> our chat on irc.mibbit.com (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("https://www.mibbit.com/?server=irc.freenode.net&channel=%23mibbit_test","","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.
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