need help, HTML !!!

Discussion in 'Programming' started by tinycoin, Jun 15, 2008.

  1. #1
    hi everyone,
    I want to create a site on HTML code.

    my site will have 4 parts: 1 header, 1 left (for Menu Nav), 1 footer and 1 Main content.

    Because header,left,footer are not change too much (only edit when I need to add more page), I want my site only load body Content when visitor click on the link (not load header,left,footer code again)

    if I put all the code in 1 page for 1 article, when visitor go to another article , they will load these code again. it waste time for waiting.

    I use this template

    http://babegamer.com/test/

    Help me!!
     
    tinycoin, Jun 15, 2008 IP
  2. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #2
    do some research on "ajax page loading"
     
    crath, Jun 15, 2008 IP
  3. egoldseller

    egoldseller Guest

    Messages:
    213
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hello My Friend !

    I'll help you to do that ;

    - the first thing place this code into you content :

    
    
    <div><iframe align="middle" allowtransparency="yes" frameborder="0" scrolling="auto" src="your-first-page.html" width="200" height="200" [B]name="browse" [/B]></iframe>
    					<div>
    
    PHP:
    - now after doing that the important thing is calling frame by his name look below :

    this is a link :

    
    <a href="page1.html" [B]target="browse" [/B]class="menu">my page</a>
    
    PHP:
    dont forget to add : target="browse" , in each Href links or button,

    for more detail or any other thing , MP ,

    I'll be happy to help you

    you can see this website : www.csphennaya.com , its in Arabic language , but you cant translate it into English , you will find this method in it (i means frame)

    bye :)
     
    egoldseller, Jun 15, 2008 IP
  4. egoldseller

    egoldseller Guest

    Messages:
    213
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Remove the :

    its due to using insert PHP code in DP
     
    egoldseller, Jun 15, 2008 IP
  5. crath

    crath Well-Known Member

    Messages:
    661
    Likes Received:
    33
    Best Answers:
    0
    Trophy Points:
    100
    #5
    in both his first and second codes, remove the [ b ] and [/ b] (without spaces)

    seems to be some kind of bug
     
    crath, Jun 15, 2008 IP
  6. tinycoin

    tinycoin Active Member

    Messages:
    560
    Likes Received:
    6
    Best Answers:
    0
    Trophy Points:
    58
    #6
    thank for help, guys
    iframe will make the page load lower :(
    will Ajax load faster?
     
    tinycoin, Jun 15, 2008 IP