PDA

View Full Version : changing bgcolor



regina
08-06-2006, 08:46 PM
hi,
I have a tab problem.
it should do 2 things:
1. changing bgcolor when choosing it( it's not a gif, only link)
2. open seconed navigation

i guess i need an onMouseOver, but how do i combine 2 orders ( 1+2 ) at the same time?

Regina

mburt
08-07-2006, 03:44 PM
When you say "bgcolor" you're not being too specific :).

If you mean the page's bg color, or the objects bg color, I have no idea.

1:
If you want to change the bgcolor of a link (I'm guessing) use css (put in the <head> of your document):



<style type="text\css">
a:hover {
background:red
}
</style>


2:
To be honest, I have no idea what "open seconed navigation" means. I'm going to need a little more info. :)

blm126
08-07-2006, 03:58 PM
i guess i need an onMouseOver, but how do i combine 2 orders ( 1+2 ) at the same time?


;
Or put them in a function in the head of the document

mburt
08-07-2006, 04:16 PM
Err.. Simply saying ";" might not be that helpful.



<div onmouseover="functionOne();functionTwo()">(Whatever's inside the divinsion goes here)</div>