this sounds wierd - how to makes pages 1,2, 3, 4 etc...

by IMDESTROYER Banned
5 replies
  • WEB DESIGN
  • |
i am not new to web dvelopment, i have always just developed navigation menus. My question is, i am developing a site right now and i need to make pages in a numbered order.

This isnt the problem, the prblem is when i add on to the site and make more pages, how do i got about structuring everything. Do i literally have to manuelly re-number each page as i add on to the site.


I will only be using html and css - is it allot easier to have a database like php or .net?
#makes #pages #sounds #wierd
  • Profile picture of the author Brandon Tanner
    Why do you want to "number" your pages? You can name them whatever you want. Then you simply interlink them together using the <a> tag.

    For example, if your home page is named "index.html" and you want it to link to a page in the same directory named "otherpage.html", then put this on your home page...

    <a href="otherpage.html">Click here to go to otherpage</a>

    Or maybe I didn't understand your question correctly and you want to do something else??
    Signature

    {{ DiscussionBoard.errors[8322904].message }}
  • Profile picture of the author Edge360
    Could you clarify your question a little further? I'm not quite sure I understand...
    {{ DiscussionBoard.errors[8322998].message }}
  • Profile picture of the author RobinInTexas
    Originally Posted by IMDESTROYER View Post


    I will only be using html and css - is it allot easier to have a database like php or .net?
    If you understand php, it might be much easier to divide the pages into sections that all, or many, pages have in common, like the header, nav, footer and separate sections for individual page content.

    Still if you have 1, 2, 3, 4, 5 and you add a new one between 2 and 3, you will need a scheme to renumber the old 3, 4 and 5 which might better be handled by a complete cms.
    Signature

    Robin



    ...Even if you're on the right track, you'll get run over if you just set there.
    {{ DiscussionBoard.errors[8324174].message }}
    • Profile picture of the author IMDESTROYER
      Banned
      Originally Posted by RobinInTexas View Post

      If you understand php, it might be much easier to divide the pages into sections that all, or many, pages have in common, like the header, nav, footer and separate sections for individual page content.

      Still if you have 1, 2, 3, 4, 5 and you add a new one between 2 and 3, you will need a scheme to renumber the old 3, 4 and 5 which might better be handled by a complete cms.
      thank you, that was the answer i was looking for
      {{ DiscussionBoard.errors[8328962].message }}
  • Profile picture of the author Andrew H
    Well if your using html, which is static, yes you will have to manually create each page - 1.htm, 2.html, 3.html (or I suppose you could put it all one one page and tab through it with jquery).

    If your trying to do what I think - pagination - you really should be using PHP and storing your data in a database. If you use a PHP framework like Laravel it has pagination included. Or you can just find a class for this - Pagination with a PHP class - David Carr - Web Developer Hull
    Signature
    "You shouldn't come here and set yourself up as the resident wizard of oz."
    {{ DiscussionBoard.errors[8324517].message }}

Trending Topics