BeLakor
19-10-2008, 16:03
Il sito il questione è questo (http://www.ruyanitalia.it/).
Come potete vedere nell'header è presente un file .swf che non fà altro se non andarsi a prendere titolo e sottotitolo.
Il problema è che avrei bisogno di alzare un pò il title.swf che altrimenti si scontra con i bottoni a fianco.
Copio-incollo in codice dell'index.php del template sperando non sia troppo lungo e sperando qualcuno riesca ad aiutarmi:
EDIT: Se può interessare il file title.swf è lungo 500 e alto 100.
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
if ($this->params->get('ueberschrift') == false) {
$seitentitel = $mainframe->getCfg('sitename');
} else {
$seitentitel = $this->params->get('ueberschrift');
}
if ($this->params->get('untertitel') == false) {
$untertitel = 0;
} else {
$untertitel = $this->params->get('untertitel');
}
if ($this->params->get('copyright') == false) {
$copyright = $mainframe->getCfg('sitename');
} else {
$copyright = $this->params->get('copyright');
}
if ($this->params->get('flash') == 'ja') {
$useflash = true;
} else {
$useflash = false;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/images/favicon.ico" />
<script type="text/javascript" charset="utf-8">
window.addEvent('domready', function() {
/* Loader positionieren */
$('loader').effect('opacity').set(0);
/* Body verschwinden lassen */
$('body').effect('opacity').set(0);
var marginChange = new Fx.Style('header', 'margin-top', {duration:500});
marginChange.set(-175);
});
window.addEvent('load', function() {
$('loader').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(1,0).addEvent('onComplete', function(){
var marginChange = new Fx.Style('header', 'margin-top', {duration:750});
marginChange.start(-175, 0).addEvent('onComplete', function(){
$('body').setStyles({'display': 'block'});
$('body').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(0,1);
});
});
});
</script>
</head>
<body><div id="loader"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/loader.gif"/></div>
<div id="header">
<div id="header_content">
<div id="seitentitel">
<!-- Flash-Header -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="100">
<param name="movie" value="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&untertiteltext=<?php echo $untertitel; ?>" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&untertiteltext=<?php echo $untertitel; ?>" width="500" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<?php if ($this->countModules('user3')) : ?>
<div id="module_user3">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</div>
</div>
<div id="body">
<div id="body_content">
<span class="nisi">JTCLASSBLU 15</span>
<div id="body_menue">
<div style="padding:15px;">
<?php if ($this->countModules('left')) : ?>
<div id="module_left"><jdoc:include type="modules" name="left" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('user4')) : ?>
<div id="module_user4"><jdoc:include type="modules" name="user4" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('right')) : ?>
<div id="module_right"><jdoc:include type="modules" name="right" style="xhtml" /></div> <?php endif; ?>
</div><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/menue_bg_bottom.gif" style="float:left;"/>
</div>
<div id="body_maincontent">
<jdoc:include type="component" />
<?php if ($this->countModules('footer')) : ?>
<div id="module_footer"><jdoc:include type="modules" name="footer" style="xhtml" /></div> <?php endif; ?>
</div><div style="clear:left;"></div>
</div>
<div id="body_footer">
<div id="body_footer_content">
<table width="100%" border="0" cellspacing="5">
<tr>
<?php if ($this->countModules('top')) : ?>
<td width="33%" valign="top"><div id="module_top"> <jdoc:include type="modules" name="top" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user1')) : ?>
<td width="33%" valign="top"><div id="module_user1"> <jdoc:include type="modules" name="user1" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<td width="33%" valign="top"><div id="module_user2"> <jdoc:include type="modules" name="user2" style="xhtml" /></div></td> <?php endif; ?>
</tr>
</table>
</div>
<div style="width:950px; margin:0px auto; color:#FFF; vertical-align:top;">© <?=$datum[year]." ".$copyright.'
'; ?>
</div>
</div>
</div>
</body>
</html>
Ringrazio in anticipo chi proverà ad aiutarmi.
BeLakor
Come potete vedere nell'header è presente un file .swf che non fà altro se non andarsi a prendere titolo e sottotitolo.
Il problema è che avrei bisogno di alzare un pò il title.swf che altrimenti si scontra con i bottoni a fianco.
Copio-incollo in codice dell'index.php del template sperando non sia troppo lungo e sperando qualcuno riesca ad aiutarmi:
EDIT: Se può interessare il file title.swf è lungo 500 e alto 100.
<?php
defined( '_JEXEC' ) or die( 'Restricted access' );
if ($this->params->get('ueberschrift') == false) {
$seitentitel = $mainframe->getCfg('sitename');
} else {
$seitentitel = $this->params->get('ueberschrift');
}
if ($this->params->get('untertitel') == false) {
$untertitel = 0;
} else {
$untertitel = $this->params->get('untertitel');
}
if ($this->params->get('copyright') == false) {
$copyright = $mainframe->getCfg('sitename');
} else {
$copyright = $this->params->get('copyright');
}
if ($this->params->get('flash') == 'ja') {
$useflash = true;
} else {
$useflash = false;
}
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<jdoc:include type="head" />
<meta http-equiv="Content-Type" content="text/html; <?php echo _ISO; ?>" />
<link href="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/css/template_css.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="<?php echo $this->baseurl ?>/images/favicon.ico" />
<script type="text/javascript" charset="utf-8">
window.addEvent('domready', function() {
/* Loader positionieren */
$('loader').effect('opacity').set(0);
/* Body verschwinden lassen */
$('body').effect('opacity').set(0);
var marginChange = new Fx.Style('header', 'margin-top', {duration:500});
marginChange.set(-175);
});
window.addEvent('load', function() {
$('loader').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(1,0).addEvent('onComplete', function(){
var marginChange = new Fx.Style('header', 'margin-top', {duration:750});
marginChange.start(-175, 0).addEvent('onComplete', function(){
$('body').setStyles({'display': 'block'});
$('body').effect('opacity', {duration: 750, transition: Fx.Transitions.linear}).start(0,1);
});
});
});
</script>
</head>
<body><div id="loader"><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/loader.gif"/></div>
<div id="header">
<div id="header_content">
<div id="seitentitel">
<!-- Flash-Header -->
<object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="500" height="100">
<param name="movie" value="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&untertiteltext=<?php echo $untertitel; ?>" />
<param name="quality" value="high" />
<param name="wmode" value="transparent" />
<embed src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/title.swf?titeltext=<?php echo $seitentitel; ?>&untertiteltext=<?php echo $untertitel; ?>" width="500" height="100" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" wmode="transparent"></embed>
</object>
</div>
<?php if ($this->countModules('user3')) : ?>
<div id="module_user3">
<jdoc:include type="modules" name="user3" style="xhtml" />
</div>
<?php endif; ?>
</div>
</div>
<div id="body">
<div id="body_content">
<span class="nisi">JTCLASSBLU 15</span>
<div id="body_menue">
<div style="padding:15px;">
<?php if ($this->countModules('left')) : ?>
<div id="module_left"><jdoc:include type="modules" name="left" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('user4')) : ?>
<div id="module_user4"><jdoc:include type="modules" name="user4" style="xhtml" /></div> <?php endif; ?>
<?php if ($this->countModules('right')) : ?>
<div id="module_right"><jdoc:include type="modules" name="right" style="xhtml" /></div> <?php endif; ?>
</div><img src="<?php echo $this->baseurl ?>/templates/<?php echo $this->template ?>/images/menue_bg_bottom.gif" style="float:left;"/>
</div>
<div id="body_maincontent">
<jdoc:include type="component" />
<?php if ($this->countModules('footer')) : ?>
<div id="module_footer"><jdoc:include type="modules" name="footer" style="xhtml" /></div> <?php endif; ?>
</div><div style="clear:left;"></div>
</div>
<div id="body_footer">
<div id="body_footer_content">
<table width="100%" border="0" cellspacing="5">
<tr>
<?php if ($this->countModules('top')) : ?>
<td width="33%" valign="top"><div id="module_top"> <jdoc:include type="modules" name="top" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user1')) : ?>
<td width="33%" valign="top"><div id="module_user1"> <jdoc:include type="modules" name="user1" style="xhtml" /> </div></td> <?php endif; ?>
<?php if ($this->countModules('user2')) : ?>
<td width="33%" valign="top"><div id="module_user2"> <jdoc:include type="modules" name="user2" style="xhtml" /></div></td> <?php endif; ?>
</tr>
</table>
</div>
<div style="width:950px; margin:0px auto; color:#FFF; vertical-align:top;">© <?=$datum[year]." ".$copyright.'
'; ?>
</div>
</div>
</div>
</body>
</html>
Ringrazio in anticipo chi proverà ad aiutarmi.
BeLakor