Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
backgroundcolor
- Page 1
Google's Timeline Chart backgroundColor based with specific value
Programming
Software Development
6 Years Ago
by Mohd_11
…gt; ]); var options = { timeline: { rowLabelStyle: {color: '#ffffff' }},
backgroundColor
: '#92d050' }; chart.draw(dataTable, options); How do I change the…] = '1'). If status == 1 , then
backgroundColor
: '#92d050' or else
backgroundColor
: '#000000' Please help me on this. Thank you…
.style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by vedmack
…var filed=document.getElementById("one"); filed.style.
backgroundColor
='red'; filed=document.getElementById("two"); filed.style….
backgroundColor
='red'; ... .. . [/code] This works 100% in FF, but …
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by sagedavis
… (filed.checked =="true"){ filed.style.
backgroundColor
= "red"; } else { filed.style.
backgroundColor
= "white"; } } [/code] then use this…
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by zabindia
…"); if (field.checked == 1) field2.style.
backgroundColor
="red"; else field2.style.
backgroundColor
="white"; } [/ICODE][ICODE] <input…
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by vedmack
… tested with double quotes and single quotes, i tried .style.
backgroundColor
and i tried .style.background and it works well only…
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by fert
Shortened.. [code=javascript] field2.style.
backgroundColor
= (field2.checked == 1) ? "red" : "white";[/code]
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by fert
Try this: [code=javascript]var filled = document.getElementById("one"); filled.style.background = "red";[/code]
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by sagedavis
yeah, try using double quotes instead of single around the color... if that doesn't work... on line 3 and 4 call it filed2 Sage
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by sagedavis
IE also might not like the "" around your id in getElementById I'm not sure though Sage
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by vedmack
Thanks allot sagedavis! I did changed to onmousedown as you said , and now it works on IE too.... p.s of course my js script is more than that i posted. i do have if/else... i did it from the first time cause i wanted to color the inputs in gray so when I'm changing input to read only it will look like its disabled in FF.. so i manually …
Re: .style.backgroundColor doesnt work well in IE???
Programming
Web Development
16 Years Ago
by MidiMagic
I had this trouble. The problem is that IE does not update the screen until there are no scripts running. So you need to temporarily end the script, and use setInterval to start another function after a short pause.
pls help me :( I’m trying to make dynamic calculator to my product.
Programming
Web Development
12 Years Ago
by momonq1990
…if(reg.test(valWidth)) { form1.width.style.
backgroundColor
= "white"; tWidth = parseFloat(….width.value); } else { form1.width.style.
backgroundColor
= "red"; } return false;…
I am attempting to resurrect my website
Programming
Web Development
12 Years Ago
by Biglis35
…=".info" onmouseover="this.style.
backgroundColor
='#e4efc7';" onmouseout="this.style.
backgroundColor
='#fff';" onclick="changeTLD('.info')"…quot;.jobs" onmouseover="this.style.
backgroundColor
='#e4efc7';" onmouseout="this.style.
backgroundColor
='#fff';" onclick="changeTLD('.jobs')"…
How to link towards a div tag?
Programming
Web Development
16 Years Ago
by DakDuif
…; <td class="paraButton" onmouseover="this.style.
backgroundColor
='white';" title="Insert Paragraph" onclick="insertParagraph…; <td class="paraButton" onmouseover="this.style.
backgroundColor
='white';" title="Insert Paragraph" onclick="insertParagraph…
Centering a table and changing %s
Digital Media
UI / UX Design
13 Years Ago
by ScoobMJ
…gt; <td onmouseover="this.style.
backgroundColor
='#F7BF07';" onmouseout="this.style.
backgroundColor
='#CC0000';" style="width: 200px; …gt; <td onmouseover="this.style.
backgroundColor
='#F7BF07';" onmouseout="this.style.
backgroundColor
='#CC0000';" style="width: 264px; …
Shopping Cart Not Working
Programming
Web Development
20 Years Ago
by donnie_darko
…lt;tr><td valign=top bordercolor="&
BackgroundColor
&" align=center>Password: <input…lt;tr><td valign=top bordercolor="&
BackgroundColor
&" align=center>Password: <input…quot;[/size][size=1][color=#800000]<% Response.Write(
BackgroundColor
) %>[/color][/size][size=1]"[/size][size=1…
onclick and onMouse events
Programming
Web Development
12 Years Ago
by gchurch
…if(count == 1) { document.getElementById("redlight") = this.style.
backgroundColor
= 'red'; var count = 0; } /* var div = document.…'; //var h2s = this.getElementsByTagName( 'h2' ); this.style.
backgroundColor
= //h2s[0].style.
backgroundColor
= 'blue'; }; div.onmouseout = function() { document.getElementById(&…
Re: pls help me :( I’m trying to make dynamic calculator to my product.
Programming
Web Development
12 Years Ago
by Airshow
…*)?)|((\d*\.)?\d+))$/; var val = fld.value; fld.style.
backgroundColor
= (reg.test(val)) ? "white" …menu) { var val = menu[menu.selectedIndex].value; menu.style.
backgroundColor
= (!val) ? "red" : "white…? 30.48 : 0; document.getElementById("cmCell").style.
backgroundColor
= (size == 0) ? "red" : …
Re: pls help me :( I’m trying to make dynamic calculator to my product.
Programming
Web Development
12 Years Ago
by Airshow
…[0].cm[i].value; } } document.getElementById("cmCell").style.
backgroundColor
= (size == 0) ? "red" : "white"; return size…
Ajax calls ajax (PHP)
Programming
Web Development
12 Years Ago
by sbrohee
…actb_pos == actb_total) return; document.getElementById('tat_tr'+actb_pos).style.
backgroundColor
= actb_self.actb_bgColor; actb_pos++; if (actb_pos >…actb_table_highlight(){ actb_mouse_on_list = 1; document.getElementById('tat_tr'+actb_pos).style.
backgroundColor
= actb_self.actb_bgColor; actb_pos = this.getAttribute('pos'); …
Re: alternet row color
Programming
Software Development
13 Years Ago
by xml_looser
…gt; <!-- comment by Ajmal--> <!-- <
BackgroundColor
>#e0e0e0</
BackgroundColor
>--> <!-- <xsl:if test="position…="$mvarFontWeightBold"/> </FontWeight> <
BackgroundColor
>#000000</
BackgroundColor
> <Color>#ffffff</Color> …
alternet row color
Programming
Software Development
13 Years Ago
by ajmaly
…="$mvarFontWeightBold"/> </FontWeight> <
BackgroundColor
>#000000</
BackgroundColor
> <Color>#ffffff</Color> <…"]<!-- comment by Ajmal--> <!-- <
BackgroundColor
>#e0e0e0</
BackgroundColor
>--> <xsl:if test="position() mod…
Blue or red ?
Programming
Web Development
10 Years Ago
by ponedelnik
…; // blue = document.getElementById(id).style.
backgroundColor
; if (document.getElementById(id).style.
backgroundColor
== blue) document.getElementById(id).style.
backgroundColor
= red; else document.getElementById(id…
auto hide tooltip
Programming
Web Development
14 Years Ago
by prashanth18
… ""; }); }, setOptions: function(options) { this.options = {
backgroundColor
: '#fff', // Default background color borderColor: '#000', // Default border color …xboxcontent", style: "background-color:" + this.options.
backgroundColor
+ "; border-color:" + this.options.borderColor +…
java script browser issue
Programming
Web Development
12 Years Ago
by raviaaaa
… i + "' onmouseover='this.style.
backgroundColor
=\"#C8D0CB\"' onmouseout='this.style.
backgroundColor
=\"\"' style='cursor:pointer' onclick='monthConstructed… j + "' onmouseover='this.style.
backgroundColor
=\"#C8D0CB\"' onmouseout='this.style.
backgroundColor
=\"\"' style='cursor:pointer' onclick='…
Re: Newbie JS help
Programming
Web Development
13 Years Ago
by Taywin
…;white"; document.getElementById('firsttable').style.
backgroundColor
="cornflowerblue"; document.getElementById('secondtable').style.
backgroundColor
="lightsteelblue"; document.getElementById('firsttable').style…
Java 2d Coordinate tracking
Programming
Software Development
13 Years Ago
by gedas
…redraw panel repaint(); } public Color getBackgroundColor() { return
backgroundColor
; } public Color getBorderColor() { return borderColor; } … return shape; } public void setBackgroundColor(Color
backgroundColor
) { this.
backgroundColor
=
backgroundColor
; } public void setBorderColor(Color borderColor) …
Image Above Div Z-index
Programming
Web Development
12 Years Ago
by Inny
…; i<tabobjlinks.length; i++) //tabobjlinks[i].style.
backgroundColor
=initTabcolor //var themecolor=aobject.getAttribute("theme")? aobject.…("|")!=-1 collecttablinks() initTabcolor=cascadedstyle(tabobjlinks[1], "
backgroundColor
", "background-color") initTabpostcolor=cascadedstyle(tabobjlinks[0],…
Drag-Select (Click Drag nad Select)
Programming
Web Development
12 Years Ago
by sawmya
…id="ColorValue1" onclick="getStyle(this, '
backgroundColor
')"></div> <div class=&…id="ColorValue2" onclick="getStyle(this, '
backgroundColor
')"></div> <div class=&…id="ColorValue3" onclick="getStyle(this, '
backgroundColor
')"></div> <div class=&…
Re: Newbie JS help
Programming
Web Development
13 Years Ago
by ryoonnet
…"; document.getElementById('firsttable').style.
backgroundColor
="darkseagreen"; document.getElementById('secondtable').style.
backgroundColor
="palegreen"; document.getElementById('…"> <!-- function changeColors(color) { document.body.style.
backgroundColor
=color; } </script> </head> <…
1
2
3
17
Next
Last
Search
Search
Forum Categories
Hardware/Software
Programming
Digital Media
Community Center
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Forums
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2024 DaniWeb® LLC