EE Plugin: Atilus Dynamic Menu Items

Hello to all of you web designers out there! If you’re like me, you prefer designing your sites using some form of css, especially when it comes to designing menus. We love the hover over effects, and the customizable-ness of styling both hover and non-hover states of the menu items.

Expression Engine Plugins

If visitor is NOT on http://yoursite.com/contactpage/ :

<a href="http://yoursite.com/contactpage/" class="contactpagelink"/>

If visitor is on http://yoursite.com/contactpage/ :

<a href="http://yoursite.com/contactpage/" class="contactpagelink_selected"/>

Kristen Bachmeier
Kristen Bachmeier
Kristen Bachmeier is Atilus' Director of Operations and helps to oversee all client accounts and day-to-day operations. Additionally, Kristen has worked in digital marketing for 6+ years and has helped create digital marketing plans for most of our clients.

Leave a Comment

Recent Comments | 2 Comments
  • Avatar
    Devin
    Reply

    This is true. I’ve only recently come across the segment_# param in EE templates while moding a calendar. Hopefully the source of this plugin will provide some possible good to someone out there.

    Thanks for your insight!

  • Avatar
    Dan Alvidrez
    Reply

    Cool, I use the following code all the time:

    <a href=“http://yoursite.com/contactpage/&#8221; rel=“nofollow”>

    {if segment_1==“contactpage”}_selected{/if}

    My question is which method uses less processing power?
    ——-

Recent Posts
-->