I am new to using Server Side Scripting and I'm diving in head first. My new site: http://www.re-volvemedia.com/ is using the Script.aluco.us code to make a really nice drop down navigation for our services. What I need to have happen is set a cookie that will remember what was clicked in the main navigation and set a cookie that will keep multiple states open from page to page. So the user can open them all or just a few and they will stay from one page to the next. If the user changes or closes a menu then it would stay closed on the next page. I am green in this area and don't know were to start or what to use. We are using PHP for includes and contact forms, but I don't know what the best approach is? Any help would be greatly appreciated!
Thanks for the tips...This is really close and hopefully I'll be able to piece this one together enough to work...I am not good at JavaScript but I'm willing to try...
This is something someone could help me with...here is what I need the script to do...and I don't know how to do it.
When the user clicks the button it will set a cookie keeping the navigation in the state that they left it from page to page...then if the cookie is set remove the style that tells the navigation to "display:none;" so it will show up...then if they are viewing the page it will give that a class of "current" to keep the navigation user friendly and let the user know which page they are on.