satimis
03-09-2008, 11:05 AM
1) Script Title:
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
3) Describe problem:
Hi folks,
About color of text/document, I tested follows;
1)
changing following line;
var marqueecontent='<nobr><font size="4" face="Arial">.........
as;
var marqueecontent='<nobr><font color="darkgreen" size="4" face="Arial">......
It works
2)
changing following line;
var marqueecontent='<nobr><font color="rgb(255,0,0)" size="4" face="Arial">
It doesn't work
3)
color="(255,0,0)"
color="'rgb(255,0,0)'"
etc.
Also doesn't work.
What will be the correct syntax for rgb? TIA
B.R.
satimis
2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex2/cmarquee.htm
3) Describe problem:
Hi folks,
About color of text/document, I tested follows;
1)
changing following line;
var marqueecontent='<nobr><font size="4" face="Arial">.........
as;
var marqueecontent='<nobr><font color="darkgreen" size="4" face="Arial">......
It works
2)
changing following line;
var marqueecontent='<nobr><font color="rgb(255,0,0)" size="4" face="Arial">
It doesn't work
3)
color="(255,0,0)"
color="'rgb(255,0,0)'"
etc.
Also doesn't work.
What will be the correct syntax for rgb? TIA
B.R.
satimis