as you can see on jsfiddle http://jsfiddle.net/C8B8g/7/ I have 2 button (= 2 divs) “The region” and “The source”. Each div gets highlighted (blue background) on mouse over (thanks to stackoverflow contributors cause I’m still very bad in JS).
I’ve noticed that users don’t actually realize that these are buttons so what I would like to do is to have the first DIV containing the text “Our region” to be highlighted with the blue background by default and only come back to white background when the other div containing the text “our source” is clicked (in that case “our source” background would turn blue). Made some testing using “current” in CSS but without success…
Try this:
Updated:
Here is working jsFiddle.