Hello,
I'm starting to feel like i'm spamming the support section, but i've almost got it!
I finally managed to get the lightirc chat work with the smf template, using 2.1. But now i'm having one final issue,
and that is this:
svenska-reiki.se/community/lightIRC/
It just won't scale properly. When using the code below in index.php, without SMF template involved, i get a full screen.
I don't want a full screen, but i need it to fill out a bit. Anyone know where the problem may lie?
<?php
include_once("***/SSI.php");
template_header(); ?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf8" />
<meta name="language" content="de" />
<meta name="author" content="Valentin Manthei - lightIRC.com" />
<title>lightIRC.com / Free Flash IRC Client</title>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.2/swfobject.js"></script>
<script type="text/javascript" src="config.js"></script>
<style type="text/css">
html { height: 100%; overflow: hidden; }
body { height:100%; margin:0; padding:0; background-color:#999; }
</style></head>
<body>
<div id="lightIRC" style="height:100%; text-align:center;">
<p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"
/></a></p>
</div>
<script type="text/javascript">
swfobject.embedSWF("lightIRC.swf", "lightIRC", "100%", "100%", "10.0.0", "expressInstall.swf", params);
</script>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>
</body>
</html>
<?php
template_footer();
?>
frame calculating 1500px width that's your problem :P
You can get rid of html/body/head/meta/title parts since they are coming from SMF's template then defer all CSS/JS to footer.
Edit: Edited your post to hide your full path, no need to give people a chance to move step forward to leak into your system.
Quote from: Antes on April 05, 2015, 11:52:42 AM
frame calculating 1500px width that's your problem :P
You can get rid of html/body/head/meta/title parts since they are coming from SMF's template then defer all CSS/JS to footer.
Edit: Edited your post to hide your full path, no need to give people a chance to move step forward to leak into your system.
Got it working now, and thanks :)