.com.unity Forums
  The Official e-Store of Shrapnel Games

This Month's Specials

Raging Tiger- Save $9.00
winSPMBT: Main Battle Tank- Save $5.00

   







Go Back   .com.unity Forums > Shrapnel Community > Space Empires: IV & V

Reply
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 10:35 AM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: OT: html help

I like the title of this topic!, I'll hijack this thread when your problem is solved, as I need help creating HTML help files
Reply With Quote
  #2  
Old May 25th, 2004, 10:47 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: OT: html help

Narf: You need to use the TARGET attribute in your A tags. To take an example from your own code, you created a frame with the name "nav". You can use this name to direct links to that frame, for instance:

code:
<A HREF="new_nav_menu.htm" TARGET="nav">click here to see the other navigation menu</A>

You can also use the special target called "_top" to replace the entire frameset, like this:

code:
<A HREF="full_page.htm" TARGET="_top">click here to see a full page document with no frames.</A>

Of course, you could include FRAMESET tags in full_page.htm if you wanted, and create a brand new frameset.

You should always use target= when you're dealing with frames, otherwise all sorts of unexpected things can happen.

Oh, and I've just looked again at your source and it seems you are only creating one frame, the one called "nav". That is probably part of the problem- less than two kind of defeats the object. (Probably best to start with just two until you get used to it.)

Ruatha, what's the trouble?

[ May 25, 2004, 09:48: Message edited by: dogscoff ]
Reply With Quote
  #3  
Old May 25th, 2004, 12:01 PM
minipol's Avatar

minipol minipol is offline
Second Lieutenant
 
Join Date: Jul 2002
Location: Belgium
Posts: 558
Thanks: 0
Thanked 0 Times in 0 Posts
minipol is on a distinguished road
Default Re: OT: html help

And if you *really* want to do the right thing, you should drop frames alltogether and use divs.
A lot of people use tables but it's not the recommended way of handling layout.
Anyway, divs can be tricky and it takes time to learn how to work with them so in case you don't have time to learn it just stick with what you already know and use frames.
Other tips regarding style/html correctness:
* limit the number of fonts
* limit the number of colors used
* use a tool to check your html code
http://validator.w3.org/
* use htmltidy to tidy up your code
* use a second browser besides IE to see how HTML compliant your code is. For instance firefox:
http://www.mozilla.org/products/firefox/
* if you want to use a free html editor, check out 1st page 2000:
http://www.evrsoft.com/

Keeping this in mind, you'll design pages that won't make people barf on sight. Maybe they'll barf if they read the content bu that's entirely up to you

Oh and your main page, you forgot to close the html and body tag
__________________
A Se++ GdY $++ Fr+ C++++ Csc Sf++ Ai** AuO M MpT MpSk MpFd S--- Ss- RV Pw Fq Nd- Rp- G Mm++ Bb++ Tcp+ L++
Reply With Quote
  #4  
Old May 25th, 2004, 12:56 PM
Ruatha's Avatar

Ruatha Ruatha is offline
Major General
 
Join Date: May 2002
Location: Linghem, Östergötland, Sweden
Posts: 2,255
Thanks: 0
Thanked 0 Times in 0 Posts
Ruatha is on a distinguished road
Default Re: OT: html help

Dogscoff>
I was about to write the help files for the SE4 companion, when I see that most help files today are made of HTML? files instead of .HLP files.
Seems to be something about CHM and Rich Text Format???

Looked at some freeware help writing programs but I don't have a clue as to what to do...Honestly though, I've only looked at it for about 2-3 minutes so I guess I shouldn't be shouting for help already...
It's just that I thought it'd be easy, sigh, nothing ever is....
Reply With Quote
  #5  
Old May 26th, 2004, 01:57 AM
dogscoff's Avatar

dogscoff dogscoff is offline
General
 
Join Date: Mar 2001
Location: UK
Posts: 4,245
Thanks: 0
Thanked 0 Times in 0 Posts
dogscoff is on a distinguished road
Default Re: OT: html help

Ruatha: I woudn't know, but html is a sensible choice for help files since it has all the features you're likely to need (image support, basic layout, hyperlinking) and is universal- ie can be used on pretty much any machine anywhere with the need for any special software.

Easy to edit too.
Reply With Quote
  #6  
Old May 25th, 2004, 03:11 PM
Gandalf Parker's Avatar

Gandalf Parker Gandalf Parker is offline
Shrapnel Fanatic
 
Join Date: Oct 2003
Location: Vacaville, CA, USA
Posts: 13,736
Thanks: 341
Thanked 479 Times in 326 Posts
Gandalf Parker is on a distinguished road
Default Re: OT: html help

Definetly html help files are a good idea. But dont look for a fancy writer then try to insert the help. Write the help files then insert the html. I think the effect is better. My personal preference for writing web pages is using Paint and Notepad
__________________
-- DISCLAIMER:
This game is NOT suitable for students, interns, apprentices, or anyone else who is expected to pass tests on a regular basis. Do not think about strategies while operating heavy machinery. Before beginning this game make arrangements for someone to check on you daily. If you find that your game has continued for more than 36 hours straight then you should consult a physician immediately (Do NOT show him the game!)
Reply With Quote
  #7  
Old May 25th, 2004, 08:55 PM
Fyron's Avatar

Fyron Fyron is offline
Shrapnel Fanatic
 
Join Date: Jul 2001
Location: Southern CA, USA
Posts: 18,394
Thanks: 0
Thanked 12 Times in 10 Posts
Fyron is an unknown quantity at this point
Default Re: OT: html help

I suggest a real text editor, such as Metapad or Editplus, over Notepad. Syntax highlighting works wonders.
__________________
It's not whether you win or lose that counts: it's how much pain you inflict along the way.
--- SpaceEmpires.net --- RSS --- SEnet ModWorks --- SEIV Modding 101 Tutorial
--- Join us in the #SpaceEmpires IRC channel on the Freenode IRC network.
--- Due to restrictively low sig limits, you must visit this link to view the rest of my signature.
Reply With Quote
Reply

Bookmarks


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 On

Forum Jump


All times are GMT -4. The time now is 07:29 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©1999 - 2025, Shrapnel Games, Inc. - All Rights Reserved.