![Antiguo](http://static.forosdelweb.com/fdwtheme/images/statusicon/post_old.gif)
08/01/2007, 03:36
|
![Avatar de Shade](http://static.forosdelweb.com/customavatars/avatar157348_1.gif) | | | Fecha de Ingreso: noviembre-2006
Mensajes: 262
Antigüedad: 17 años, 7 meses Puntos: 1 | |
Re: Poner color de fondo a una marquesina en javascript Con añadirle un background-color al style del marquee: document.write('<marquee scrollAmount='+speed+' style="width:'+marqueewidth+';background-color:#XXXXXX">'+marqueecontents+' </marquee>')
Deberia funcionar.
Sino podrias añadir un var color='#XXXXXX' y luego ponerselo en el mismo sitio con +color+ |