+ 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
    Posts
    1,311
    Thank Post
    40
    Thanked 141 Times in 116 Posts
    Rep Power
    53

    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. #17

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    638
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    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.

  3. #18
    Quackers's Avatar
    Join Date
    Jan 2006
    Posts
    1,311
    Thank Post
    40
    Thanked 141 Times in 116 Posts
    Rep Power
    53

    Re: Menu on everyweb page.

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

  4. #19
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,013
    Thank Post
    198
    Thanked 42 Times in 34 Posts
    Rep Power
    30

    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.

  5. #20

    webman's Avatar
    Join Date
    Nov 2005
    Location
    North East England
    Posts
    8,403
    Thank Post
    638
    Thanked 961 Times in 661 Posts
    Blog Entries
    2
    Rep Power
    319

    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

  6. #21

    Join Date
    Sep 2005
    Location
    Leicester, UK
    Posts
    123
    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
  •