/    Sign up×
Community /Pin to ProfileBookmark

Interactive category picker/selector?

I would appreciate if anyone could guide my point by point on how one could create a category picker just like gumtree (preferably in jquery):

[url]http://www.gumtree.com/add_posting.html?location_id=uk[/url]

Specifically the points

[LIST]

  • [*]

    How clicking on a category opens another to the right


  • [*]

    How clicking on a category appends a variable like “#cat-10201” into the url (and vice versa)


  • [*]

    How css lists are used instead of form select menus (making it easily styled)


  • [*]

    How clicking on a deep subcategory automatically preselects all parent categories


  • [/LIST]

    I’m not looking for anyone to actually code it for me (that would be outrageous :p) but tips on how it’s actually structured and steps on how it can be coded would be highly appreciated. I can do PHP and I know CSS also. I don’t know plain javascript but I’m sure I can do most of it in jQuery

    to post a comment
    JavaScript

    0Be the first to comment 😎

    ×

    Success!

    Help @Emkay spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 5.19,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @AriseFacilitySolutions09,
    tipped: article
    amount: 1000 SATS,

    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,
    )...