Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Web CMS (TeamSite)
how can i control the sequence of loading web components
prudent
Hi all
I want to know if there is a way where i can dictate what is loaded at what time when my .html page is requested..
My page has lot of frames and when the page is requested the frames do not load in a proper sequence giving a scary look for the first timer on my web-site..
I believe that there must be some javascript solution .
Please help asap
also if ihave a page and i want to first load the background image and then the content is it possible
Find more posts tagged with
Comments
Rick Poulin
Er.. just so we're clear, you're talking about final rendered HTML and nothing to do with LiveSite, right?
Skipping over the WTF re: frames and trying to fix them only for JS-enabled browsers... No, you can't control the order in which the frames are loaded unless you set them to load blank.htm in the HTML and then change the src URL in JavaScript. And that wonderfully breaks your site for all users that disable JS. Since you're posting this in a LiveSite forum, I really have to ask why you're still using frames when there's a multitude of server-side options that could do a much better job of it, and avoid the problem in its entirety?
And yes, you can have it load the background before the content. This is a common trick that you can accomplish with CSS and/or JS and/or proper markup ordering. Google it; there's a bunch of ways to do it depending on your needs.