![]() |
![]() |
![]() |
|||||
![]() |
![]() |
![]() |
![]() |
![]() |
|||
| Welcome
to Tech Support Forum home to more then 136,000 problems solved. Issues
have included: Spyware, Malware, Virus Issues, Windows, Microsoft,
Linux, Networking, Security, Hardware, and Gaming Getting your
problem solved is as easy as: 1. Registering for a free account 2. Asking your question 3. Receiving an answer Registered members: * See fewer ads. * And much more..
|
| Want to know how to post a question? click here | Having problems with spyware and pop-ups? First Steps |
|
|||||||
| Web Design & Programming Discussion of web design, and server-side & client-side scripting |
![]() |
|
|
LinkBack | Thread Tools |
|
|
#1 (permalink) |
|
Registered User
Join Date: Jan 2008
Posts: 3
OS: winXP
|
[SOLVED] problem adding menu with SSI
I am new to SSI and these functions but for the past few days I have been trying to learn from tutorials googling for info to get my web pages to load the menu/navigation via include command but I keep running into the same problem the menu just does not function, every thing looks proper but when mouse over the menu it doesn't give the drop down sub menus ect.
First off I am using dreamweaver to create my pages, using the built in SSI function and selecting the file I wish to include. I am using PVII tabbar magic to create my menu. I create a blank html file (all code tags everything del), then use the menu maker to create the code then save the file as .shtml this is the file I try to include. (have also tried them as php and same problem) when I use the include command to import that menu file to the page I want it on it gets imported all jumbled as with no css, I then use this style import <style type="text/css"> @import url(path/filename.css); </style> Then that fixes that, the menu looks perfectly fine but does not function. And now this is were I am stuck I don't understand how to get it working, am I supposed to import the java script some how like I did with the CSS, I have googled for info with no luck. am I missing something in the htaccess file? these are the lines I added to my servers default file AddType text/html .shtml AddHandler server-parsed .shtml Options Indexes FollowSymLinks Includes I have also tried removed all default stuff that was in the file and including only that along with some other code that I found in SSI tutorials like AddType application/x-java-applet .class AddType application/x-java-applet .js hopefully some one here can help, if there is any other info you need just let me know. Edit: forgot to mention the .htaccess file is in my root and should be working for every thing on the site. I have tested it with code to pull the local date from the server, tried that test file in various folders on my site and worked fine. Last edited by rumrak; 01-13-2008 at 02:06 PM. |
|
|
|
| Important Information |
|
Join the #1 Tech Support Forum Today - It's Totally Free!
TechSupportForum.com is a leading support website for your computer needs. We offer free, friendly and personalized computer support. Why pay to have your computer fixed when you can do it for free. Join TechSupportforum.com Today - Click Here |
|
|
#2 (permalink) |
|
TSF Enthusiast
Join Date: Nov 2004
Posts: 555
OS: Windows XP Pro & Windows Vista Ultimate browsing the web with FF, Opera, Safari and IE.
|
Re: problem adding menu with SSI
@ rumrak: Welcome to TSF!
Do you wish that your navigation menu is put on your webpage using SSI? And that the way it looks and functions using CSS? Can you post a page from your website to be online to review?
__________________
KoosHopeloos, straight to you from .nl via the world wide web! ![]() |
|
|
|
|
|
#3 (permalink) |
|
Registered User
Join Date: Jan 2008
Posts: 3
OS: winXP
|
Re: problem adding menu with SSI
Hi KoosHopeloos, thanks for the reply. yes that sounds about right how I want to do this. I put together a normal html page with how it should look and function, another with the same page trying to include a menu from another folder (this time with error), also an example of what was happening with the menu before.
Page looking correct in html Same page saved as shtml trying to include menu from a different folder An example of the previous problem with the menu being included from another location, css setup through import but menu not functioning. This is the menu file that is trying to be included from the above page I added these extra lines to my servers default .htaccess file which is located in my root folder of ajphoto.org AddType text/html .shtml AddHandler server-parsed .shtml Options Indexes FollowSymLinks Includes I have also tried it with only those lines and no change, I have tried importing another access file that had all all the most common things and still same issue. hopefully from that you can see were the problem may be coming from or what I am doing wrong. Thanks Last edited by carsey; 04-07-2008 at 01:52 PM. |
|
|
|
|
|
#4 (permalink) |
|
Registered User
Join Date: Jan 2008
Posts: 3
OS: winXP
|
Re: [SOLVED] problem adding menu with SSI
I have finally figured it out and fixed the problem, test pages that were made have been del to clean things up so the above links will be dead now and oddly enough you cant edit here.
for the others that it may help what worked for me was, main page php, include page shtml, use php include command, style import on main page hard linked to the css (http:location), used normal script code on main page and did another hard target to the java script for the menu, directly poiting to the file with the full address is the only way I got it to work right for me. and of course edit your .htaccess would need at least these lines. AddType text/html .shtml AddHandler server-parsed .shtml Options Indexes FollowSymLinks Includes hopefully that will help some one and save them days of trouble shooting like I had |
|
|
|
![]() |
| Thread Tools | |
|
|