www.webdeveloper.com
Results 1 to 4 of 4

Thread: Load next .html in directory

  1. #1
    Join Date
    Jun 2007
    Posts
    15

    Load next .html in directory

    Hi all

    I'm putting together a website that will have many pages (up to 30) in different directory's. I'd like users to be able to navigate between the pages in each directory by clicking next / previous buttons.

    Is there a way to code link paths in html to load the next/previous page in a directory without having to type absolute or relative links in each of them.

    e.g clicking next loads page2.html / clicking next again loads page3.html

    Or should I be looking at javascript for a solution...

  2. #2
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    At least 98% of internet users' DNA is identical to that of chimpanzees

  3. #3
    Join Date
    Apr 2011
    Posts
    1
    Is there a possibility to do it with .html files?

  4. #4
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    Without a server-side language?
    Either hard code the html or use JavaScript.
    At least 98% of internet users' DNA is identical to that of chimpanzees

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

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



Recent Articles