Popup menu in Golive not working
Hi,
I'm new to the forum and not sure if this is the right place for my request.
I have set up a website for my local church and am having problems with the popup menu on the home page:
http://www.salvos.com/bangor/default.htm
The menu and list of pages appear but none of the links work. This only happened after a recent update and the links work perfectly when the home page is previewed in 'Golive'.
This is probably something very simple but I just can't figure it out.
Any help would be very much appreciated.
Many Thanks
Paul Mc
andy206uk posted this at 16:34 — 27th January 2005.
He has: 1,758 posts
Joined: Jul 2002
Well the links are definatly right in the HTML, I have spotted one major flaw in the code tho... and that is that the call to the external javascript file is pointing to the wrong place. It's looking for it at "http://www.salvos.com/GeneratedItems/CSScriptLib.js" entering that into your browser gives you a 404 error.
The file actually resides here:
http://www.salvos.com/bangor/GeneratedItems/CSScriptLib.js
(found it by sheer guess work!).
I'm guessing when you fix that it'll all work fine.
Andy
cromerton posted this at 18:34 — 27th January 2005.
They have: 2 posts
Joined: Jan 2005
I've added 'bangor' to the code and that seems to have done the job. The menu on the live/uploaded home page is working fine now but the Golive preview comes up with "an error has occurred in the script of this page" when I click on the menu arrow.
Thanks for your help, Andy
Paul
andy206uk posted this at 18:45 — 27th January 2005.
He has: 1,758 posts
Joined: Jul 2002
No probs... these are the perils of working in subfolders.
Generally it's best to ensure that your local site shares the exact same directory structure as the remote site, then most of these problems are eliminated. Once you do that you can use absolute url's and it'll will work in either version.
Andy
Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.