Forum Moderators: open
Thanks.
[edited by: jatar_k at 2:22 pm (utc) on Feb. 22, 2007]
[edit reason] no urls thanks [/edit]
Am empty element can be a page object or an entire javascript function. If Dreamweaver has put your javascript in an external file and you didn't upload it, this can also be the cause.
Look for the code for the object you are clicking, you can find this in the Code View (? think that's what it's called) window, it will be something like
<a href="someurl.html" onClick="some_MM_function()">Some URL</a>
Both of the above are examples - but if it comes from Dreamweaver, the Javascript will have "MM" in it somewhere. :-)
If the "some_MM_url" is in your document somewhere, then it's something else. What you are looking for here is anything that says "onClick." Toward the top of your document, if you see something like
<script type="text/javascript" src="some-file.js"></script>
This means that Dreamweaver has externally linked the javascript in a separate file. Make sure it's uploaded to your server.
<body bgcolor="#000020" text="#FFFFFF" link="#FFFFFF" vlink="#999999" alink="#7BB8FB" leftmargin="20" topmargin="5" marginwidth="0" marginheight="0" style="margin: 0" onLoad="writeMenus()" onResize="if (isNS4) nsResizeHandler()">
To:
<body bgcolor="#000020" text="#FFFFFF" link="#FFFFFF" vlink="#999999" alink="#7BB8FB" leftmargin="20" topmargin="5" marginwidth="0" marginheight="0" style="margin: 0">
And all the pages are fixed! Thanks :)