The following warnings occurred: | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Warning [2] Undefined array key "allowautourl" - Line: 584 - File: inc/class_parser.php PHP 8.1.31 (Linux)
|
Active State - Printable Version +- GetSimple Support Forum (http://get-simple.info/forums) +-- Forum: GetSimple (http://get-simple.info/forums/forumdisplay.php?fid=3) +--- Forum: Feature Requests (http://get-simple.info/forums/forumdisplay.php?fid=7) +--- Thread: Active State (/showthread.php?tid=267) |
Active State - oToom - 2009-12-31 Sorry, i didn't know where about to post this. But my question is, on some templates there is an active state (on the link). Example: Code: <li><a href="index.html" class="active">Home</a></li> But. because we use get_navigation() and it does it all for us. Is there a way to get that active state, onto the active page? If not, any way you think you could implement it? Cheers Ant Active State - n00dles101 - 2009-12-31 not quiet sure I understand what you need here. Current page is always the active one. Active State - ccagle8 - 2009-12-31 For the main GS site, this is what I use for my CSS to get active states. The key here is that GS always puts the class current on the "active" link's LI element. Code: #bodycontent .sidebar ul.nav {list-style:none;margin:0 0 30px 0;width:250px;} Active State - oToom - 2010-01-04 I forgot to say thanks for this, i'll give it a shot! Cheers chris! Active State - oToom - 2010-01-18 Okay, Chris i just got around to this again as i'm coding my new layout for my portfolio. Just a quick question, is there any special html? Are you making any classes in the a href? Is it class="current"? Tbh i don't get this . Any explination please. Active State - internet54 - 2010-01-18 GS adds the class current to the page that is open. You just need to style the .current condition in your css file and your good to go. Active State - oToom - 2010-01-18 Yah, sorry i done it now . I'll pos tmy site in the using gs part. |