Gepostet am:09.08.2007 17:03
#10
Re: Shoutbox zum scrollen bringen
09.08.2007 17:03 Hallo,
vielen Dank mit dem Tipp von Dynamic Drive, hab es hinbekommen, scrollt nun wie ich es gewünscht hatte.
Falls noch jemand dies haben möchte, hier die Anleitung:
Schritt 1: Im Ordner modules/shoutbox/templates die Datei shoutbox_shoutframe.html öffnen:
Suchen nach:<html>
<head>
und folgenden Code dahinter einfügen: <{if $addit==1 or $double==1}>
<script language="javascript">
<!--
top.xoopsGetElementById("shoutfield").value='';
top.xoopsGetElementById("shoutfield").focus();
//-->
</script>
<{/if}>
<{if $config.block_autorefresh==1}>
<script type="text/javascript">
<!--
var refreshtime=top.xoopsGetElementById("refreshtime").value;
if (top.xoopsGetElementById("shoutrefresh").checked)
{
setTimeout('location.href="shoutframe.php"',refreshtime);
}
-->
</script>
<{/if}>
<style type='text/css' media='all'>
<!-- @import url(<{$themecss}>); -->
</style>
<meta http-equiv="content-type" content="text/html; charset=<{$xoops_charset}>" />
<style type="text/css">
#marqueecontainer{
position: relative;
width: 200px; /*marquee width */
height: 200px; /*marquee height */
background-color: #E4F1F1;
overflow: hidden;
padding: 4px;
padding-left: 4px;
}
</style>
<script type="text/javascript">
Suchen nach:</head>
und folgenden Code dahinter einfügen:<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed"><div id="vmarquee" style="position: absolute; width: 70%;">
Das wars
Width ist bei mir auf 70% eingestellt, müsst Ihr vielleicht je nach euer Style anpassen.
MfG
Basar