How the content is shown in the right div when clicked on link in left side nav

Discussion in 'HTML & Website Design' started by palyam, Nov 9, 2006.

  1. #1
    Hi,
    I was going thru this website and didn't understand how they are doing.
    Leftside div has nav with href set to html pages. But they are not showing any target attribute. So how is it showing up in right - content div.
    No iframes or any thing else used.

    http://www.projectseven.com/tutorials/accessibility/pop_integrated/pmmsite/country_caz/jeans.htm

    I need to know the technique they used, because I have similar requirement.
    I appreciate your response.

    I checked view/source. That is how I got a doubt that they are not using any target.



    Thanks,
    Palyam
     
    palyam, Nov 9, 2006 IP
  2. dalster44

    dalster44 Active Member

    Messages:
    722
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #2
    I have a website that does the same.

    I believe it is because the template for the site is already loaded so when you click a link just the text is really changing on the new page.
     
    dalster44, Nov 9, 2006 IP
  3. allreal

    allreal Peon

    Messages:
    33
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Id be curious to know also. Loads real quick.
     
    allreal, Nov 9, 2006 IP
  4. palyam

    palyam Peon

    Messages:
    16
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Hi,

    Thanks both of you for the reply.

    dalster44 - I didn't understand what exactly you are trying to say.
    If you don't maind, can you be more elaborative. I think, I understood little bit. Each html page is created with navbar and right div. So on any page,
    any link is clicked, the new whole html page is loaded but we can't make out the difference. If that is the case, if there are 15 list items, so 15 pages are created with both navigation bar & content ?

    I appreciate your response.

    Thanks,
    Palyam
     
    palyam, Nov 9, 2006 IP
  5. dalster44

    dalster44 Active Member

    Messages:
    722
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    60
    #5
    Look at my website www.snowmobilingontario.com

    Click on the link "Snowmobile Safety" is this what you mean?

    I believe its done with "css" like div id="wrapper"

    In the style sheet "wrapper" loads the background url (template)

    Looks something like this:
    Sorry I'm not good at explaining, maybe ask in the "CSS" section here at DP to find more about the "Wrapper" id.
     
    dalster44, Nov 9, 2006 IP