Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2007
    Posts
    51
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Multiple HTML pages linked together

    I am hoping to link multiple pages together.

    I want to have a main index page, and within that page, the banner and navigation at the top ( the first html page).

    The news at the bottom ( the 2nd page)

    I want to do this so that I can have links to (news page 2,3,4,5,6,etc) without having to reload the flash intro for the banner.

    Is this possible? Can I link the page so the header does not reload?

    Thanks in advance,
    Josh

  • #2
    Senior Coder ahallicks's Avatar
    Join Date
    May 2006
    Location
    Lancaster, UK
    Posts
    1,134
    Thanks
    1
    Thanked 57 Times in 55 Posts
    You can do one of a number of things:

    Use javascript. There are various methods of creating a 'tabbed' kind of layout with content switching, google it. But with this method bear in mind that not everyone has javascript enabled. There is a nice way that uses CSS instead, or javascirpt if you want transitions, look it up (I'll find the link later).

    You could use frames, but that would require a frameset doctype and I don't know anything about, and prefer to steer clear of frames. Or you could simply create a non-flash version of the banner to be used in the other pages that aren't the home page?
    "write it for FireFox then hack it for IE."
    Quote Originally Posted by Mhtml View Post
    Domains are like women - all the good ones are taken unless you want one from some foreign country.
    Reputation is your friend

    Development & SEO Tools

  • #3
    Regular Coder
    Join Date
    May 2005
    Posts
    563
    Thanks
    0
    Thanked 3 Times in 3 Posts
    AJAX could reload the html page and change the html of the div that contains the news.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •