For the moment I'm fine, thx.
There is just another issue about highlighting the current active menu point.
Basically I get an highlight status for my main menu points. What kind of solution
could be integrated to have the same function for the sub menus point? If someone
is clicking the menu point a new page has been loaded. At the same time this a-tag
should also get an new class for active status.
Right now I was writing a toggle func for this task:
Code:
// toggle func for js cat menu
$(".cat ul.level2 a").toggle(
function () {
$(this).css({fontWeight: "bold"}).css({color: "#c64d4d"}).css({backgroundImage: "url(images/icons/nav_item_active.gif)"})
},
function () {
$(this).css({fontWeight: "normal"}).css({color: "#556469"}).css({backgroundImage: "url(images/icons/nav_item_inactive.gif)"});
}
);
But how can I write the status as cookie? It should last as long as no other menu
point under ".cat ul.level2 a" has been clicked?
Bookmarks