RL Hanson-Online's Blog

Current news and information from RL Hanson-Online's blog including new websites we are designing, new programming we are using for our web design services and latest and greatest in our graphic design services!

Tuesday, November 11, 2008

R.E. Peters Company Website

Rick Peters of R.E. Peters company posed a challenge to me for an element on his new website we were designing. He wanted a drop-down menu that changed background colors for each menu item to correspond with the background color of each page it linked to.

I have used the script written by Angus at Twin Helix for the drop-down menus in the past and knew this was probably my best option for customization. However, with little experience in actually fully customizing this script - I was a little apprehensive. But, I love a challenge!

Basically, I removed all the style effects for the background colors in Angus' code, and applied a class to each
<li>
to achieve the effect.


I'm attaching the style.css and listmenu_h.css for your review - this isn't the complete code you need in order to use the twinhelix menu - make sure you download it from www.twinhelix.com.

I hope this post helps all you "new to coding" people!


style.css
listmenu_h.css

Labels: , ,