View Full Version : Any Link Vertical Menu

07-19-2006, 02:47 AM
1) Script Title: Any Link Vertical Menu

2) Script URL (on DD): http://www.dynamicdrive.com/dynamicindex1/anylinkvertical.htm

3) Describe problem:

Site url: http://www.midwestselectsale.com/dev
coded link: Links

I can't get this menu to work at all. It's producing the following javascript error on pageload:
Error: syntax error
Source File: http://www.midwestselectsale.com/dev/rightflyout.js
Line: 30
Source Code:
var totaloffset=(offsettype=="left")? what.offsetLeft : what.offsetTop;

and then these when the link is scrolled over:

Error: dropdownmenu is not defined
Source File: http://www.midwestselectsale.com/dev/#
Line: 1

Error: delayhidemenu is not defined
Source File: http://www.midwestselectsale.com/dev/#
Line: 1

I've changed doctype declaration; compared CSS & javascript to a site where it will work for me (not mine) and can't see any major differences; converted onMouseOut & onMouseOver to lower case to validate, which also didn't make any difference - and am baffled.

Any suggestions as to what the problem might be?


07-19-2006, 06:37 AM
Your page is in violation of Dynamic Drive's usage terms (http://www.dynamicdrive.com/notice.htm), which, among other things, state that the script credit must appear in the source code of the HTML page(s) using the script. Please reinstate the notice first.

To fix that, change this:

<script language="JavaScript" src="rightflyout.js" type="text/javascript" ></script>


<script src="rightflyout.js" type="text/javascript">
* AnyLink Vertical Menu- Dynamic Drive (www.dynamicdrive.com)
* This notice MUST stay intact for legal use
* Visit http://www.dynamicdrive.com/ for full source code

You cannot have this:

<script type="text/javascript">

or this:


in rightflyout.js, remove them. There could be other problems.

07-19-2006, 11:36 AM
Apologies for the violation. Removal was part of trying to get things to work, and hadn't meant to be permanent... sorry!

Fixing the js file has corrected the problem.

Thanks for your help..:-)