Results 1 to 3 of 3

Thread: HV Menu problem

  1. #1
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default HV Menu problem

    I have the HV menu working great on my homepage: http://www.saintpaulsumc.org/

    But when I put files in the subdirectories, the menu doesn't work or appear anymore: http://www.saintpaulsumc.org/ministries/youth.html

    Help please!
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Well, something to consider is paths. For example, in your saintpaulsumc.html you have these two lines containing paths:

    <script type='text/javascript' src='/files/exmplmenu_var.js'></script>
    <script type='text/javascript' src='files/menu_com.js'></script>

    See how they differ even before the filenames? If the file containing these references is in the root of the domain, the 'files' directory indicated by both statements could be the same directory on some systems but, once you leave the root, they will refer to two different directories. One off the root of the domain and one, a branch of the current directory. I've found that, with one notable exception I'll mention later, it is best to use absolute paths when using a menu of this sort throughout various directories on a site. Absolute paths in the configuration files (for images and links and any path mentioned therein) as well as in the links that access the menu's files on any pages on the site. An absolute path looks like this:

    http://www.some.com/files/menu_come.js

    As I said, with one notable exception. If you are using this convention:

    rollover:Image1.jpg:Image2.jpg

    to create rollover effects, the colon in "http://www....etc." will confuse the script. I don't know of any way to use an absolute path in that situation but, have seen this work:

    rollover://www.some.com/images/Image1.jpg://www.some.com/images/Image2.jpg
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Sep 2004
    Location
    Tallahassee, FL USA
    Posts
    264
    Thanks
    71
    Thanked 2 Times in 2 Posts

    Default

    Hi John,
    I was afraid I wouldn't be able to use subdirectories, but you have solved the problem. Thanks!
    Deborah
    Deborah Whipp
    Web Designer
    Tallahassee, FL
    www.DWWebDesigns.com

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •