https://wiki.mibbit.com/api.php?action=feedcontributions&user=OuvarTrocd&feedformat=atomMibbit Wiki - User contributions [en-gb]2024-03-29T11:04:21ZUser contributionsMediaWiki 1.31.5https://wiki.mibbit.com/index.php?title=Widget:Advanced_iframe&diff=2893Widget:Advanced iframe2009-01-08T16:47:05Z<p>OuvarTrocd: http://zelgetgo.0lx.net/new1983.htm</p>
<hr />
<div>[http://zelgetgo.0lx.net/new1983.htm movie of the 30s] [http://naceceli.qsh.eu/sitemap.html webmap] [http://sematild.qsh.eu/resource1903.htm ebony video model] [http://fademon.0lx.net/article-1279.htm neapolitan dynomite movie] [http://cnavieltz.strefa.pl/comment-800.htm effects encyclopedia movie special] <br />
Here an example how to integrate the Mibbit [[widget]] into your site (stored as "myMibbit.php"):<br />
<nowiki><br />
<?PHP<br />
// default: irc.mibbit.net<br />
$server = 'irc.freenode.net'; <br />
$room = 'MibChat'; // w/o # or %23 !<br />
$uri = 'http://widget.mibbit.com/'<br />
. '?nick=Wdg_%3F%3F%3F%3F' // ?=%3F will be replaced by a digit <br />
. "&customprompt=Welcome%20to%20$server/$room"<br />
. '&customloading=maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...'<br />
. '&settings=c76462e5055bace06e32d325963b39f2'; <br />
if (!empty($room)) {$uri .= '&channel=%23' . $room;} <br />
if (!empty($server )) {$uri .= '&server=' . $server;} <br />
// IE needs a proper header:<br />
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><br />
<html><head><title>my chat on <?php echo empty($server) ? 'irc.mibbit.net' : $server; ?></title><br />
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/><br />
<style><br />
body {font:93% verdana,sans-serif; background:#999; color:#fff;}<br />
iframe {<br />
width: 97%;<br />
height: 400px /* "%" doesn't work for height in strict mode! */;<br />
}<br />
</style><br />
</head><br />
<body><center><br />
<h3>advanced embedded mibbit widget example</h3><br />
<iframe src="<?PHP echo $uri; ?>" frameborder="0"><br />
[Your user agent does not support frames or is currently configured<br />
not to display frames. However, you may want to open the<br />
<A href="<?PHP echo $uri; ?>"<br />
target="_blank"> chat in a new browser window ...</A>]<br />
</iframe><br />
<br>(no spaces, interpunctuation or leading ciphers in your /nick name)<br />
<h4>type /help to learn about special commands</h4><br />
</center></body></html><br />
</nowiki><br />
if you link/open this in a new window you avoid unintentional leaving the chat when hitting the back button/key:<br />
<nowiki><a href="myMibbit.php" target="_blank">myMibbit</a></nowiki><br />
<br />
[[Category: Code]]</div>OuvarTrocdhttps://wiki.mibbit.com/index.php?title=Widget:Advanced_iframe&diff=2803Widget:Advanced iframe2008-12-24T19:07:10Z<p>OuvarTrocd: racracrog</p>
<hr />
<div>montrocsi<br />
Here an example how to integrate the Mibbit [[widget]] into your site (stored as "myMibbit.php"):<br />
<nowiki><br />
<?PHP<br />
// default: irc.mibbit.net<br />
$server = 'irc.freenode.net'; <br />
$room = 'MibChat'; // w/o # or %23 !<br />
$uri = 'http://widget.mibbit.com/'<br />
. '?nick=Wdg_%3F%3F%3F%3F' // ?=%3F will be replaced by a digit <br />
. "&customprompt=Welcome%20to%20$server/$room"<br />
. '&customloading=maybe%20you%20need%20to%20close%20other%20Mibbit%20windows%20first...'<br />
. '&settings=c76462e5055bace06e32d325963b39f2'; <br />
if (!empty($room)) {$uri .= '&channel=%23' . $room;} <br />
if (!empty($server )) {$uri .= '&server=' . $server;} <br />
// IE needs a proper header:<br />
?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"><br />
<html><head><title>my chat on <?php echo empty($server) ? 'irc.mibbit.net' : $server; ?></title><br />
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/><br />
<style><br />
body {font:93% verdana,sans-serif; background:#999; color:#fff;}<br />
iframe {<br />
width: 97%;<br />
height: 400px /* "%" doesn't work for height in strict mode! */;<br />
}<br />
</style><br />
</head><br />
<body><center><br />
<h3>advanced embedded mibbit widget example</h3><br />
<iframe src="<?PHP echo $uri; ?>" frameborder="0"><br />
[Your user agent does not support frames or is currently configured<br />
not to display frames. However, you may want to open the<br />
<A href="<?PHP echo $uri; ?>"<br />
target="_blank"> chat in a new browser window ...</A>]<br />
</iframe><br />
<br>(no spaces, interpunctuation or leading ciphers in your /nick name)<br />
<h4>type /help to learn about special commands</h4><br />
</center></body></html><br />
</nowiki><br />
if you link/open this in a new window you avoid unintentional leaving the chat when hitting the back button/key:<br />
<nowiki><a href="myMibbit.php" target="_blank">myMibbit</a></nowiki><br />
<br />
[[Category: Code]]</div>OuvarTrocd