Back To Start Of Archive
Taken From The Forum: Archived Topics for the old Version 3.0 JavaScript Menu
Forum Topic: Click to view post
Last Updated: Saturday July 14 2012 - 06:07:32
Menu & ASP pages
Poster: cisco
Dated: Monday April 28 2003 - 7:47:39 BST
Hello,
I add this beautifull menu on some HTML pages and all works fine. Now, I have to add this menu on some ASP pages. Does anyone know how to do that ? - I Tried:
<SCRIPT language=JavaScript src="menu_array.js" type=text/javascript></SCRIPT>
<SCRIPT language=JavaScript src="mmenu.js" type=text/javascript></SCRIPT>
<%
'Include Common Files __at__ 1-D6EDE132
%>
<!-- #INCLUDE FILE=".\Common.asp"-->
<!-- #INCLUDE FILE=".\Cache.asp" -->
<!-- #INCLUDE FILE=".\Template.asp" -->
...
but it doesn't work...
Thanks for your inputs...
Best regards
Check the paths
Poster: snapey
Dated: Friday May 2 2003 - 23:54:31 BST
Cisco
Are the asp pages and the html pages all in the same directory? I notice that you don't specify the location of the menu files in the asp page.
If the path is wrong (no js files in the current directory) then the script lines will just be silently ignored.
I regularly use asp pages with no problems at all.
The only difference I have is that each of the parameters are surrounded by speech marks ( example language="javascript" ) I can't really see this being the issue though, just bad practice.
Mark