It's just one image, and a. properties are defined using fixed positioning. Here is the current css used for the on states:
Code:
/* ON STATES */
#globalheader.profile #globalnav li#nav-profile a { background-position: 0 -101px !important }
#globalheader.croatia #globalnav li#nav-croatia a { background-position: -101px -101px !important; }
#globalheader.montenegro #globalnav li#nav-montenegro a { background-position: -202px -101px !important; }
#globalheader.services #globalnav li#nav-services a { background-position: -303px -101px !important; }
#globalheader.theteam #globalnav li#nav-theteam a { background-position: -404px -101px !important; }
#globalheader.gallery #globalnav li#nav-gallery a { background-position: -505px -101px !important; }
#globalheader.contacts #globalnav li#nav-contacts a { background-position: -606px -101px !important; }
What happens is when the page refreshes, the request variable is set to define which button is active, which modifies the menu part of the page here:
Code:
<div id="globalheader" class="profile">
<ul id="globalnav">
<li id="nav-profile"><a href="/profile/"></a></li>
<li id="nav-croatia"><a href="/croatia-dmc/"></a></li>
<li id="nav-montenegro"><a href="/montenegro-dmc/"></a></li>
<li id="nav-services"><a href="/dmc-services/"></a></li>
<li id="nav-theteam"><a href="/the-team/"></a></li>
<li id="nav-gallery"><a href="/gallery/"></a></li>
<li id="nav-contacts"><a href="/contacts/"></a></li>
</ul>
</div>
The above class changes depending on what page is requested. I don't know how to modify this for the active content script which calls a single class for each menu change, whereas above has individual id's for each content change.
Any thoughts?
Bookmarks