Grow your CSS skills. Land your dream job.

Make an Up (Parent Directory) Button

  • # June 7, 2013 at 11:33 am

    I made a “Display Styled Directory Contents”
    http://css-tricks.com/snippets/php/display-styled-directory-contents/

    and I need to make a parent directory button so that techs can maneuver around the folders. any ideas?

    # June 7, 2013 at 11:36 am

    I think you need to explain a little more what you mean.

    Do mean design a button or how to achieve the functionality?

    # June 7, 2013 at 11:43 am

    if you look at the link above you can see what I did. Since i have it set to not show hidden files the “parent directory” doesn’t show up. I need them to be able to click a button and go up a level in the directories. does that make sense?

    # June 7, 2013 at 11:48 am

    That sounds like functionality to me.

    A `

    # June 7, 2013 at 12:15 pm

    Assuming each directory listing has an index that’s configured in that way, couldn’t you just link with ‘../’ ?

    Or am I oversimplifying this ?

    # June 7, 2013 at 12:55 pm

    that did the trick! thanks mcjohnst! I think i was just over thinking it :)

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.

*May or may not contain any actual "CSS" or "Tricks".