Java Script

S

sindee

Hi...quite the dilema here...if you go to http://www.sunnyutah.com you will
see a drop down menu. I have a classified ad script that I am working with
and for some reason the drop down doesn't work on the template that came with
the script.
If you go to http://www.sunnyutah.com/classp/template2.html you will see the
drop down menu is there. But....if you go to
http://www.sunnyutah.com/classp/placead.htm, click on search ads, then click
on the home button, you will see that the page that comes up only shows the
blue bar with no drop down menu. I have tried everything to get this to
work. Any suggestions? Thanks! Sindee
 
J

Jim Buyens

You probably need to adjust the path in these two
statements.

<script language="JavaScript1.2"
src="../includes/v2/virtualmenu.js">

<link rel="STYLESHEET" type="text/css"
href="../includes/v2/menu.css">

the correct path is each case is probably:
../../includes/v2/

This is because
/classp/template2.html
is one level deep from the server root, but
/cgi-bin/classp/class_ad.pl?VCC
is two levels deep.

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
-----Original Message-----
Hi...quite the dilema here...if you go to
http://www.sunnyutah.com you will
see a drop down menu. I have a classified ad script that I am working with
and for some reason the drop down doesn't work on the template that came with
the script.
If you go to
http://www.sunnyutah.com/classp/template2.html you will
see the
 
J

Jim Buyens

No, you should leave the ".."s as I showed them.

A double dot means "the parent directory". So, for a page at

http://www.sunnyutah.com/cgi-bin/classp/class_ad.pl

... means http://www.sunnyutah.com/cgi-bin/
.../.. means http://www.sunnyutah.com/

and ../../includes/v2/virtualmenu.js

means

http://www.sunnyutah.com/includes/v2/virtualmenu.js

Jim Buyens
Microsoft FrontPage MVP
http://www.interlacken.com
Author of:
*----------------------------------------------------
|\---------------------------------------------------
|| Microsoft Office FrontPage 2003 Inside Out
||---------------------------------------------------
|| Web Database Development Step by Step .NET Edition
|| Microsoft FrontPage Version 2002 Inside Out
|| Faster Smarter Beginning Programming
|| (All from Microsoft Press)
|/---------------------------------------------------
*----------------------------------------------------
 
Top