First of all ....great menu. I'm having trouble incorporating the menu in to an ASP page. I keep getting 'Internal Server errors - 500'. If I rename the page (test.asp) to test.html it works great. Anyone have any ideas why it won't work. I would also like to use the menu in an include file.
Thanks
ASP Pages
-
- Beginner
- Posts: 8
- Joined: Sun Jul 14, 2002 8:22 am
- Location: Perth, Western Australia
- Contact:
I don't pretend to be au-fait with ASP - but check out http://www.milonic.co.uk/menu/forum/vie ... =3511#3511
I manged to incoporate the menu into a PHP page, it shouldn;t be too different for ASP - a variable echoed to the page..
cheers
phptek
I manged to incoporate the menu into a PHP page, it shouldn;t be too different for ASP - a variable echoed to the page..
cheers
phptek
ASP Page
No that didn't seem to help. If the page is renamed to .html the menu will work. If it is renamed to .asp it will not work
Thanks
Thanks
Still Nothing. Here is what I am using and I'm just missing something? ....
HTML - Works
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>TABLE.html</title>
<script language=javascript src="menu_array1.js" type=text/javascript></script>
<script language=javascript src="mmenu.js" type=text/javascript></script>
</head>
<body>
<script>PlaceMenu("menu1")</script> </td></tr>
</body>
</html>
ASP - Doesn't Work
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>TABLE.asp</title>
</head>
<script language=javascript src="mmenu.js" type=text/javascript></script>
<script language="JavaScript" type="text/javascript">
<!--#INCLUDE file="/menu_array1.asp"--></script>
<body>
</body>
</html>
Any help would be appreciated.
Thanks
HTML - Works
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>TABLE.html</title>
<script language=javascript src="menu_array1.js" type=text/javascript></script>
<script language=javascript src="mmenu.js" type=text/javascript></script>
</head>
<body>
<script>PlaceMenu("menu1")</script> </td></tr>
</body>
</html>
ASP - Doesn't Work
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>TABLE.asp</title>
</head>
<script language=javascript src="mmenu.js" type=text/javascript></script>
<script language="JavaScript" type="text/javascript">
<!--#INCLUDE file="/menu_array1.asp"--></script>
<body>
</body>
</html>
Any help would be appreciated.
Thanks
-
- Beginner
- Posts: 8
- Joined: Sun Jul 14, 2002 8:22 am
- Location: Perth, Western Australia
- Contact:
Re-arrange the order of your javascript calls -
The menu utilises calls to various javascript functions defined in mmenu.js
<script language=javascript src="mmenu.js" type=text/javascript></script><script language=javascript src="menu_array1.js" type=text/javascript></script>
Put the reference to mmenu.js first.
phptek
The menu utilises calls to various javascript functions defined in mmenu.js
<script language=javascript src="mmenu.js" type=text/javascript></script><script language=javascript src="menu_array1.js" type=text/javascript></script>
Put the reference to mmenu.js first.
phptek
"No proof of existence is not proof of non-existence."
(Physicist: Stanton T. Friedman on Debunking Ufology)
(Physicist: Stanton T. Friedman on Debunking Ufology)
That didn't work either....but for some reason it started to work in the ASP page
Here is what worked for me.......
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>MENU.asp</title>
</head>
<script language=javascript src="menu_array1.js" type=text/javascript></script>
<script language=javascript src="mmenu.js" type=text/javascript></script>
<body>
</body>
</html>
Thanks to everyone who helped me with this.
hh

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<head>
<title>MENU.asp</title>
</head>
<script language=javascript src="menu_array1.js" type=text/javascript></script>
<script language=javascript src="mmenu.js" type=text/javascript></script>
<body>
</body>
</html>
Thanks to everyone who helped me with this.
hh