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

This Month's Specials

BCT Commander- Save $5.00
winSPWW2- Save $5.00

   







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

Reply
 
Thread Tools Display Modes
  #1  
Old May 25th, 2004, 03:48 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default OT: html help

Could someone take a look at my website source and tell me what I'm doing wrong with the frames thing? Link's in my sig.

Man, reading Batman:Gothic twice is definitally a mistake. *Shudder*

[ May 25, 2004, 02:49: Message edited by: narf poit chez BOOM ]
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #2  
Old May 25th, 2004, 04:26 AM
Jack Simth's Avatar

Jack Simth Jack Simth is offline
Major General
 
Join Date: Oct 2002
Posts: 2,174
Thanks: 0
Thanked 0 Times in 0 Posts
Jack Simth is on a distinguished road
Default Re: OT: html help

For one, keep your style consistent; don't specify a pixel size for the first frame and a percent size for the second - possibly a non-issue, but could be a problem.

For two, you can't bury regular HTML into a standard framing page and have it work right - everything below the /framset tag is going to be ignored (barring the extremely rare browser that doesn't support frames), so none of it will show up - you need to build a different web page to bury that stuff in, and have your framing page refer to it.

For three, is it my imagination, or is that second frame recursive (points to the main frame page)? That could cause some serious problems for any browser that doesn't notice - it could just keep subdividing the frame, caught in an infinite loop.
__________________
Of course, by the time I finish this post, it will already be obsolete. C'est la vie.
Reply With Quote
  #3  
Old May 25th, 2004, 09:28 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

Everything he said.
Try cutting everything after (and including) the body tag in test[1].html and pasting it into test.html - that should give you some results you can work with.

Alternately, google for html tutorials & beginner's guides. Web tutorials are great, they've taught me everything I know about html, css and javascript. (although you've ever seen my javascript, you wouldn't consider that much of an endorsement.)

Even alternativelier, get yourself a web-design package. You can get some great pointy-clicky wysiwyg web design things that will build all the html for you.

never really used 'em myself (notepad man myself) but I know many ppl who swear by them, and their sites usually look better than mine. I've heard great things about Dreamweaver, but I have a feeling that's quite expensive. There are probably some decent freeware ones available.

[ May 25, 2004, 08:45: Message edited by: dogscoff ]
Reply With Quote
  #4  
Old May 25th, 2004, 10:30 AM
narf poit chez BOOM's Avatar

narf poit chez BOOM narf poit chez BOOM is offline
Shrapnel Fanatic
 
Join Date: Mar 2003
Location: CHEESE!
Posts: 10,009
Thanks: 0
Thanked 7 Times in 1 Post
narf poit chez BOOM is on a distinguished road
Default Re: OT: html help

ok, I got it half-way there when I load it from the desktop as it puts the menu on the left, but loads over the whole page when I switch to two, but when I load it as a webpage it does the same thing as before. I don't understand, as I'm using the same browser for both.

[ May 25, 2004, 09:30: Message edited by: narf poit chez BOOM ]
__________________
If I only could remember half the things I'd forgot, that would be a lot of stuff, I think - I don't know; I forgot!
A* E* Se! Gd! $-- C-^- Ai** M-- S? Ss---- RA Pw? Fq Bb++@ Tcp? L++++
Some of my webcomics. I've got 400+ webcomics at Last count, some dead.
Sig updated to remove non-working links.
Reply With Quote
  #5  
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
  #6  
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
  #7  
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
  #8  
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
  #9  
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
  #10  
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

Thread Tools
Display Modes

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 12:59 PM.


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