Forums

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

Home Forums JavaScript Using Chris’s ALL AJAX script for WordPress with Lightbox?

  • This topic is empty.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #33759
    noahgelman
    Participant

    Specifically I’m using the NextGEN Gallery to create a lightbox. How can I remove the ajax so the lightbox works properly?

    I changed:

    $('a:urlInternal').live('click', function(e) {

    to


    $('a:urlInternal').not('a[href*="/gallery/"]').live('click', function(e) {

    I removed it affecting links with the /gallery/ in the href. It’s the fodler that the gallery holds it’s images. But now it links directly to the image in the lightbox so I’m not sure what to do

    #84361
    noahgelman
    Participant

    Can you be a bit more specific?

    #84532
    noahgelman
    Participant

    This doesnt actually help at all. The problem isn’t making it function. It functions fine.

    The ALL AJAX javascript AJAX’s in new content when the link is internal. I need to make an exception for lightbox links because they’re internal links but I don’t need to AJAX in anything.

    I’ll edit the title to better describe my issue.
    note:apparently I can’t change the title.

    A better title would be “How can I make an exception for lightbox links in the ALL AJAX javascript?”

Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.