WordPress.org

Ready to get started?Download WordPress

Forums

  1. tdsm
    Member
    Posted 1 year ago #

    Hi all,

    I'm using the Photonic plugin to display Picassa (Google Plus) albums. I use AJAX to load my page content dynamically. Is there any way to fire the Photonic jQuery code manually once the DOM has been updated?

    At the moment, none of the lightboxes will work as any new DOM elements haven't been manipulated.

    Cheers,

    Tom

    http://wordpress.org/extend/plugins/photonic/

  2. tdsm
    Member
    Posted 1 year ago #

    Please note - I'm using wordpress 3.5

  3. Sayontan Sinha
    Member
    Plugin Author

    Posted 1 year ago #

    I don't believe there is any way to handle this in the plugin without major changes.

  4. Sayontan Sinha
    Member
    Plugin Author

    Posted 1 year ago #

    Can you provide a link to your site and the plugin you are using to load everything via AJAX? I can take a look to see if it is something I can support in a later version.

  5. tdsm
    Member
    Posted 1 year ago #

    Hi Sayontan,

    Fab plugin but unfortunately in the end I ended up writing a small Picasa script from scratch myself as I realised that I'd need to hack at your code. I think my site was a bit of an edge-case where the DOM was being modified after your script ran.

    Maybe if there was a public function available to apply the jQuery modifications on the fly e.g. in ColorBox you can call $.colorbox(params) on jQuery elements after the DOM change.

    Tom

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic