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"/>

Zach Katkin
Zach Katkin
Zach Katkin is the co-founder & CEO of Atilus. He is a Certified Google Professional, author, and lover of technology. He helps Atilus stay out ahead of online marketing trends and loves driving results for Atilus' clients.

Leave a Comment

 

Recent Comments | 2 Comments
  • 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!

  • 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

Contact Us

We're not around right now. But you can send us an email and we'll get back to you, asap.