Not signed in (Sign In)

SkillShare - A place to discuss Web Standards and Web Design topics

Categories

Vanilla 1.1.9 is a product of Lussumo. More Information: Documentation, Community Support.

  1.  permalink
    Hi,

    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,
    Seth
    • CommentAuthorPettyRider
    • CommentTimeSep 21st 2006
     permalink
    I ... don't know where to start

    Here and here.
    • CommentAuthorvesa
    • CommentTimeSep 22nd 2006
     permalink

    hmm could this help you?

    Unobtrusive & Persistant Script.aculo.us Effects

    (hmm “preview post” doesn’t seem to work)

  2.  permalink
    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.

    ...And I don't know any JavaScript...at all!

    Should be fun and frusterating
    • CommentAuthoreasement
    • CommentTimeOct 16th 2006
     permalink
    Since you are using PHP, you could take it away from the client side an put it in a session variable?
Add your comments
    Username Password
  • Format comments as (Help)