1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Changing Javascript menu?

Discussion in 'Web Design & Development' started by LucyMars, Nov 20, 2011.

Thread Status:
Not open for further replies.
  1. LucyMars

    LucyMars Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    2
    Hi - I've inherited a massive website which is designed completely differently to my normal way of working.
    The problem I am having, is getting the drop down menus to go to the page I want.
    I have changed the destination on the page named sitemain.js

    from
    mm_menu_0127160434_0_1.addMenuItem("Tanzanite","location='tanzanite10.htm'");
    to
    mm_menu_0127160434_0_1.addMenuItem("Tanzanite","location='tanzanite11.htm'");

    but it is still serving up tanzanite10.htm
    What else do I need to change?

    Hope you can help,

    Lucy :)
     
  2. Ent

    Ent Trusted Advisor

    Joined:
    Apr 11, 2009
    Messages:
    5,467
    First Name:
    Josiah
    It would probably be helpful if you could provide a bit more information, ideally a link to the site or the full HTML and JS of a page. Otherwise we cannot possibly know what else needs changing.

    Incidentally, it may be worth your while just clearing the cache on your browser to make sure it hasn't saved a copy of the old Javascript.
     
  3. LucyMars

    LucyMars Thread Starter

    Joined:
    Nov 20, 2011
    Messages:
    2
    Thanks for the idea - I cleared the caches in all the browser I was checking with.
    I solved the problem though, as I discovered there were 2 copies of the sitemain.js - one outside the main folder & one inside!
    I don't know why, but I have updated them both & it has worked.
    The site turns out to be a monster!
    At least I;ve g0t the measure of it now,
    Thanks :)
     
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...
Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/1027694

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice