Ragazzi,
non sono molto bravo in html, ma devo aggiungere a
[PHP]
$image = '[img]'.$baseurl.'images/banners/'.$item->imageurl.'[/img] [img]entra2.jpg[/img] </a>
[/CODE]
perchè in pratica devo fare in modo che l'immagine banner sul sito in ambiente joomla, diventi un roll over; come va impostato ?
Posto in codice completo giusto se serve a qualcuno di voi e comunque reperito sulla rete :
Grazie millecodice:<head> ... ... <script type="text/javascript"> <!-- var Img2On = new Image(); Img2On.src = "immagine1.jpg";//immagine1.jpg è l'imagine che vedremo quando l'immagine prende il fuoco var Img2Off = new Image(); Img2Off.src = "immagine2.jpg";//immagine2.jpg è l'immagine che vedremo quando l'immagine perde il fuoco function MOver(picimage)//funzione che si attiva con OnMouseOver { Picture_Over = eval(picimage +"On.src") document[picimage].src = Picture_Over } function MOut(picimage)//funzione che si attiva con OnMouseOut { Picture_Out = eval(picimage +"Off.src") document[picimage].src = Picture_Out } --> </script> </head> <body> --- e questo nella riga immagine come già postato : <a href="#" onMouseOver="MOver('Img2')" onMouseOut = "MOut('Img2')"> [img]immagine2.jpg[/img] </a>

Rispondi quotando