I think the question jessie is asking is not 'how do I change the font color' but 'how do I detect that the user has images turned off, *then* change the font color'
- Richard On Tue, Jan 5, 2010 at 11:26 AM, Jake Churchill <reyna...@gmail.com> wrote: > It's not jQuery related but in general, you reference a DOM element in > javascript like this using jQuery: > > $("#element").style.fontColor = "#000000"; > > In that, you are setting the font color of an element with ID "element" to > "#000000". > > In general, if you see something like font-color or background-color in > CSS, you'd reference it using camelCase in javascript (i.e. fontColor or > backgroundColor). > > -Jake > > > On Tue, Jan 5, 2010 at 10:22 AM, Richard D. Worth <rdwo...@gmail.com>wrote: > >> This isn't really related to jQuery UI. You might want to ask on the main >> jQuery list: >> >> http://groups.google.com/group/jquery-en >> >> - Richard >> >> On Tue, Jan 5, 2010 at 10:18 AM, jessie <mi...@optusnet.com.au> wrote: >> >>> Hi >>> >>> I'm very very new to jquery so please be patient with my questions. >>> >>> I have a layout that has white colored text. When you turn images off >>> the text disappears because the back background is completely white. >>> >>> So, with the scenario above.... is it possible to use jquery to do the >>> following: >>> >>> font color is white >>> when user turns images off on their browser >>> then change font to color =black >>> >>> Your help would be much appreciated. >>> >>> Thank-you in advance. >>> >>> AnneG >>> >>> -- >>> >>> You received this message because you are subscribed to the Google Groups >>> "jQuery UI" group. >>> To post to this group, send email to jquery...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/jquery-ui?hl=en. >>> >>> >>> >> -- >> You received this message because you are subscribed to the Google Groups >> "jQuery UI" group. >> To post to this group, send email to jquery...@googlegroups.com. >> To unsubscribe from this group, send email to >> jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> >> . >> For more options, visit this group at >> http://groups.google.com/group/jquery-ui?hl=en. >> > > -- > You received this message because you are subscribed to the Google Groups > "jQuery UI" group. > To post to this group, send email to jquery...@googlegroups.com. > To unsubscribe from this group, send email to > jquery-ui+unsubscr...@googlegroups.com<jquery-ui%2bunsubscr...@googlegroups.com> > . > For more options, visit this group at > http://groups.google.com/group/jquery-ui?hl=en. >--
You received this message because you are subscribed to the Google Groups "jQuery UI" group.
To post to this group, send email to jquery...@googlegroups.com.
To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.