Grow your CSS skills. Land your dream job.

Jquery Filter Box Appending Links Help

  • # September 30, 2009 at 11:54 am

    Hey guys and gals,

    So I added the jquery filter boxes to my page, but as stated in the comments section, once javascript is disabled the links go nowhere. Chris talked about appending them via javascript, which would be fine by me, but I’m just starting learning js, so I’m not sure how to go about this. They have a similar kind of method over on nettuts.com right now, but Jeffrey Way used list items instead of divs, so I don’t know how to alter his code to work with Chris’ technique. The code he gave is

    $(‘#links’).before(ulOptions)
    .children(‘li’)
    .addClass(‘all’);

    As I said, I’m trying to add the unordered list of Options before my div with an id of grouping (whereas his is an ul with an id of links). And then the children from that, that I can gather, in my segment are nested divs… So I don’t know what to do exactly. Any help?

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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