+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 21 of 21
Web Development Thread, Menu on everyweb page. in Coding and Web Development; I'm being really thick here (HTML and Web stuff is not my speciality) but are HTML tags just anything in ...
  1. #16
    Quackers's Avatar
    Join Date
    Jan 2006
    Location
    Staffordshire
    Posts
    1,086
    Thank Post
    32
    Thanked 85 Times in 73 Posts
    Rep Power
    41

    Re: Menu on everyweb page.

    I'm being really thick here (HTML and Web stuff is not my speciality) but are HTML tags just anything in between <html> and </html> ?

    So should i be modifying the menu or the default.asp?

  2. IDG Tech News
  3. #17

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,330
    Blog Entries
    2
    Thank Post
    604
    Thanked 900 Times in 630 Posts
    Rep Power
    296

    Re: Menu on everyweb page.

    In essence, an HTML tag (or "element") is a word enclosed in angled brackets.

    The <html> is just the starting tag saying that the document is an HTML page, and is ended with the </html> tag.

    Each page has a structure, basically:

    Code:
    <html>
    <head>
    ...
    </head>
    <body>
    ...
    </body>
    </html>
    Everything between the <head> and </head> aren't displayed on the actual page, but can affect it's look and functionality (such as styles and title etc).

    Since your pages already have the HTML tags in them, they shouldn't be declared again when you "include" the menu. All you are doing is injecting the contents of menu.html into the page when it is loaded.

    As the menu doesn't need to be loaded on its own it doesn't need the HTML, head and body tags.

  4. #18
    Quackers's Avatar
    Join Date
    Jan 2006
    Location
    Staffordshire
    Posts
    1,086
    Thank Post
    32
    Thanked 85 Times in 73 Posts
    Rep Power
    41

    Re: Menu on everyweb page.

    Thanks webman, deleted what you said and it works now I've stopped smashing things in my office now.

  5. #19
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    989
    Thank Post
    192
    Thanked 39 Times in 32 Posts
    Rep Power
    25

    Re: Menu on everyweb page.

    I wish I'd seen this thread a few months ago, or I'd started it. This is just what I need.

    I manage a modest web site for our local CAMRA branch, but it's a real pain putting the same heading, menu and footer on each page and managing them. I always wondered how professionals did it. Viewing the code for others' pages just shows the one html file, like the menu had been put there manually.

    I've just learnt CSS. Looks like it's time to start on PHP, and upgrade the hosting.

  6. #20

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,330
    Blog Entries
    2
    Thank Post
    604
    Thanked 900 Times in 630 Posts
    Rep Power
    296

    Re: Menu on everyweb page.

    Good to hear you got it sorted... site's looking quite good by the way

    Simple server-side templating works wonders

  7. #21

    Join Date
    Sep 2005
    Location
    Leicester, UK
    Posts
    131
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Menu on everyweb page.

    Forget my response im being thick.
    matt

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Create menu & sub-menu with Edugeek Joomla
    By FN-GM in forum EduGeek Joomla 1.0 Package
    Replies: 24
    Last Post: 8th December 2007, 11:48 PM
  2. menu
    By russdev in forum General EduGeek News/Announcements
    Replies: 0
    Last Post: 16th April 2006, 06:00 PM

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
  •