Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Can I set an order on how my page loads?

Status
Not open for further replies.

naiku

Technical User
Joined
Apr 25, 2002
Messages
346
Location
US
Hi

Is there a way that I can set the order in which parts of my page load? I have just completed the first page for my site and had a couple of people ask me if the background can be loaded first. It's a fairly simple page made up of a couple of tables, a short flash intro and the background on a layer.

Can I make the background load first? or does the page just load randomly depending on connection speeds etc. Also if anyone wants to take a look at (only one page at the moment) and let me know their thoughts on the page loading speed, design etc.

Thanks

Naiku
 
About page loading, I think the browser reads the page from top to bottom. Don't know if you can specify what loads first, maybe you would have more luck in the HTML/CSS or the Javasript forum.

As for your site, only weird stuff I'm affraid:

1) the mouse is really jumpy like there's something slowing it all down

2) Even though theres not much content on the page it still want's to scroll down

3) for some reason I think both are linked to the background

Sorry I couldn't be of more help.


funkymonk2.jpg


rod@sameplanet.co.uk
********************
 
Thanks, I noticed a similar thing with the background when I was looking. Did not have any problems with the mouse though so not sure what that could be.

You are right about it being to do with the background, its a layer and then using a couple of Dreamweaver extensions one is the Background that Fit extension and the other is an extension to fix a layer. Using the Background that Fit extension to fill the screen with the clouds but always had a problem that anything I had to scroll to see did not have a background.

Tried to fix that with the layers extension which locked the background layer and only scrolled the text. But it seems to want to scroll forever, kind of annoying really because my boss wants the entire page filled with the clouds and the background that fit extension did not work 100% which is why I thought if I could lock the background layer and scroll the text. Kind of like with CSS where you can keep the background fixed. Might have to try and figure out another way to do this.

Thanks

Naiku
 
AAAaahhhh I just checked it at home and I too have the jerky mouse. damnit!! If anyone has any ideas about what I can do for the background I am open to them! Don't want to tile it, might try and have just a cloud border of approx 1" and the content in the middle on a white/pale blue background as I don't think the flash will have a transparent background on older versions of IE, or NS.

Can that be done with CSS?
 
It loaded incredibly slow here at work. Does the background HAVE to be in a layer? Can is jut be a regular background.

And im not an expert, but just seems to have alot of code considering theres not much on the page.
 
The code is all needed which is why I am debating changing the background. The code creates the layer which is used for the background and is there to resize it to the window size. I don't know anything about JavaScript and so don't know if it can be altered to use a regular background instead of a layer.

I think I might have to scrap the current background due to the loading slowly/jerky mouse/permanent scroll bar
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top