Difference between revisions of "Widget"
m (→iframe Example: some explanations & minor changes) |
m (→iframe Example) |
||
Line 9: | Line 9: | ||
<nowiki><iframe width="600" height="380" scrolling="no" frameborder="0" | <nowiki><iframe width="600" height="380" scrolling="no" frameborder="0" | ||
src="http://embed.mibbit.com/e/?channel=%23my_chat&nick=choose_one"> | src="http://embed.mibbit.com/e/?channel=%23my_chat&nick=choose_one"> | ||
− | + | </iframe> | |
type /nick to change your Nick name,</nowiki> /help, /cs help, | type /nick to change your Nick name,</nowiki> /help, /cs help, | ||
/ns help, /ms help, or /os help for available commands | /ns help, /ms help, or /os help for available commands |
Revision as of 11:39, 3 March 2008
The embedded widget is in alpha...
The basic URL is http://embed.mibbit.com/e/ Please make sure you use embed.mibbit.com and NOT www.mibbit.com.
iframe Example
<iframe width="600" height="380" scrolling="no" frameborder="0" src="http://embed.mibbit.com/e/?channel=%23my_chat&nick=choose_one"> </iframe> type /nick to change your Nick name, /help, /cs help, /ns help, /ms help, or /os help for available commands
add these lines onto your web page to have your own chat there. Use any scripting language to avoid nick collisions, e.g.,
...&nick=group_<?php mt_rand(10000, 99999); ?>">
Default Preferences
- channel = %23chat
- chatOutputShowTimes = false
- showJoinsParts = false
- showAwaysBacks = false
- chatOutputNickWidth = 90
- userListWidth = 130
- focusNewJoins = false
Then, just specify channel and optionally nick.
- If you do not provide a nick, a random one will be chosen
- If there is a nick collision, the user will be prompted to choose a new one (IE7 may have issues with prompt
You can override all of these in the URL, using params. You can also override autoAway. ,e.g., &autoAway=0 to disable (case matters)
Generate Form
A form can be used to access the widget easily in a chat window. The form uses 2 following params that the embeddable widget does not yet support:
- server =
- pass =
The embeddable widget will soon support these params.
The form can be configured here