creating a pop up list for more categories

Discussion in 'PHP' started by andrewliu, Aug 4, 2010.

  1. #1
    Hello,

    I'm trying to build a list of categories with check boxes and I don't want to overflow my tables, so I was wondering if anyone has a code that will allow users to click on a link and a pop up will show the rest of the list. I would like the user to drag it as well so it won't get in the way of the web site's contents.

    Thanks
     
    andrewliu, Aug 4, 2010 IP
  2. Houdas

    Houdas Well-Known Member

    Messages:
    158
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    101
    #2
    This is mainly a JavaScript related question, not PHP. To answer it shortly, you have to make a hidden DIV with the subcategories for each main category and then showing the individual DIV when user clicks the link - very easily done for example with jQuery.
     
    Houdas, Aug 4, 2010 IP
  3. andrewliu

    andrewliu Peon

    Messages:
    4
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ohhh its javascript? okay cool thanks. Ill look into it more. Thanks!
     
    andrewliu, Aug 4, 2010 IP