Announcement

Collapse
No announcement yet.

load certain sections not whole page.

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    load certain sections not whole page.

    Hi All.

    It might have been posted previously but I could not find any relavant issue and it would also be very daft question.

    The website is designed in few templates however to load new page, I have to load whole page again.

    Basically, the each section are same apart from the middle bit (top menu will be same, the left hand side panel and right hand side panel are same).

    Is there any chance I could just load the middle bit like the frame function in dreamweaver? - it is only bandwidth concern.

    #2
    there was a recent thread about AJAX whereby a certain <div></div> was dynamically loaded as required. - this being the modern equivilent of frames

    Frames are frowned upon so you might need to look elsewhere.
    alternative is to look at iframes.

    What you need to do is offset the bandwidth concern with the managability of the whole thing. - I also question how google and the like will handle the dynamic bits of the <div>

    Comment


      #3
      I wouldn't worry about bandwidth in this case.

      Any images, css menus, etc that are common to pages will already be stored in the browsers cache. The only things that will get loaded again are the pages html, which should be reasonable small, and the fresh content and images that are new to that page.

      Using frames, etc isn't going to save you much bandwidth.

      Mike
      -----------------------------------------

      First Tackle - Fly Fishing and Game Angling

      -----------------------------------------

      Comment


        #4
        Originally posted by olderscot
        I wouldn't worry about bandwidth in this case.

        Any images, css menus, etc that are common to pages will already be stored in the browsers cache. The only things that will get loaded again are the pages html, which should be reasonable small, and the fresh content and images that are new to that page.

        Using frames, etc isn't going to save you much bandwidth.

        Mike
        In fact, it may not be small pages and top bit and left & right bit would be fairly big contents as well. (Just try to redesign few bits and have few images & small movie as well.)

        That is the reason why the frame function was come to my idea.

        I will probably think about other way around....

        Comment


          #5
          Most of your pages are about 400kB, which is quite large. Of that only about 70-80kb is for scripts, css and html - the balance is for your images.
          You could optimise these images more:
          Code:
          http://www.pnagames.co.uk/acatalog/shopping-cart-bottom.png	75 KB
          http://www.pnagames.co.uk/acatalog/top-BG2.gif	61 KB
          http://www.pnagames.co.uk/acatalog/top-bg.gif	55 KB
          http://www.pnagames.co.uk/acatalog/shopping-cart-top.png	41 KB
          http://www.pnagames.co.uk/acatalog/payments.gif	30 KB
          http://www.pnagames.co.uk/acatalog/free-delivery2.gif	28 KB

          Comment

          Working...
          X