Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : genny90 18 Jun 2010, 13:47:25
-
Il codice in questione è:
<?php defined( '_JEXEC' ) or die( 'Restricted access' );?>
<!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" xml:lang="<?php echo $this->language; ?>" lang="<?php echo $this->language; ?>">
<head>
<jdoc:include type="head" />
<?php $this->setGenerator('');$cssPath = $this->baseurl. '/templates/mediea_prime_light_joohopia/'; ?>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link href="./templates/mediea_prime_light_joohopia/css/mediea_prime.css" rel="stylesheet" type="text/css" />
<?php $font=$this->params->get( 'font' ); $topicus=$this->params->get( 'topicus' );$topcolor=$this->params->get( 'topcolor' );$menucolor=$this->params->get( 'menucolor' );$headingcolor=$this->params->get( 'headingcolor' );$linkcolor=$this->params->get( 'linkcolor' );$basecolor=$this->params->get( 'basecolor' );$backcolor=$this->params->get( 'backcolor' );$textcolor=$this->params->get( 'textcolor' );$toptext=$this->params->get( 'toptext' );$home=$this->params->get( 'home' );
$backcolor='#262626';
$basecolor='#000';
$linkcolor='#005800';
$textcolor='#898989';
$headingcolor='#fff';
$menucolor='#898989';
$topcolor='#004500';
?>
<style type="text/css">
body {
height:100%;
background-color: <?php echo ($backcolor); ?>;
margin:0;
font-family:<?php echo ($font); ?>;
font-size:12px;
}
.toppic {
height:320px;
background-color:<?php echo ($topcolor); ?>;
}
.toppicimage:url(front {height:320px;background-<?php echo JURI::base();?>); width:1000px;}
.contentheading, a:hover, ul.menu a:hover, .latestnews a:hover, .mostread a:hover, #mainlevel a:hover, a.blogsection:hover,.pathway,.category, a.category, .sectiontableheader, .sectiontableheader a, .poll,.poll thead tr td,.blog_more,ul#mainlevel-nav li a:hover, h1,h2,h3,h4,h5 {color:<?php echo ($headingcolor); ?>;}
ul.menu li li a, .latestnews, .mostread, .mainlevel, .blogsection,ul.menu li, ul.menu a, .latestnews a, .mostread a, .mainlevel a, #form-login,a.pagenav, .modifydate, .createdate, .small, ul#mainlevel-nav li a {
color: <?php echo ($menucolor); ?>;}
body, td, th {
color: <?php echo ($textcolor); ?>;
}
a,ul#mainlevel-nav li a#active_menu-nav, a.contentheading {color:<?php echo ($linkcolor); ?>;}
.joohopia {background-color:<?php echo ($basecolor); ?>;}
</style>
<script type="text/javascript">
<!--
function MM_swapImgRestore() { //v3.0
var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
}
function MM_preloadImages() { //v3.0
var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
}
function MM_findObj(n, d) { //v4.01
var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
if(!x && d.getElementById) x=d.getElementById(n); return x;
}
function MM_swapImage() { //v3.0
var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
}
//-->
</script>
</head>
<body onload="MM_preloadImages('<?php echo ($cssPath) ; ?>images/home_light.png')">
<?php
$mydoc =& JFactory::getDocument();
$mytitle = $mydoc->getTitle();
?>
<table width="1040" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="<?php echo ($basecolor); ?>">
<tr>
<td ><table width="1000" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><div>
<jdoc:include type="modules" name="user3" />
</div>
<object width="1000" height="320" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" ><param name="allowNetworking" value="all"/> <param name="allowScriptAccess" value="always"/><param name="base" value="http://static.wix.com"/><param name="movie" value="http://static.wix.com/client/app.swf" /><param name="quality" value="high" /><param name="allowFullScreen" value="true"/><param name="FlashVars" value="pageId=0XHe9XZf_ao-a&embedFormat=normal&embedID=1iAgKAxmr1M_2_D4aC36Jze8KIuE4snoWtdMVHIBrl00rjez9WAoS63sF0Kptb0aa&partner_id=WMGs4POB1ko-a" /><param name="scale" value="noScale" /><param name="salign" value="tl" />
<embed src="http://static.wix.com/client/app.swf" quality="high" allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" FlashVars="pageId=0XHe9XZf_ao-a&embedFormat=normal&embedID=1iAgKAxmr1M_2_D4aC36Jze8KIuE4snoWtdMVHIBrl00rjez9WAoS63sF0Kptb0aa&partner_id=WMGs4POB1ko-a" type="application/x-shockwave-flash" width="800" height="250" base="http://static.wix.com" scale="noscale" salign="tl" ></embed></object>
<?php if ($home==1) {?><div class="home"><a href="index.php" onmouseout="MM_swapImgRestore()" onmouseover="MM_swapImage('homer','','<?php echo ($cssPath) ; ?>images/home_light.png',1)">
<br/></a></a></div><?php }; ?></td>
</tr>
<tr height="10">
<td><img src="<?php echo ($cssPath) ; ?>images/superline.png" height="1" width="1000" alt=""/></td>
</tr>
<tr>
<td><table width="1000" border="0" cellspacing="0" cellpadding="0">
<tr>
<?php if($this->countModules('left') || $this->countModules('user1')) : ?>
<td width="180px" valign="top"><jdoc:include type="modules" name="left" />
<br />
<jdoc:include type="modules" name="user1" /></td>
<td width="40px" valign="top"></td>
<?php endif; ?>
<td valign="top"><jdoc:include type="component" /></td>
<?php if($this->countModules('right') || $this->countModules('user2')) : ?>
<td width="40px" valign="top"></td>
<td width="180px" valign="top"><jdoc:include type="modules" name="right" />
<br />
<jdoc:include type="modules" name="user2" /></td>
<?php endif; ?>
</tr>
</table>
</tr><tr><td><div align="center">
<jdoc:include type="modules" name="breadcrumb" /></div></td></tr><tr><td height="20px"><img src="<?php echo ($cssPath) ; ?>images/superline.png" height="1" width="1000" alt="" /></td></tr>
</table></td>
</tr>
</table>
<div align="center">
<jdoc:include type="modules" name="bottom" />
<jdoc:include type="modules" name="footer" />
</div>
<div class="joohopia"><a href="http://www.joohopia.com" title="joomla template by joohopia">template:joohopia.com</a></div>
</body>
</html>
Il codice che devo centrare in questa pagina è:
<object width="1000" height="320" type="application/x-shockwave-flash" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" ><param name="allowNetworking" value="all"/> <param name="allowScriptAccess" value="always"/><param name="base" value="http://static.wix.com"/><param name="movie" value="http://static.wix.com/client/app.swf" /><param name="quality" value="high" /><param name="allowFullScreen" value="true"/><param name="FlashVars" value="pageId=0XHe9XZf_ao-a&embedFormat=normal&embedID=1iAgKAxmr1M_2_D4aC36Jze8KIuE4snoWtdMVHIBrl00rjez9WAoS63sF0Kptb0aa&partner_id=WMGs4POB1ko-a" /><param name="scale" value="noScale" /><param name="salign" value="tl" />
<embed src="http://static.wix.com/client/app.swf" quality="high" allowFullScreen="true" allowNetworking="all" allowScriptAccess="always" FlashVars="pageId=0XHe9XZf_ao-a&embedFormat=normal&embedID=1iAgKAxmr1M_2_D4aC36Jze8KIuE4snoWtdMVHIBrl00rjez9WAoS63sF0Kptb0aa&partner_id=WMGs4POB1ko-a" type="application/x-shockwave-flash" width="800" height="250" base="http://static.wix.com" scale="noscale" salign="tl" ></embed></object>
per farvi capire meglio:
(http://img340.imageshack.us/img340/1108/catturanb.png)
O lo metto più grande oppure lo devo centrare..
-
Hai usato il modulo customa per inserire quel video? Se si aggiungi <center>codice</center>
-
l'ho messo a mano..
ho provato a mettere quei tag direttamente dal codice sorgente del template
quella è un applicazione in flash.. fatta su un altro sito "wix" per l'appunto
-
Dammi il link!
-
http://www.robertogrieco.com/
-
ciao
un consiglio cambia template , lo hai cercato con il lumino un template fatto ancora a tabelle?
neppure hai un id una classe dove 'è il tuo flash.
-
hai letto quanto detto in precedenza? XD
ho scritto anche la parte del codice..
-
hai letto quanto detto in precedenza? XD
ho scritto anche la parte del codice..
si ho letto ma non mi serve leggere il codice , quando c'è il link del sito si fanno i miracoli x cui quello che ho detto in precedenza te lo posso ripetere all'infinito.
ti faccio un esempio se parcheggi l'auto in un piazzale sensa strisce di parcheggio tu la metti dove vuoi e va sempre bene visto che il piazzale e il contenitore, ma se hai le righe nel piazzale oltre al contenitore hai anche una posizione giusto?
il template e uguale hai il contenitore ma se non hai una posizione nessuno gli dice stai li vai la .
-
Con quale browser apri il tuo sito? Io ho provato con IE e FF e vedo il flash grande quanto la linea separatrice, che tra l'altro guardando il codice è impostato a 1000px quanto la tabella nidificata che la ospita...!
-
Con quale browser apri il tuo sito? Io ho provato con IE e FF e vedo il flash grande quanto la linea separatrice, che tra l'altro guardando il codice è impostato a 1000px quanto la tabella nidificata che la ospita...!
scusa lo vuole mettere centrato come fai a dire che grande 1000 quando minimo manca 200px sella destra?
-
In base al fatto che lo vedo cosi io! 8)
-
madonna le tabelle! argh
scusa ma nn puoi semplicemente inserire l'object dentro un div a cui dici dove stare? e intendo nel css.