Loading a tiled background after ..
Hello,
I'm doing a personal CV website;
It contains flash,.... set margins at 0;0;0;0...
I'll be placing it in a table, 1 row, 2 columns. 100% width.
I want the 2nd column to have a 'tiled background' (image will be 1x400 - long and thin) that will tile all the way across....
I want this to load AFTER the flash...this possible?
Can you time things that load in on the page? I'm sure it can be done?
Hope this makes sense. Thanks.
demonhale posted this at 15:54 — 2nd December 2005.
He has: 3,278 posts
Joined: May 2005
Well you could try putting the flash embed tag way on top, and the css background tag on column 2 way at the bottom on your html, and/or in the worst case make the flash lightweight (in file size) and increase those of the tiled background.
Why do you need to do this anyway?
lenglui posted this at 16:05 — 2nd December 2005.
They have: 3 posts
Joined: Dec 2005
I'm just looking at the possibilities.
I'm just building the flash site now (will post up after I've done it)
..the preloader will be somethin, maybe, animated completely different to the main section... main section has a background which I want it to carry on to the right, hence I need something that could load after......
There are a few ways to do it I guess. after the flash has loaded tell it to open a new .html page or something, but taht would be pointless...
Errrr the possibilities are endless now that I am actually thinking about it.. maybe I should keep it simple now!... ideas ideas ideas!
Damnit if I was a designer and a coder all in one!
Thanks
demonhale posted this at 16:14 — 2nd December 2005.
He has: 3,278 posts
Joined: May 2005
Well in multiple BGs I preload those that I want to appear first, then leave the last one on its own. Another Idea is to use an Iframe which you could insert in the second column which actually is a seperate page with a delay time. (using meta commands) then it would definitely load last... So there you have a BG on an iframe that loads last, position a content wrapped in divs on the content part of column 2 and float or position it on top of the iframe and set the divs background to transparent. This would definitely do the trick without affecting your SEO...
Roo posted this at 17:04 — 2nd December 2005.
She has: 840 posts
Joined: Apr 1999
No...the browser is going to load the table and all of it's elements first. With html you cannot choose what get loaded first, second, last....
Renegade posted this at 18:27 — 2nd December 2005.
He has: 3,022 posts
Joined: Oct 2002
Well... you can roughly control what loads first - I think - because everything in the will be loaded before the . You just can't control what is displayed first.
lenglui posted this at 21:36 — 2nd December 2005.
They have: 3 posts
Joined: Dec 2005
Thanks for your replies & help,
Considering you can't control how the page loads, or well 'slightly' (which is not enough)... I have thought of a solution through this and will do it differently!
Renegade posted this at 08:54 — 3rd December 2005.
He has: 3,022 posts
Joined: Oct 2002
Great
Care to share it with us so other may learn from your experience?
demonhale posted this at 09:03 — 3rd December 2005.
He has: 3,278 posts
Joined: May 2005
I had the perfect solution above, Ill rewrite in outline form,
-you have 1 row and 2 columns
-on the second column theres supposed to be a tiled BG that loads last
-the 1st column contains the flash which loads 1st
What You Do
-Make the page normally, your texts on column two (with the BG loading last) should be wrapped in div's with transparent background (i.e. background:transparent; )
-on the second column load an iframe with the exact dimensions as to the column.
-load the tiled BG of your choice on the target page of the Iframe, put on that target content of the iframe a meta redirect command which defines how many seconds the page is directed to that tiled BG page.
-put the text contents that was wrapped in divs over the top of the Iframe, using z-index if necessary.
Viola that would definitely load the flash first and the BG on the column two at a defined time...
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.