Updating set of links with bullets beside them the easy way on multiple pages?

Discussion in 'HTML & Website Design' started by Edz, Feb 10, 2006.

  1. #1
    What i would like to know is how i can do the following,

    A set of links with bullets,

    * link1
    * link2
    * link3
    * link4
    * link5

    View the asterix as a bullet like an arrow or dot or something and the links as descriptions of articles.

    If i want these descriptions on all pages or a lot of pages and i need to add another description that contains a link as described above i need to make a lot of changes depending of course on the amount of pages.

    This could grow into numbers that it would be difficult to manage by hand coding every page, the efforts to do this would be impractical.

    Therefor i need a simpler solution for this upkeep dillemma.

    PHP include function is the one thing that comes to mind but what i would like to know is how to combine this with a bullet.

    So that when i add a description a bullet in the form of a dot or arrow is automaticly added as well?
     
    Edz, Feb 10, 2006 IP
  2. my44

    my44 Peon

    Messages:
    722
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Not sure what program can ensure the bullet will add up.

    But you can add the bullet manually in the original/source page when you add new links, then use the PHP include function to call this original/source page into other pages.
     
    my44, Feb 10, 2006 IP
  3. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hmm, sort of two seperate include files? Could be a solution :)
     
    Edz, Feb 10, 2006 IP
  4. mdvaldosta

    mdvaldosta Peon

    Messages:
    4,079
    Likes Received:
    362
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Yes, put the html for the links in a separate file on your server, then call that file on the other pages wherever you want the links to appear. Then, if you make a change in that file it will reflect on all the pages calling it. I do this for the header, navigation, and footer of all my sites.
     
    mdvaldosta, Feb 10, 2006 IP
  5. Edz

    Edz Peon

    Messages:
    1,690
    Likes Received:
    72
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Ok guys this is the code i use to display the link in any form i may choose regarding description.

    How do i make the displayed text black and in bold and font size 8 ?

    Also how do i use this function for images...like the bullets i want to place before each description?
     
    Edz, Feb 10, 2006 IP