|
| |
|
|
vision2000
Posts: 532 From: USA Status: offline
|
SSI Help Needed - 11/12/2002 1:30:00
I tried to follow the tutorial on this site, but can' t seem to get it to work. Here' s what I did: created a nav.htm file (for a dhtml menu) and saved it in the includes folder (removed all html, header and body tags) Created a blank.shtm page and inserted <!--#include virtual=" /includes/nav.htm" -->where I wanted the menu to go on the blank page. I uploaded the includes folder and blank page to the server (FTP) Results: no menu is showing. BTW For this menu I also use a .css and .js file which are uploaded to the root folder (or should they be in the includes folder??) So as you see I am confused and would appreciate your expert help. Thank you, Herman
|
|
|
|
Seventh
Posts: 1235 Joined: 8/4/2002 From: The Motor City Status: offline
|
RE: SSI Help Needed - 11/12/2002 4:18:27
Hi, vision2000. My first question is does your host support SSI (Server Side Includes)? If so, this may give you a better understanding of SSI. SSI Tutorial from Big Nose Bird.com »
_____________________________
"go forth and create."
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - 11/12/2002 7:52:32
Yes, my host does support SSI and I named the blank page blank.shtm I still can' t see where I have gone wrong. Thanks, Herman
|
|
|
|
Reflect
Posts: 4769 From: USA Status: offline
|
RE: SSI Help Needed - 11/12/2002 8:03:25
quote:
BTW For this menu I also use a .css and .js file which are uploaded to the root folder (or should they be in the includes folder??) For these I use the house keeping mentality. I have seperate sub folders. One for JS, one for CSS, Etc.. Brian
_____________________________
|
|
|
|
Gil
Posts: 7533 From: North Carolina, USA Status: offline
|
RE: SSI Help Needed - 11/12/2002 9:36:10
quote:
I named the blank page blank.shtm What is that? I' ve never heard od .shtm - should be .shtml
_____________________________
Gil Harvey, 1947-2004
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - 11/12/2002 10:56:49
Thanks for your input - could you please check this page and see if I am missing something - a simple page to show the nav bar - but it is not showing up. www.wwwebdesignz.com/blank.shtm The .css .js and blank.shtm are all uploaded to the server. Thank you, Herman
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - getting there.. - 11/12/2002 11:33:26
Thanks Bobby - changing the page to shtml made the nav bar appear (I tried the other ways you suggested which did not work) http://www.wwwebdesignz.com/blank.shtml HOWEVER Now I have lost the correct color for the links - it should be like this: www.wwwebdesignz.com/test.htm Could this have something to do with having an index.html page and blank.shtml page - is there a conflict in the extensions? or the path of the .css .js scripts Thank you again, Herman PS My server is not a windows server
|
|
|
|
Justjay
Posts: 697 From: Montreal, QC Canada Status: offline
|
RE: SSI Help Needed - 11/12/2002 11:47:42
Unless you are going to be sending people to ../blank.shtml - do not worry about as it will take the CSS and JS attributes from the page you include it into... However yes that is the problem the path to the .css and .js are not correct....probably a ../ that is either extra or missing....
_____________________________
JustJay thejehm.net Web Solutions SAH Link Exchange Serious About Hosting
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - you were right! Now... - 11/12/2002 12:11:46
Thank you very much - that was it! One more question, if you don' t mind Can I put the .css and .js files into the includes file also? or make separate folders for them? The idea is to just have one includes page that contains nav.htm .css .js instead of having to enter the same header for each page? I hope this question is clear. Herman
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
THANK YOU ALL! - 11/12/2002 13:16:10
Thank you very much Bobby and others - give yourself a big pat on the back (flowers will arrive soon:-) I hope you realize what an incredible help you were, which saved me oodles of time tearing my hair out (what' s left of it). Now take a break and eat some cake - you all deserve it! Have a great day! Herman
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - follow-up question - 11/13/2002 13:23:41
How do I include the menu.css and virtualmenu.js files as includes in the header tags of the www.wwwebdesignz.com/blank.shtml/ page? I dropped these 2 files into the " includes" folder. I entered this code between the header tags in the /blank.shtml page. <!--#include virtual=" /includes/virtualmenu.js" --> <!--#include virtual=" /includes/menu.css" --> However when I upload the includes folder and the /blank.shtml page, my drop-down menu does not appear. Have I got the paths wrong? Your expert advice please. Thank you, Herman
|
|
|
|
vision2000
Posts: 532 From: USA Status: offline
|
RE: SSI Help Needed - 11/13/2002 16:57:52
Thanks for your explanation Bobby I tried using <!--#include file=" menu.css" --> then the nav bar disappeared. Confused by this The .js file that does the work can' t be on an include page... Could you clarify please Thanks, Herman surfin120@aol.com
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|