why does phpfreechat.class.php need to be at top of the page. I dont need
a bunch of javascript at the top of the page.
Putting any other place makes it send every thing above it as xml....
Whats the problem....
Moderators: OldWolf, re*s.t.a.r.s.*2
<?php
require_once "phpchat/src/phpfreechat.class.php";
require_once "phpchat/src/demo2_config.php";
$chat = new phpFreeChat( $params );?>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
<?php $chat->printChat(); ?>
require_once "phpchat/src/phpfreechat.class.php";
require_once "phpchat/src/demo2_config.php";
$chat = new phpFreeChat( $params );?>
<?php $chat->printJavascript(); ?>
<?php $chat->printStyle(); ?>
<?php $chat->printChat(); ?>
// for IE7 CSS refresh
// if fixes the smiley and online boxes resize problem on IE6
// if (document.recalc) setTimeout('document.recalc(true);', 0);
$params["refresh_delay"] = 2500 ; // from 5000
$params["refresh_delay"] = 5000 ; // from 2500
$params["timeout"] = 2000000 ;
Return to General Support (v1.x)
Users browsing this forum: No registered users and 16 guests