Can I easily control the order in which things load on a page of mine?
October 22, 2009 1:35 PM Subscribe
I need some help fixing a web page. Images load in the wrong order, and users are finding it confusing.
I have a free album up here, and it's gotten about a zillion views, which I'm very happy about. But many users report that the images of the book pages don't show up.
As it turns out, in Firefox (by far the most popular browser that visits the site) they do show up, but they are displaced below the Flash player that plays the album until the entire page loads. Is it possible to force the pages to load right next to the player?
This must have to do with the way Firefox renders things, but the few hacks that I've tried on the code have not changed the order that things appear. Any advice would be much appreciated.
I have a free album up here, and it's gotten about a zillion views, which I'm very happy about. But many users report that the images of the book pages don't show up.
As it turns out, in Firefox (by far the most popular browser that visits the site) they do show up, but they are displaced below the Flash player that plays the album until the entire page loads. Is it possible to force the pages to load right next to the player?
This must have to do with the way Firefox renders things, but the few hacks that I've tried on the code have not changed the order that things appear. Any advice would be much appreciated.
You can't control the order of loading at all.
posted by Chocolate Pickle at 1:44 PM on October 22, 2009
posted by Chocolate Pickle at 1:44 PM on October 22, 2009
Agree with cschneid, usually setting fixed heights and widths of elements helps with this kind of thing.
You could try to get fancy by loading the flash player last via Javascript but I'd do that as a last resort if setting the sizes doesn't work.
posted by bitdamaged at 1:53 PM on October 22, 2009
You could try to get fancy by loading the flash player last via Javascript but I'd do that as a last resort if setting the sizes doesn't work.
posted by bitdamaged at 1:53 PM on October 22, 2009
You can't control image loading order, but if you set appropriate dimensions on everything (especially the actual img tags), this will help with the layout flow as things are loading. Changing from TDs to DIVs is probably not going to help this at all.
posted by beerbajay at 1:55 PM on October 22, 2009
posted by beerbajay at 1:55 PM on October 22, 2009
To be honest, you CAN control load order with a bit of javascript, but I don't think it's what the poster is looking for, anyway.
posted by syzygy at 2:15 PM on October 22, 2009
posted by syzygy at 2:15 PM on October 22, 2009
Response by poster: OK, so consensus at this moment is to specify the widths and heights on all my TDs. I'll give that a shot tomorrow morning and see if it helps.
posted by fake at 2:30 PM on October 22, 2009
posted by fake at 2:30 PM on October 22, 2009
« Older I can no longer add html to gmail signature? | What fenders are compatible with my sweet... Newer »
This thread is closed to new comments.
First fix: try to set a width (css style attribute) on the object or td containing the flash file.
Second fix: get rid of the td tags, and use floated divs. (float them all right).
posted by cschneid at 1:43 PM on October 22, 2009