I have Lightbox turned on, and it works on normal blog post pages.
If I have a page that is using JQuery/RSS to generate "articles" within the
Blog1 container, is there a way to have the Lightbox act on the images
within those generated articles?
I have a feeling it has to do with the timing of the JQuery loading.
For example, my code generates the same code as it is in the normal article:
I'll take this a suggestion to add code to the lightbox script to watch for
document modifications. I can't give timelines on if/when it would ship,
however. =)
brett
On Tue, May 1, 2012 at 6:41 AM, David Kutcher <da...@confluentforms.com>wrote:
> I have Lightbox turned on, and it works on normal blog post pages.
> If I have a page that is using JQuery/RSS to generate "articles" within
> the Blog1 container, is there a way to have the Lightbox act on the images
> within those generated articles?
> I have a feeling it has to do with the timing of the JQuery loading.
> For example, my code generates the same code as it is in the normal
> article:
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
> I have Lightbox turned on, and it works on normal blog post pages.
> If I have a page that is using JQuery/RSS to generate "articles" within
> the Blog1 container, is there a way to have the Lightbox act on the images
> within those generated articles?
> I have a feeling it has to do with the timing of the JQuery loading.
> For example, my code generates the same code as it is in the normal
> article:
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
JQuery is building out the posts from the feed and including the post
content exactly as it was in the original post. All of the images, links,
and attributes of the images/links are exactly the same so I'm assuming
it's a timing issue in the Javascript. Is there a way to perhaps
re-initiate the Lightbox call with a
$(function(){ $('.post-body').LightBox();});
... or something like that?
On Wed, May 2, 2012 at 2:55 AM, Brett Morgan <brettmor...@google.com> wrote:
> Hey David,
> Which blog (url) are you running this code on?
> brett
> On Tue, May 1, 2012 at 6:41 AM, David Kutcher <da...@confluentforms.com>wrote:
>> I have Lightbox turned on, and it works on normal blog post pages.
>> If I have a page that is using JQuery/RSS to generate "articles" within
>> the Blog1 container, is there a way to have the Lightbox act on the images
>> within those generated articles?
>> I have a feeling it has to do with the timing of the JQuery loading.
>> For example, my code generates the same code as it is in the normal
>> article:
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Blogger Developer Group" group.
>> To post to this group, send email to bloggerdev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> bloggerdev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/bloggerdev?hl=en.
> --
> Brett Morgan
> Developer Relations Engineer, Blogger
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
> JQuery is building out the posts from the feed and including the post
> content exactly as it was in the original post. All of the images, links,
> and attributes of the images/links are exactly the same so I'm assuming
> it's a timing issue in the Javascript. Is there a way to perhaps
> re-initiate the Lightbox call with a
> $(function(){ $('.post-body').LightBox(); });
> ... or something like that?
> -David
> On Wed, May 2, 2012 at 2:55 AM, Brett Morgan <brettmor...@google.com>wrote:
>> Hey David,
>> Which blog (url) are you running this code on?
>> brett
>> On Tue, May 1, 2012 at 6:41 AM, David Kutcher <da...@confluentforms.com>wrote:
>>> I have Lightbox turned on, and it works on normal blog post pages.
>>> If I have a page that is using JQuery/RSS to generate "articles" within
>>> the Blog1 container, is there a way to have the Lightbox act on the images
>>> within those generated articles?
>>> I have a feeling it has to do with the timing of the JQuery loading.
>>> For example, my code generates the same code as it is in the normal
>>> article:
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "Blogger Developer Group" group.
>>> To post to this group, send email to bloggerdev@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> bloggerdev+unsubscribe@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/bloggerdev?hl=en.
>> --
>> Brett Morgan
>> Developer Relations Engineer, Blogger
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Blogger Developer Group" group.
>> To post to this group, send email to bloggerdev@googlegroups.com.
>> To unsubscribe from this group, send email to
>> bloggerdev+unsubscribe@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/bloggerdev?hl=en.
> --
> You received this message because you are subscribed to the Google Groups
> "Blogger Developer Group" group.
> To post to this group, send email to bloggerdev@googlegroups.com.
> To unsubscribe from this group, send email to
> bloggerdev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/bloggerdev?hl=en.
On Monday, 30 April 2012 22:41:55 UTC+2, David Kutcher wrote:
> I have Lightbox turned on, and it works on normal blog post pages.
> If I have a page that is using JQuery/RSS to generate "articles" within > the Blog1 container, is there a way to have the Lightbox act on the images > within those generated articles?
> I have a feeling it has to do with the timing of the JQuery loading.
> For example, my code generates the same code as it is in the normal > article: