Help: Change the color of the font of the text in a Table with the key

Hi all

I'm designing a website for a college project in Dreamweaver CS3. Currently, I am implementing accessibility for users, creating a background/font color changer. By making the transparent table, I can now change the background color together. However, I'm fighting to change the color of the font.

To see what I mean, here is so far the Web site: http://itsupport.comlu.com/index.html

At the top left, you will notice buttons. It's the color changer.

The problem of course, is that the text is unreadable when I change for say, a white background.

Here is my code for the buttons:

<! - color changer - >

< form >

"" < input type= "button"

value= "White" style= 'background: white;"

onClick= "document.body.style.backgroundColor ="#FFFFFF "; "Table1.FgColor = '#000000';" >


"" < input type= "button"

value= "Green" style= 'background: Green;"

onClick= "document.body.style.backgroundColor = ' #008000 '; document.fgColor =' #FFFF00";">"


"" < input type= "button"

value= "Blue" style= 'background: Blue;"

onClick= "document.body.style.backgroundColor = ' #0000CC '; document.fgColor ='#FFFFFF ';" > "


"" < input type= "button"

value= "Red" style= 'background: Red;"

onClick= "document.body.style.backgroundColor = ' #FF0000 '; document.fgColor =' #FFFF00";">"

< / make >

The table is named "Table1". I guess I have to refer to this somehow, but I don't know how. You can see in the code of the white button I tried "Table1.fgColor" and similar variations.

I know many of you will say just "do not use tables. Yes, I learned that the hard way. Unfortunately, I have no time completion of this project, so I do not wish to recreate the entire site using DIV tags

Thanks in advance!

You can download the .js files on the example site you mentioned. Or, you could use a CDN service hosted and your page a link to there .js files.

You can link jquery.js from Google - http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js

Code will be in yourTags as follows:

You can also download these files .js locally and bind them on your own server.

This is a jQuery CDN repository: http://code.jquery.com/

You can also use another CDN - http://docs.jquery.com/Downloading_jQuery#CDN_Hosted_jQuery

Tags: Dreamweaver

Similar Questions

  • Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site.

    Jerky mouse mouseover function for all while the menu (file, options, help) and the key back/forward/home too. More scrolling is choppy every Web site since the update to version 3.6 to 4 RC1.

    Gel mouse pointer when it comes across objects that use some sort of animation or gradual highlighting when hovering on (which is basically all the Firefox 4 items menu, tabs, etc.) But also a lot of things on the Web pages as the green buttons on this page that change color when you hover over them).

    After rebooting my system, however, the problem seems to have disappeared!

    [, WinXP SP3 - 4 GB RAM, Core i5 M520, driver Nvidia NVS3100M 6.14.12.5738, Firefox 4.0]

  • Change the key of a staff member in the partitions without others changing Editor

    How can I change the key of a staff in the score editor without all the staffs changing to this key?

    http://help.Apple.com/LogicPro/Mac/10.2.3/#/lgcp8535bf38

  • How can I change the key of a lunch without losing the words in my karaoke VanBasco window when using cakewalk pro audio.

    Original title: Using cakewalk pro audio

    How can I change the key of a lunch without losing the words in my karaoke VanBasco window when using cakewalk pro audio. Can anyone help please

    Hello

    What operating system is installed on the computer?

    Contact Cakewalk for assistance:

    Here is the link: http://forum.cakewalk.com/default.aspx

  • Script to change the key of win8 silently

    I need a script to change the key for win8 silently, there are hundreds of systems whose key is goinng expires soon, so I need a script that can the key Active silently without user interaction. Planning to deply the script using SCCM, any suggestions would be helpful. Thanks in advance...

    Since this isn't a scenario of domestic consumption current, you'll get best advice of experts of INFORMATICS:

    http://forums.technet.Microsoft.com

  • change the key photo in faces

    I use the Photo App in OS X El Capitan. I can't find the instructions that explain how to change the key in faces photo online. The instructions I was able to locate show 1) go to Photos, 2) go to the faces, 3), go to a particular face, 4) find a picture of this face that you want to be the key photo, 5) select which photo by hovering over it with the mouse by pressing the space bar.

    Does not work. Is there another way?

    Do a right click or Ctrl-click on the photo and choose to make the Photo of key in the menu, or highlight the photo and use SHIFT-command-K on the keyboard, or highlight the photo and choose to make the Photo key under Image on the menu.

  • How can I change the key series for win xp (Photoshop elements 11)

    I am owner of a serial for Mac key, I remove it from my Mac and I need to install in laptop with Win Xp, how I can change the key series for win xp in Photoshop elements 11

    You have dvd set that has windows and mac DVD or downloaded PES 11 for your mac?

    If you have downloaded it, you PES 11 Adobe or Apple?

    In General, if you have the box set that includes windows and mac installers, then the same serial number works for mac and windows.

    If a purchased download mac specific PES 11 RPF, series only works for mac and no windows.

    Given that PES 11 is no longer sold by adobe, I don't think you can cross grade to get a windows serial.

  • How to change the key combination to merge again layer (Ctrl alt shift e)?

    How to change the key combination to merge again layer (Ctrl alt shift e)?

    I have not found it in keyboard shortcuts.

    You could make an action to a key to assign a F as a work-around

  • Help change the lightness of the foreColor script

    Hello

    I would like some help with the scripts here: I am currently using this script that I found in the forums to change the brightness of the current foreground color

    *****************

    #target photoshop

    var foreColor = new SolidColor;

    foreColorH = app.foregroundColor.hsb.hue; Initial value

    foreColorS = app.foregroundColor.hsb.saturation;

    foreColorB = app.foregroundColor.hsb.brightness;

    foreColor.hsb.hue is foreColorH + 0.;

    If (foreColorB + 10 > 100) {foreColor.hsb.brightness = 100}

    else {foreColor.hsb.brightness = foreColorB + 10 ;}

    foreColor.hsb.saturation is foreColorB + 0.;

    app.foregroundColor = foreColor;

    *********************

    Modify this script to brightness-10 only the result below (red arrows), but what I really need, is to change the lightness down if the color picker is going down, as the blue goes to the top.

    Thanks much for any help.

    lightness.jpg

    This line is incorrect. It is assign the value of brightness saturation:

    foreColor.hsb.saturation=foreColorB+0;
    

    It should be:

    foreColor.hsb.saturation=foreColorS+0;
    
  • I am currently connected to my wireless network and I changed the key network of it. I can't change it on my Vista laptop however. Help?

    So, I changed the network key password. I can't change my mobile well. It won't let me.
    Help!

    Hello

    It should not need to change it on both computers. If you change the WEP key, you will need to enter the new password on any computer that connects to it then.

  • Help change the passwords so often

    Is there a way to reset my Microsoft Windows Vista security while I wonder not to change the password every 60 days or more?  I am referring to the administrator account that appears once the pc is restarted.  I don't need this kind of security for this computer.

    Thank you

    Is - this message about your password is about to EXPIRE, or the words in this nature? And you will have 14 days?
    If so, use the tutorial below link. Use the three method...
    http://www.Vistax64.com/tutorials/96092-password-expiration-Vista.html

    t-4-2

  • [AS] Help: Change the text in overflow &lt; text frame &gt;?

    Hello again,

    I am filling the blocks of text in my document with a randomtext in a table. Works fine now.

    But not knowing how many characters compatible with, in the text box, which has space for only one line, about 10 words, I'll try not to repeat the random process until that theres no overflow the box.

    The problem is this: when I edit text in the text block and it overflows, evil change the new text - but only the visible text gets crushed, leaving the rest overflowing in the box and keeps adding up and never ends the repeat loop.

    if class of myPageItem as String = "text frame" then

                          set text of myPageItem to «"& my TextFill()»»

                        repeat until overflows of myPageItem = false

    the value text of myPageItem to «"& my TextFill()»»

    end Repeat

    end if


    Its the thing with the text in the text frame... How to crush each text visible and not visible in the box, any suggestions?

    It does not work. What we have here is a failure to communicate. Here are the main points in javascript:

    myTextFrame = app.selection [0]; I chose a block of text with the type tool, drag

    myTextFrame.contents; the words that are part of the framework

    myTextFrame.parentStory.contents; the entire contents of the story, including everything in excess

    myTextFrame.overflows; true

    Make sure myTextFrame is a reference to an object in the image text.

  • Help change the email address in my profile

    I can't find the place to change my information? I accidentally typed my wrong email when setting up my account and I was not able to figure out how to change my email and update? Only managed to change the password and I do not need to do this? any suggestions

    I looked for the answer to this question too. I came up with this:

    The Adobe Forums do not store your email address. Your e-mail address is part of your Adobe ID on Adobe.com. To change your email address, you will need to change your account on Adobe.com.

    1. go to https://www.adobe.com/account/account-information.html
    2. sign in with your Adobe ID.
    3. in the section my Adobe ID, make the necessary changes
    4. click on save my changes

    This will change the email address on your Adobe account. Don't forget to sign with the new e-mail address the next time you visit the forums.

  • Qosmio PX30t / PX35t - changing the key of the Middle mode / behavior

    Hello.

    I recently bought a new computer that is running Windows 8.

    By clicking the Center button of the mouse opens the start page.
    I would like to change this so that the middle button of the mouse no other more useful things.

    I need above all to be able to use the middle button of the mouse in a program call GIMP, where the central button of the mouse to move the image.

    I use this for my job, so it is very important for me to find how I can change the way the button behaves.

    Thanks for any help you can offer.

    > I want to change this so that the middle button of the mouse no other more useful things.
    If possible, you should be able to do so in
    * Control Panel-> mouse *.

    Your comments would be greatly appreciated

  • Satellite L750 - keyboard has decided to change the key

    Hello

    I'm on a toshiba Satellite L750, I used it about 10 times in the two months since the purchase, it's a backup on my imac. My problem is for some reason any the @ button swapped with the button '.»

    So if I type in for example an email Johnsmith "hotmail.com I me the" instead of the @ to getet the @ if I hasve use shift '. "

    can someone help me with, if I explained it correctly.

    cordially Chief

    Hello

    You should change the keyboard language.
    I assumed that the @ is placed on the button marked with 2
    In this case, you must use the r

    Go to control panel-> region & language control-> keyboards & languages

    Tap on change keyboards. Add the United States English and change its default.

    Welcome them

Maybe you are looking for

  • Firefox sends reports of incident without my permission

    I noticed that Firefox was to send crash reports to Mozilla without my permission several times lately.Under "data selection", I see crash unchecked, but the notification window appears now and then after a crash.I have never checked "notify Mozilla

  • Is there a good site Translator Web?

    I'm looking for a similar to Google translate translator who translates entire sites in English. I have FF23, which contains some bugs, but I still want to be able to read a site in a foreign language in English. Operating system is Windows 8.

  • Install the downloaded problem 08 turbo tax

    Has any body heard about a hotfix to resolve the problem of installing for turbo tax this year.  Whenever I try to install the download with my presario with XP it cancels the installation.

  • How to change the resolution on HP Mini 2133, vista home?

    HP Mini 2133 - Vista Home Basic.  Web pages are double moniter. How to bring back to orginial settings? Changed after Windows updates!

  • How to clear the fax memory so that I can receive additional fax?

    I received error messages that my fax memory is full.  I searched the manual, asked for help on the HP site and visited the chat rooms.  If someone has had this problem and how did you solve it?