How do you display inline content onload?
  • I'm trying to use prettyphoto to load inline content in a lightbox. I have it working so that the inline content loads if you click the link as per the example: a href="#inline_demo" rel="prettyPhoto[inline]".
    However, I would like the inline content to load in the lightbox automatically on page load.
    I appreciate any help.
  • I found the solution:

    $("a[rel^='prettyPhoto']").prettyPhoto().click();
  • Codegrrl, how did you get inline content to work...I have been trying for three days with no luck.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Login with Facebook Sign In with Google Sign In with OpenID Sign In with Twitter