Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Jquery Filter Box Appending Links Help

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
    Posts
  • #26295
    cbrails
    Member

    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)
  • The forum ‘JavaScript’ is closed to new topics and replies.