html menu problems

This is a discussion on "html menu problems" within the Web Page Design section. This forum, and the thread "html menu problems are both part of the Design Your Website category.


 Subscribe in a reader

Go Back   Webforumz.com > Main Forums > Design Your Website > Web Page Design

Notices




Closed Thread
 
LinkBack Thread Tools
  #1  
Old Feb 29th, 2004, 09:32
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
html menu problems

I am making a webpage and have run into a problem. The site has a menu list that I want to be on each webpage. The problem is each time I add a new item to the menu or change an item I would have to go through every other webpage and change the menu on those to. How can I make it so I can use that one page, and just update that page so it will apply to all other pages. Can it be done without frames?[:
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!

  #2  
Old Feb 29th, 2004, 09:53
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
I think the answer here is to use server side includes (SSI). This will be easy for you if you have ASP/JSP/PHP or other scripting languages available on the server.

Failing that, then I'm afraid you are gonna be stuck with either referencing a javascript (to write out the menu) or frames..... both of which are an extremely BAD idea.

SSI is the way to go.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #3  
Old Feb 29th, 2004, 10:14
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
If your server doesn't support SSI, but you do have Dreamweaver, then you can also use Dreamweaver templates. This allows you to modify the template and then dreamweaver changes all the pages in your site for you.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #4  
Old Feb 29th, 2004, 13:04
Reputable Member
Join Date: Aug 2003
Location: Singapore
Posts: 321
Thanks: 0
Thanked 0 Times in 0 Posts
What you could do is to have the javascript made into a .js file which reduces the hassle of "copying and pasting" code. Then all you have to do for the menu is to just 'copy and paste' the code. Another method is to make the menu Flash, so all you need is some code to tell the browser to load your flash movie.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #5  
Old Feb 29th, 2004, 21:11
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Thanks for all the suggestions. I have tried SSI, but it doesn't work for me. I am designing this page on my home computer so i'm not sure if SSI or shtml would work for me. I guess the next thing I should try if javascript, but I have no idea where to begin. Does anyone know how to update multiple pages with javascript? It seems so easy in SSI, a shame it doesn't work.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #6  
Old Feb 29th, 2004, 21:45
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I got it working with javascript, but im not sure if this would be the best way to do it. What if someone doesnt have javascript working, then they wouldn't be able to navigate the site. Is there another way or is javascript the best way?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #7  
Old Mar 1st, 2004, 00:41
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
javascript is a 'LAST' resort.... search engines can't spider your site with javascript navigation.

SSI is really the best option.... try and get it going.
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #8  
Old Mar 1st, 2004, 00:51
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Can SSI work on a home computer? I followed a guide on how to use SSI, but it doesn't work for me. I'm not sure how to check if my computer supports it. I'm also not sure if my ocmputer supports shtml either.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #9  
Old Mar 1st, 2004, 16:05
benbacardi's Avatar
Highly Reputable Member
Join Date: Feb 2004
Location: United Kingdom
Age: 20
Posts: 611
Thanks: 0
Thanked 0 Times in 0 Posts
so what is so bad about javascript menus?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #10  
Old Mar 1st, 2004, 16:27
Rob's Avatar
Rob Rob is offline
Webforumz Founder
Join Date: Jul 2003
Location: Southern UK
Age: 34
Posts: 3,186
Blog Entries: 7
Thanks: 27
Thanked 23 Times in 20 Posts
to answer that question (again), i'll just quote myself:-<blockquote id="quote"><font size="1" face="geneva, verdana, arial" id="quote">quote:<hr height="1" noshade id="quote">javascript is a 'LAST' resort.... search engines can't spider your site with javascript navigation.<hr height="1" noshade id="quote"></blockquote id="quote"></font id="quote">
__________________
Click the 'Thanks!' button if this post has helped you

Rob - Webforumz Founder
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #11  
Old Mar 1st, 2004, 20:39
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
chobo - The answer to your question depends entirely on what server you're running. IIS or apache or another?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #12  
Old Mar 1st, 2004, 21:28
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I'm not running any server I haven't uploaded my site to any hosting services yet. Right now it's just on my home computer with winxp pro running. I was looking around for another way to make my website "dynamic". It has to do with renaming my index.html -> index.php and making some include.headers and footer files. I'm not sure on exactly how to do this yet. But I think the concept behind it is to make one page a master template with which you can change, and control the layout for all you pages through that one page. As for the fonts, colors etc that is handled through CSS.

If anyone knows exactly how to use php to create a template could you please show me an example. Other sites I have found tend to leave out some stuff that newbs like myself can't pick up on.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #13  
Old Mar 1st, 2004, 22:35
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, to use PHP or SSI (SHTML) you would have to install a server such as IIS or apache.

IIS is much easier on Windows XP Pro. You can install it by going to add/remove programs > add/remove windows components and selecting Internet Information services and pressing next, etc.

IIS automatically runs ASP which is similiar to PHP and can do basic include statements like SSI as well as far more complex coding. This site (webforumz) for example, runs on ASP.

Alternatively you can get some webspace that supports the language of your choice.

Once you've decided which avenue you want to go down, let us know and we'll help you further.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #14  
Old Mar 2nd, 2004, 03:03
Junior Member
Join Date: Feb 2004
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
I installed IIS like you said. I then tested that SSI example from a website, and it still doesn't work. Is there something else I need to do after I install IIS?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
  #15  
Old Mar 2nd, 2004, 07:47
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I don't know if SSI works by default on IIS - Guys? Help me here!

If not then you'll have to use ASP includes instead.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Closed Thread

Tags
html, menu, problems

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Menu problems CSS danny322 Web Page Design 1 Feb 22nd, 2008 19:49
Problems with flash menu in FF afowler Web Page Design 4 Dec 19th, 2007 15:04
Problems with menu Francesca15 Web Page Design 2 May 10th, 2007 15:19
Menu problems in IE7 alsdevelopments Web Page Design 6 Apr 5th, 2007 15:57
Drop down menu problems matelo JavaScript Forum 0 Jan 16th, 2006 16:48


All times are GMT. The time now is 04:01.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42