Testing code.

SickFotoSickFoto Registered Users Posts: 40 Big grins
edited December 18, 2009 in SmugMug Support
Is there a way to test code without the public seeing it?

I'm working on a navbar but don't want people to see me hacking away at it...:patch

Thanks,

Robert

Comments

  • AllenAllen Registered Users Posts: 10,016 Major grins
    edited December 18, 2009
    SickFoto wrote:
    Is there a way to test code without the public seeing it?

    I'm working on a navbar but don't want people to see me hacking away at it...:patch

    Thanks,

    Robert
    Add a CSS rule to hide it when not logged in.

    .notLoggedIn .menu {display: none;}
    Al - Just a volunteer here having fun
    My Website index | My Blog
  • SickFotoSickFoto Registered Users Posts: 40 Big grins
    edited December 18, 2009
    Allen wrote:
    Add a CSS rule to hide it when not logged in.

    .notLoggedIn .menu {display: none;}


    Thanks Allen,

    That's pretty cool...

    Is there a way to test an entire page? In other-words it would be cool if visitors at my homepage would see my current working, functioning site and I could be working on the site at a different url (gallery?) where my modifications can't be seen or otherwise effect my current homepage.
Sign In or Register to comment.