Ver Mensaje Individual
  #3 (permalink)  
Antiguo 08/01/2007, 03:36
Avatar de Shade
Shade
 
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+