The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums JavaScript Help ASAP!!ERRoR?

  • This topic is empty.
Viewing 1 post (of 1 total)
  • Author
  • #36270

    i am using java script for my drop down menu and image light box but these two seem to have issues with each other because the lightbox is fine but the drop down menu moves to a side of a side of a page in the pages that have images,
    i have checked the firefox error console and i am getting the below error, you can also see the code below, let me know, thanks.
    Error: $(“ul.dropdown li”) is null
    Source File:
    Line: 21


    var config = {
    sensitivity: 3, // number = sensitivity threshold (must be 1 or higher)
    interval: 200, // number = milliseconds for onMouseOver polling interval
    over: doOpen, // function = onMouseOver callback (REQUIRED)
    timeout: 200, // number = milliseconds delay before onMouseOut
    out: doClose // function = onMouseOut callback (REQUIRED)

    function doOpen() {
    $(‘ul:first’,this).css(‘visibility’, ‘visible’);

    function doClose() {
    $(‘ul:first’,this).css(‘visibility’, ‘hidden’);

    $(“ul.dropdown li”).hoverIntent(config);

    $(“ul.dropdown li ul li:has(ul)”).find(“a:first”).append(” » “);


Viewing 1 post (of 1 total)
  • The forum ‘JavaScript’ is closed to new topics and replies.