Skip to main content
Participant
July 3, 2017
Question

click on a link and get a few products to move up to the top of a table

  • July 3, 2017
  • 2 replies
  • 346 views

Hi everyone, this is hard to explain.  I have a created a table that has 18 products in it and i want the customer to be able to click on a category in the drop down menu and those particular products move to the top of the table.  Can anyone please help.  Thanks Kathy

    This topic has been closed for replies.

    2 replies

    rotokaAuthor
    Participant
    July 3, 2017

    Thanks Ben,  yeah its a bit beyond me im afraid, do you know if dreamweaver has a sort by function we can put in for the users of our content or would that use the same methods? 

    BenPleysier
    Community Expert
    Community Expert
    July 3, 2017

    No, Dreamweaver is an editor.

    To do a simple table sort, have a look at How To Sort a Table

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    BenPleysier
    Community Expert
    Community Expert
    July 3, 2017

    Kathy,

    Please explain in more detail. For instance, is the table dynamically populated? It would be great to see the code of the page to date. The best way to do this is to provide a link to the page or, in lieu thereof, paste the code here.

    At this stage I don't believe that you can do what you described. However the data could be filtered to just show that particular category.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
    rotokaAuthor
    Participant
    July 3, 2017

    thanks Ben,

    Yes i am finding it hard to do so,  i could paste the code although i have an example of someone eases website:

    Anchorage Points as fall protection | ABS Safety

    when you select from the left hand bar the attachment you want to use the products then line up in order.

    Kathy

    BenPleysier
    Community Expert
    Community Expert
    July 3, 2017

    That site filters the data from the database and shows the products according to that filter. This involves using a database and scripting languages for both server and client side. The process is too complicated to help you within the confines of this forum.

    My suggestion would be to start with a database and scripts that allow you to show the data. From there you can start with filters and Ajax functionality. After that you can add the animations using CSS transitions.

    Have a look at PHP CRUD Tutorial (part 1) to start you off.

    Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!