Difference between revisions of "Mibbit in a Popup"

From Mibbit Wiki
Jump to: navigation, search
(Fixed typo)
(js in uri or bookmarklet)
Line 3: Line 3:
 
  onclick='window.open("<nowiki>http://www.mibbit.com/?server=irc.mibbit.com&nick=yourNick!&channel=%23yourChannel!</nowiki>","mib","width=999,height=635")'>
 
  onclick='window.open("<nowiki>http://www.mibbit.com/?server=irc.mibbit.com&nick=yourNick!&channel=%23yourChannel!</nowiki>","mib","width=999,height=635")'>
 
  our chat on irc.mibbit.com (popup)</a>
 
  our chat on irc.mibbit.com (popup)</a>
(the script part must be all on one line) --[[User:HerculeP|HerculeP]] 22:21, 3 February 2008 (UTC)
+
(the script part must be all on one line). You also can paste
 +
javascript:void(window.open("<nowiki>http://www.mibbit.com</nowiki>","mpopup","x=0,y=0,width=999,height=635"))
 +
into the URL location input line and/or put it into a bookmarklet.
 +
--[[User:HerculeP|HerculeP]] February 2008

Revision as of 16:52, 16 February 2008

example to put a link to open Mibbit in a popup window onto your web site (with the connect form prefilled):

<a href='#mibbit' 
onclick='window.open("http://www.mibbit.com/?server=irc.mibbit.com&nick=yourNick!&channel=%23yourChannel!","mib","width=999,height=635")'>
our chat on irc.mibbit.com (popup)</a>

(the script part must be all on one line). You also can paste

javascript:void(window.open("http://www.mibbit.com","mpopup","x=0,y=0,width=999,height=635"))

into the URL location input line and/or put it into a bookmarklet.

--HerculeP February 2008