Using HTML editor 2008 - Post ID 85839

User 603554 Photo


Registered User
8 posts

I'm putting together an 8 page web site. I have created many 1 page web sites in the past, but haven't done a web site with 2 or more pages. I created the 1 page sites and uploaded the index.html files. I'm not sure how to do more than 1 page. Can someone tell me what I need to do? I appreciate any help. Thanks.
User 122279 Photo


Senior Advisor
14,648 posts
Online Now

The next pages after index.html can be named according to your needs, like 'contact.html', 'gallery.html', 'about.html' etc. Just make sure that you give them a single word name, or if you have something like 'my_family.html', use the underscore between words.

Then you need to make some kind of navigation between the pages. CoffeeCup has two applications to make navigation menus, DHTML Menu Builder, which is free, and Flash Menu Builder, which costs a small amount. You need to place the menu on each of your pages in order to let the readers navigate back and forth. (There are ways to make the menu as a separate file and link to it from your pages, but without knowing your level of html skill, I don't want to go into that).
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 603554 Photo


Registered User
8 posts

Inger,

Thanks for your help. I know some HTML coding, but it's mainly HTML for page appearance purposes. I've never had to get pages to link together or anything like that.

I'll download DHTML menu builder.
Thanks again.
Tom
User 122279 Photo


Senior Advisor
14,648 posts
Online Now

Hi Tom,

With the DHTML Menu Builder it's worth while to make the menu as a separate file, as I mentioned above. Read this article on how to do it:

http://www.coffeecup.com/help/articles/ … n-my-page/

The advantage is that if you need to change something in the menu, you don't have to update every page of your site, just the one .js file.

And also, make sure you save your menu to a .mnu file (default for DHTML menu builder). Then you can re-open the menu in the programme and do any alterations/updates there instead of having to search the .js file for the right variables to change.

At the same location as above, http://www.coffeecup.com/help/articles/ you can find more useful help on DHTML or any other CC application.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 603554 Photo


Registered User
8 posts

Hi Inger,

I downloaded DHTML Menu Builder and built a menu. It looks great, but I have 2 problems. I want my menu to show under a picture I have at the top of each page of my site. It comes in above the picture. Even when I change the HTML coding to have the pic above the menu, the picture still is seen below the menu.

The second problem is width. With different browsers, I'll have different widths on different monitors. I have 6 menu items (I put in 178 for each width which seemed to work good initially), and I'm trying to make sure my menu bar stays at the same width as the rest of my site. Is there an option to make each menu width a percentage of width instead of specific pixel width?

Any suggestions?

Thanks again for all of your help.
Tom
User 122279 Photo


Senior Advisor
14,648 posts
Online Now

Here is an article on the positioning of the DHTML menu:

http://www.coffeecup.com/help/articles/ … tml-menu/.

There is one mistake in the article; the last sentence saying that you can't put the menu into a table cell. You can if you stick it in between <span></span> tags. Here is an example of something I used a while ago:

<span id="mainmenu">
<script language="javascript" src="mainmenu.js" type='text/javascript'>

</script>

</span>

In the editable part of your menu script, locate this line:

var TargetLoc='mainmenu'; // span id for relative positioning

It's 9 lines above the end of the editable part. You'll see that I have called the menu I created 'mainmenu.js', and in the TargetLoc variable I have inserted that file name.

If you have a horizontal menu that you want to center on the page, just center the whole span.

It is not possible to use %-ages instead of fixed widths for the menu buttons.
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com



Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.