By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,969 Members | 1,705 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,969 IT Pros & Developers. It's quick & easy.

how to set divs/iframes display orders

100+
P: 130
hello all,

i was wondering how i can control the order of the div's that i have.

now because of my logo is a banner that coming from <iframe> tag
its last to show in the page is there a way to control the order the page loads?

thanks
Sep 14 '08 #1
Share this Question
Share on Google+
4 Replies


acoder
Expert Mod 15k+
P: 16,027
This won't be possible with HTML, but you could use JavaScript.
Sep 14 '08 #2

100+
P: 130
thanks man,
i saw some samples with js but they were all talking about img's.
can you explain more?
shouled i open new thread in js froums?
Sep 15 '08 #3

eWish
Expert 100+
P: 971
I will move this thread to the JavaScript Forum.

--Kevin
Sep 15 '08 #4

acoder
Expert Mod 15k+
P: 16,027
Keep all content initially set to "display:none". Use the onload of the iframe/img elements and the img.complete property (where supported) to determine when something has loaded. You can also check that the element has entered the DOM by trying to access it using document.getElementById(). I haven't looked, but there may be a package that someone already written that does this for you.
Sep 15 '08 #5

Post your reply

Sign in to post your reply or Sign up for a free account.