Seite 1 von 1

Ajax Chat schmaler machen?

Verfasst: 22.04.2010 17:59
von Latza
Weis jemand wie ich den Ajax Chat schmaler machen kann , damit ich neben drann etwas plazieren kann?

Re: Ajax Chat schmaler machen?

Verfasst: 22.04.2010 18:32
von aurora876
in einen div-container stecken und selbigen per css anpassen.

Re: Ajax Chat schmaler machen?

Verfasst: 22.04.2010 19:23
von Latza
Kann mir das mal jemand bitte genauer erklären?
Das ist die chat.php :

Code: Alles auswählen

<?php 

// Benötigte Dateien und Variablen von phpBB 
define('IN_PHPBB', true); 
$phpbb_root_path = './'; 
$phpEx = substr(strrchr(__FILE__, '.'), 1); 
include($phpbb_root_path . 'common.' . $phpEx); 

// Session auslesen und Benutzer-Informationen laden 
$user->session_begin(); 
$user->setup(); 
$auth->acl($user->data); 

// Header und Titel der Seite 
page_header('phpBB3-Chat'); 

// Angabe eurer Content-Seite 
$template->set_filenames(array( 
   'body' => 'chat_body.html') 
); 

// Footer 
page_footer(); 

?>
Chat.html:

Code: Alles auswählen

<!-- INCLUDE overall_header.html -->
<script type="text/javascript"> 
<!-- 
var iH = "600"; 
var iB = "100%"; 
document.write('<iframe ' 
      + 'allowtransparency="yes"' 
      + 'height="' + iH + '"' 
      + 'width="' + iB + '"' 
      + 'frameborder=0 ' 
      + 'src="chat/index.php">' 
      + '</iframe>'); 
//--> 
</script>
<!-- INCLUDE overall_footer.html -->