Difference between revisions of "Widget"

From Mibbit Wiki
Jump to: navigation, search
m
Line 6: Line 6:
 
Please make sure you use embed.mibbit.com and NOT www.mibbit.com.
 
Please make sure you use embed.mibbit.com and NOT www.mibbit.com.
  
==Example==
+
==iframe Example==
<code><iframe width=500 height=280 scrolling=no border=0 src="http://embed.mibbit.com/e/index.html?channel=%23chat&nick=Chatter"></code>
+
<nowiki><iframe width=500 height=280 scrolling=no border=0
 +
src="http://embed.mibbit.com/e/?channel=%23chat&nick=Chatter">
 +
</iframe></nowiki>
  
 
==Default Preferences==
 
==Default Preferences==
Line 25: Line 27:
  
 
You can override all of these in the URL, using params.
 
You can override all of these in the URL, using params.
You can also override autoAway. eg &autoAway=0 to disable
+
You can also override autoAway. ,e.g., &autoAway=0 to disable (case matters)
  
 
==Generate Form==
 
==Generate Form==

Revision as of 09:52, 3 March 2008

The embedded widget is in alpha...

example

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=500 height=280 scrolling=no border=0
 src="http://embed.mibbit.com/e/?channel=%23chat&nick=Chatter">
</iframe>

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.

Example form

The form can be configured here