SitePoint Sponsor |
|
User Tag List
Results 1 to 5 of 5
Thread: Changing the background..
-
May 23, 2001, 15:59 #1
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Can anyone tell me how I could change the background on this script?
http://www.dynamicdrive.com/dynamici...fadescroll.htm
-
May 23, 2001, 19:07 #2
- Join Date
- May 2001
- Location
- LaGrange, Georgia
- Posts
- 6,117
- Mentioned
- 3 Post(s)
- Tagged
- 0 Thread(s)
I'm not great at programming but I took a look at it... the only place I saw a color value was:
document.getElementById("fscroller").style.color="rgb(255,255,255)"
Have you tried changing that value?
-
May 24, 2001, 05:18 #3
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Sure did..and it didn't change anything. I have a feeling I wasn't supposed to edit that line anyway!
-
May 24, 2001, 07:10 #4
- Join Date
- Oct 2000
- Location
- Nashvegas Baby!
- Posts
- 7,845
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
change this line:
if (ie4||DOM2)
document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+';padding:2px"></div>')
to this:
if (ie4||DOM2)
document.write('<div id="fscroller" style="border:1px solid black;width:'+fwidth+';height:'+fheight+';padding:2px; background-color: 33ff00;"></div>')
and simply change the hex value. Of course I tested it and it only works in IE.Adobe Certified Coldfusion MX 7 Developer
Adobe Certified Advanced Coldfusion MX Developer
My Blog (new) | My Family | My Freelance | My Recipes
-
May 24, 2001, 08:05 #5
- Join Date
- Jul 1999
- Location
- A cave with 47 computers and an internet feed
- Posts
- 3,559
- Mentioned
- 0 Post(s)
- Tagged
- 0 Thread(s)
Thanks Creole, I'll try that
Bookmarks