Results 1 to 3 of 3

Thread: Any Link Vertical Menu

  1. #1
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Any Link Vertical Menu

    1) Script Title: Any Link Vertical Menu

    2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...nkvertical.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?

    Thanks!
    villageweb

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    Your page is in violation of Dynamic Drive's usage terms, 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:

    HTML Code:
    <script language="JavaScript" src="rightflyout.js" type="text/javascript" ></script>
    to:

    HTML Code:
    <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
    ***********************************************/
    </script>
    You cannot have this:

    Code:
    <script type="text/javascript">
    or this:

    Code:
    </script>
    in rightflyout.js, remove them. There could be other problems.
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  3. #3
    Join Date
    Jul 2006
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    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..:-)

    Susan

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •