Joomla.it Forum
Joomla! 1.5.x (versione con supporto terminato) => Joomla! 1.5 => I Template di Joomla 1.5.x => : rill 16 Nov 2010, 00:55:26
-
Ciao a tutti, come da titolo vorrei sostituire il mio banner attualmente in .jpg con un animazione in flash che ho. Ho provato ad inserire qualche codice che ho torvato in giro nell' Index del templates ma senza nessun risultato potete aiutarmi?posto la parte di codice originale:
.topper {
background-image:url(./templates/little_green_world_joohopia/images/green_top.jpg);
background-repeat:no-repeat;
background-position:right bottom;
background-color:#E5E2D5;
height:214px;
}
e quello da me modificata:
.topper {
<object codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" height="600" width="250"
classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"><param value="preview.swf" name="movie" /><param value="high" name="quality" />
<param value="templates/little_green_world_joohopia/images/effetto_neve.swf" name="bgcolor" />
<embed src="templates/little_green_world_joohopia/images/effetto_neve.swf"
quality=high bgcolor=#FFFFFF width="600" height="250"
ALIGN="" TYPE="application/x-shockwave-flash"
PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></embed>
</object></div>}
Che mi dite?Grazie a tutti anticipatamente!!
-
Ciao il codice dell'animazione in flash va nel index.php non nel css. nel tag dove vuoi che compaia l'animazione, e cancelli
background-image:url(./templates/little_green_world_joohopia/images/green_top.jpg);
background-repeat:no-repeat;
background-position:right bottom;
background-color:#E5E2D5;
Ciao ciao
-
Il codice l'ho messo nell'index.php del template...
Il codice che ho è corretto?