Difference between revisions of "Mibbit in a Popup"

From Mibbit Wiki
Jump to: navigation, search
(js in uri or bookmarklet)
(coord. corrected)
Line 4: Line 4:
 
  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). You also can paste
 
(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"))
+
  javascript:void(window.open("<nowiki>http://www.mibbit.com</nowiki>","mpopup","left=0,top=0,width=999,height=635"))
 
into the URL location input line and/or put it into a bookmarklet.
 
into the URL location input line and/or put it into a bookmarklet.
 
  --[[User:HerculeP|HerculeP]] February 2008
 
  --[[User:HerculeP|HerculeP]] February 2008

Revision as of 21:05, 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","left=0,top=0,width=999,height=635"))

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

--HerculeP February 2008