1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Javascript search/sort form?

Discussion in 'General Programming Chat' started by jasgrey, Aug 25, 2014.

  1. jasgrey

    jasgrey Junior Member

    Joined:
    May 27, 2014
    Messages:
    166
    Likes Received:
    229
    w3.coderspoint.net/theme/lansing/slider/index.html
    Here is a design I created. A friend of mine coded it for me. Our intent was to get it passed in ThemeForest, but to no avail.

    Anyways, the friend is unreachable, and I need to mimic the portfolio section. Basically, I am building a page that I need images displayed (like in the portfolio of the design I've shown) and upon selecting search criteria, filter through the items, just like in the page I've shown. The only difference is instead of the buttons (selecting one category at a time) I'd like search options. A couple drop downs with options to choose from, then a submit button to sort it out.

    Can I do this in plain on-page JavaScript? If so, can anyone lend a hand?
     
  2. Arbvestor

    Arbvestor Newbie

    Joined:
    Feb 11, 2014
    Messages:
    25
    Likes Received:
    15
    Occupation:
    Support Tech
    Location:
    Spain
    Home Page:
    The link seems broken. I am not sure what you are asking. As long as you can put criteria to your items you can treat the items as "documents" in the sense of a full text search engine like https://github.com/reyesr/fullproof and use this search engine to find the relevant items according to the given search criteria.
     
    • Thanks Thanks x 1
  3. jasgrey

    jasgrey Junior Member

    Joined:
    May 27, 2014
    Messages:
    166
    Likes Received:
    229
    Try replacing w3 with www.

    I'll check that out. Thank you!
     
  4. Arbvestor

    Arbvestor Newbie

    Joined:
    Feb 11, 2014
    Messages:
    25
    Likes Received:
    15
    Occupation:
    Support Tech
    Location:
    Spain
    Home Page:
    There is a thanks button... :)

    I got your link to work now. it is indeed a nice design. I guess you will need someone with good knowledge in clinet side java script coding to do what you need. We don't do work like this right now for others, but there are plenty good JavaScript programmers out there. Look at oDesk or PeoplePerHour to find good candidates.
     
    • Thanks Thanks x 1
  5. member8200

    member8200 Regular Member

    Joined:
    Aug 9, 2014
    Messages:
    469
    Likes Received:
    33


    May i ask, is there any database for those images you want to be displayed? if so, then i would rather go with php do to the job.
    Answering your question. Yes, it can also be done with JavaScript. :)