After seeing about the load() event yesterday, I made an edit to my figures
plugin to have it work even if the image doesn't specify a width, and it's
caused a problem that doesn't make any obvious sense to me.

Here's the previous version:
http://pioindustries.com/projects/jquery/figures-table-working
The last image(with no width) should be kind of screwed up. If not reload,
and it should happen eventually.

Now, my current working version is here:
http://pioindustries.com/projects/jquery/figures
where I have the objects to be captioned triggering on load. And it works
perfectly for that image at the bottom.

Except that the table isn't being captioned, and I can't see why. The code
makes no assumptions about what it's being fed. There's only one place where
I specifically check for the object being an image, and it's for a case that
would never happen with a table(being wrapped with a link.)

The figures() function itself is untouched between those two docs. The only
difference is the invocation.

Can anybody by chance see what might be causing it to fail on the table?

Reply via email to