Emuforums.com

Go Back   Emuforums.com > General Discussion > Web development / Programming
About Us Register FAQ Members List Calendar Mark Forums Read

Login to remove all ads!
Reply
 
LinkBack Thread Tools Display Modes
Old December 7th, 2001   #1 (permalink)
The weeping forest
 
Sylvan Sorrow's Avatar
 
Join Date: Apr 2001
Location: not sure, lost
Posts: 1,083
My unfinished webpage

God, this is driving me absolutely NUTS, ok here is what I am trying, bear with me here everyone, all HTML I Know is self-taught (ok, I did take a class on it, but teacher went so slowly I still ended up teaching myself everything before she got there)

I have a menu made already for my page, what I want to do is to have my actual content show up just left of the menu, WITHOUT the use of frames, as where it shows up above the same BG as my menu (WITHOUT having to copy and p[aster the menu code to each and every HTML page I make). Don't know if this makes any sense to you, but its the best I can explain it at 3am. Now, I have some ideas as what I need to learn in order to do this, but Im not sure what I need exactly, my 4 ideas where.

Some DHTML
Layering
SSS (server side scripting)
Client side scripting I haven't figured out how to do yet (I don't think its this one)

Now if anyone knows EXACTLY what I am looking for and has a webpage handy that woill allow me to learn this skill which evades me, PLEASE tell me that URL. And if anyone has a good informative webpage which you THINK has this kind of good info, also, PLEASE TELL ME. (Note: me fav place www.w3schools.com doesn't tell me how to do this at all)
__________________


"Death isn't the handicap it used to be" -Lister, "Red Dwarf"

"I can live through anything, even death, but Ill never get out of life alive."

Thanks to Philia for her really talented drawing of Cecil (past avatar), vister her art thread Here

Check out www.slightlydark.com good non-liscenced game music.

formerly known as Ryoga.

Last edited by Sylvan Sorrow; December 7th, 2001 at 06:35.
Sylvan Sorrow is offline   Reply With Quote
Old December 7th, 2001   #2 (permalink)
Administrator
 
Thorgal's Avatar
 
Join Date: Apr 2001
Location: The Netherlands
Posts: 323
Ok, I'm not sure what you meant exactly, but I do think I can help you out with the "WITHOUT having to copy and p[aster the menu code to each and every HTML page I make" part. It is fairly easy actually, and you can do this in 2 ways: with SSI, or PHP. I won't bore you with the PHP, cause that'd require you to switch over etc. etc. Your server will have to support SSI in order for the other method to work though. You can check with your server's homepage to see if they do, or you just try out this method and see if it works :

- open up your html file with something like notepad;
- cut out the (menu) code you want to include in every webpage you make;
- open up notepad and paste that code in a new file;
- save that file as "menu.inf" in the same dir as where your html file is;
- go back to your html file again, and where the menu code used to be, put the following code:
PHP Code:
<!--#include virtual="menu.inf"--> 
(btw, this isn't really PHP code but I couldn't display it in this post otherwise)
- upload your html file and menu.inf , see if it works
__________________
- Thorgal // Design guru of NGEmu and Emuforums
AthlonXP2200+, 768MB DDR333, Radeon 9700Pro, LG 915FT+, 130gb HD

You think Emuforums looks a bit messy? Don't blame me!
Thorgal is offline   Reply With Quote
Old December 7th, 2001   #3 (permalink)
The weeping forest
 
Sylvan Sorrow's Avatar
 
Join Date: Apr 2001
Location: not sure, lost
Posts: 1,083
so all I have to do is use that line in the body of my HTML pages in some kind of table, and be on a server with SSI, but is there a way to test it from my side when I try it?
__________________


"Death isn't the handicap it used to be" -Lister, "Red Dwarf"

"I can live through anything, even death, but Ill never get out of life alive."

Thanks to Philia for her really talented drawing of Cecil (past avatar), vister her art thread Here

Check out www.slightlydark.com good non-liscenced game music.

formerly known as Ryoga.
Sylvan Sorrow is offline   Reply With Quote
Old December 7th, 2001   #4 (permalink)
dn
Administrator
 
dn's Avatar
 
Join Date: Oct 2001
Location: London, England
Posts: 1,100
* dixon points to http://www.ngemu.com/forums/showthre...&threadid=7773

There is some info there on how to run script from your own comp, without going online - basically, u need a webserver (such as apache) and php and mysql and perl to get most scipts running
__________________
“A commonplace man marvels at uncommon things; a wise man marvels at the commonplace” - Confucius
dn is offline   Reply With Quote
Old December 8th, 2001   #5 (permalink)
CD
Gunslinger
 
CD's Avatar
 
Join Date: Apr 2001
Location: Mid-World
Posts: 964
He'd need to find an SSI module for win32 as well, though.. I believe there's a mod_ssi for apache, rather than a standalone lib..
__________________
The man in black fled across the desert, and the gunslinger followed...
CD is offline   Reply With Quote
Old December 10th, 2001   #6 (permalink)
The weeping forest
 
Sylvan Sorrow's Avatar
 
Join Date: Apr 2001
Location: not sure, lost
Posts: 1,083
another question, should I keep the java script in the head section of the html file, or in the .inf file for the menu?
__________________


"Death isn't the handicap it used to be" -Lister, "Red Dwarf"

"I can live through anything, even death, but Ill never get out of life alive."

Thanks to Philia for her really talented drawing of Cecil (past avatar), vister her art thread Here

Check out www.slightlydark.com good non-liscenced game music.

formerly known as Ryoga.
Sylvan Sorrow is offline   Reply With Quote
Old December 10th, 2001   #7 (permalink)
The weeping forest
 
Sylvan Sorrow's Avatar
 
Join Date: Apr 2001
Location: not sure, lost
Posts: 1,083
Quote:
Originally posted by Thorgal
Ok, I'm not sure what you meant exactly, but I do think I can help you out with the "WITHOUT having to copy and p[aster the menu code to each and every HTML page I make" part. It is fairly easy actually, and you can do this in 2 ways: with SSI, or PHP. I won't bore you with the PHP, cause that'd require you to switch over etc. etc. Your server will have to support SSI in order for the other method to work though. You can check with your server's homepage to see if they do, or you just try out this method and see if it works :

- open up your html file with something like notepad;
- cut out the (menu) code you want to include in every webpage you make;
- open up notepad and paste that code in a new file;
- save that file as "menu.inf" in the same dir as where your html file is;
- go back to your html file again, and where the menu code used to be, put the following code:
PHP Code:
<!--#include virtual="menu.inf"--> 
(btw, this isn't really PHP code but I couldn't display it in this post otherwise)
- upload your html file and menu.inf , see if it works
That isn't working, it just still shows up there, do I need something in the head of the HTML for it to work? Or so I need to specify a scirpt type?
__________________


"Death isn't the handicap it used to be" -Lister, "Red Dwarf"

"I can live through anything, even death, but Ill never get out of life alive."

Thanks to Philia for her really talented drawing of Cecil (past avatar), vister her art thread Here

Check out www.slightlydark.com good non-liscenced game music.

formerly known as Ryoga.
Sylvan Sorrow is offline   Reply With Quote
Old December 10th, 2001   #8 (permalink)
CD
Gunslinger
 
CD's Avatar
 
Join Date: Apr 2001
Location: Mid-World
Posts: 964
Try changing the file extension to *.shtm or *.shtml, otherwise, if you did do it properly, your server does not support SSI..
__________________
The man in black fled across the desert, and the gunslinger followed...
CD is offline   Reply With Quote
Old December 13th, 2001   #9 (permalink)
The weeping forest
 
Sylvan Sorrow's Avatar
 
Join Date: Apr 2001
Location: not sure, lost
Posts: 1,083
GOD, thats stupid, yep, just had to remane it shtml
__________________


"Death isn't the handicap it used to be" -Lister, "Red Dwarf"

"I can live through anything, even death, but Ill never get out of life alive."

Thanks to Philia for her really talented drawing of Cecil (past avatar), vister her art thread Here

Check out www.slightlydark.com good non-liscenced game music.

formerly known as Ryoga.
Sylvan Sorrow is offline   Reply With Quote
Reply

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 Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 11:40.

© 2006 - 2008 Emu Forums | About Emu Forums | Legal | A member of the Crowdgather Forum Community


Powered by vBulletin® Version 3.7.0 Release Candidate 3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0 RC5