dreamweaver training uk - pop up menus

Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

Forum home » Delegate support and help forum » Dreamweaver Training and help » dreamweaver training uk - Pop up menus

dreamweaver training uk - Pop up menus

resolvedResolved · Low Priority · Version Standard

Claire has attended:
Dreamweaver MX Introduction course
Dreamweaver 8 Intermediate course

Pop up menus

Hi

I'm trying to insert a pop up men, where you hover over an image and the menu drops down with links attached. I'm trying to do this by adding a behaviour to the image and it works when I press F12 to view it, but as soon as I upload it to the internet it stops working.

Any ideas?

Regards

Claire

RE: Pop up menus

Hi there Claire,

My first thought would be that the page is using some kind of external javascript file (usually .js extension) that is available on your local machine/server (when you press F12 to preview) but is either not uploaded to your online web server, or if it is uploaded, inaccessible.

Check if you're including any external scripts by looking at your code view for a line like this:
<script language="javascript" type="text/javascript" src="/scripts/global.js"></script>

The above indicates the web page is using a file called 'global.js' which is in the scripts folder which is located in the root of the web site; the source path starts with a leading slash (/).

Check that the file has been uploaded (if you use Dreamweaver to FTP your files, switch the Site panel to 'remote' view, then browse to the appropriate folder).

If the javascript file HAS been uploaded, you may need to update the latest version of the file, if it's recently been changed. Or, the root folder may be different. eg. pointing to /scripts/global.js may work on your local server, but not online server. You may need to change the source it to be relative, such as ../../scripts/global.js if the file you're showing is two directories deep.

For example, your web page may be at http://www.domain.com/products/new/page.html and the script may be at http://www.domain.com/scripts/global.js

To link absolutely, you would have the source as "/scripts/global.js". To link relatively, you would have the source as "../../scripts/global.js" -- the first two dot-dots (..) go out of the /products/new folders, returning the pointer to the root.

If all the above does not solve your problem, or you're sure it's not an external javascript problem, please reply with the URL of your web page (the exact URL please) and I'll investigate further.

Regards, Rich

 

Training courses

 

Training information:

Welcome. Please choose your application (eg. Excel) and then post your question.

Our Microsoft Qualified trainers will then respond within 24 hours (working days).

Frequently Asked Questions
What does 'Resolved' mean?

Any suggestions, questions or comments? Please post in the Improve the forum thread.


Server loaded in 0.09 secs.