Header loads last on TGP site. Help!

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • czarina
    Webmaster Extraordinaire
    • Jul 2002
    • 10752

    #1

    Header loads last on TGP site. Help!

    hi guys, I just designed this site:
    http://18xteens.com/
    and the header loads last.
    I tested it here without the smart thumbs script, and I still get the same result. Here's the test: http://www.wedesig.net/clients/duart...ns/index.shtml

    Anyone has an idea how to solve this?

    Thanks soooo much!
  • blazin
    Confirmed User
    • Aug 2002
    • 2781

    #2
    Try removing this stuff
    onLoad="MM_preloadImages('images/header1.jpg','images/header2.jpg')"
    I don't endorse a god damn thing......

    Comment

    • CurrentlySober
      Too lazy to wipe my ass
      • Aug 2002
      • 38950

      #3
      Your second one is all fucked up... I get "[an error occurred while processing this directive] "


      👁️ 👍️ 💩

      Comment

      • czarina
        Webmaster Extraordinaire
        • Jul 2002
        • 10752

        #4
        yes, the error is because it can't find the script, since I uploaded it to my other server. That's not an issue. The issue is that the header loads AFTER the thumbs.

        The onLoad="MM_preloadImages('images/header1.jpg','images/header2.jpg')" is a preload script that is there to try to make it load FIRST, but not even that is working.

        Anyone? Please?

        Comment

        • mona
          Registered User
          • Feb 2008
          • 1940

          #5
          They load the same time for me :-/ The first link...

          Comment

          • blazin
            Confirmed User
            • Aug 2002
            • 2781

            #6
            Originally posted by czarina
            yes, the error is because it can't find the script, since I uploaded it to my other server. That's not an issue. The issue is that the header loads AFTER the thumbs.

            The onLoad="MM_preloadImages('images/header1.jpg','images/header2.jpg')" is a preload script that is there to try to make it load FIRST, but not even that is working.

            Anyone? Please?
            Take the header out of the stylesheet background and just hardcode it into a centred table or something
            I don't endorse a god damn thing......

            Comment

            • czarina
              Webmaster Extraordinaire
              • Jul 2002
              • 10752

              #7
              ouch, hate using tables, when everything else is so clean with just CSS. But heck, I'll give it a try!

              Comment

              • Ayrora
                Registered User
                • Mar 2004
                • 11

                #8
                Originally posted by blazin
                Take the header out of the stylesheet background and just hardcode it into a centred table or something
                You don't need to use tables; simply insert the header image within the div

                the problem is that CSS backgrounds tend to load last...

                Comment

                • czarina
                  Webmaster Extraordinaire
                  • Jul 2002
                  • 10752

                  #9
                  gotcha! Thank you so much, that saved me!

                  Comment

                  • SmokeyTheBear
                    ►SouthOfHeaven
                    • Jun 2004
                    • 28609

                    #10
                    yah i would take the header out of the css and just put it into the div, its taking longer to read the css than it is to load the thumbs so it loads after
                    hatisblack at yahoo.com

                    Comment

                    • SmokeyTheBear
                      ►SouthOfHeaven
                      • Jun 2004
                      • 28609

                      #11
                      btw kudos for actually taking the time to fix it, those kinda bugs always irritate me, people often just give up and forget about it
                      hatisblack at yahoo.com

                      Comment

                      • Aric
                        Confirmed User
                        • Sep 2002
                        • 1209

                        #12
                        Browsers render pages from front to back (in terms of "layers")... which means backgrounds load last - your header is a background.
                        Awesome cloud hosting by DigitalOcean

                        Comment

                        • HorseShit
                          Too lazy to set a custom title
                          • Dec 2004
                          • 17513

                          #13
                          did someone actually pay for that design?

                          Comment

                          • Godsmack
                            Confirmed User
                            • Apr 2004
                            • 4525

                            #14
                            thanks for using ST
                            Download the much improved Free Tube Script adult/mainstream tube solution for FREE!

                            Comment

                            • ThumbLord
                              Confirmed User
                              • Jan 2009
                              • 1932

                              #15
                              so this was a paid job as in somebody paid for this?
                              just curious
                              We Sell Domains | ThumbLords | ICQ 128106905 | TubeLords | Traffic Holder | eRoken

                              Comment

                              • SayWhut
                                Confirmed User
                                • Jan 2008
                                • 962

                                #16
                                Use a CSS sprite if you want a universal loading time of all template imagery ...

                                Comment

                                Working...