With my javascript, all you have to do is this:
Code:
**HTML Here**
<ul id="navlist">
blah, blah, blah
<ul>
<script type="text/javascript">
(function() {
var baseColor = "#777";
var hoverColor = "#0e34d1";
function overHandler(el) {
el.style.backgroundColor = hoverColor;
}
function outHandler(el) {
el.style.backgroundColor = baseColor;
}
function addEvent(el, type, func) {
el.addEventListener?
el.addEventListener(type, func, false):
el.attachEvent("on"+type, func);
}
var navLi = document.getElementById("navlist").getElementsByTagName("li");
for(var i=0, n=<navLi.length; i<n; ++i) {
addEvent(navLi[i], "mouseover", overHandler);
addEvent(navLi[i], "mouseout", outHandler);
}
)();
</script>
**more HTML***
See the bolded area in the code? Change the hexidecimal values to the colors you want. And that's it! Oh, and your UL tag has to have the id of "navlist" (case-sensitive).
Bookmarks