Java Script

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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
 
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)
|/---------------------------------------------------
*----------------------------------------------------
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Hyperlinks 5
SPAN CLASS="body 1
Target Frame 15
external java script source 1
How to Upload MBOX to IMAP Server? Easily 0
DHTML Script with Navigation bar?? 6
Possible router problems 9
Scripting Help 3

Back
Top