kazuri
09-29-2007, 08:31 AM
Hi everyone, Im having a bit of a problem getting a onClick to change the different link values.
Im trying to switch the black ground and link colors, but I cant figure out the right 'definition' for the link styles..
I can get this to work for the background color,
onClick="document.body.style.backgroundColor = 'white';"
But I dont know what to type after document.body.style. for the different link values, a:link v:link etc. Ive been searching google for a couple hours and just cant seem to find anything on it.
Thanks.
Im trying to switch the black ground and link colors, but I cant figure out the right 'definition' for the link styles..
I can get this to work for the background color,
onClick="document.body.style.backgroundColor = 'white';"
But I dont know what to type after document.body.style. for the different link values, a:link v:link etc. Ive been searching google for a couple hours and just cant seem to find anything on it.
Thanks.