Support » Plugins and Hacks » Problem validating "defer" code from NextGEN Gallery

Problem validating "defer" code from NextGEN Gallery

  • I’d like to validate the code for the page http://mi.mainjane.com/ using http://validator.w3.org, however there’s an error message:

    [Element script must not have attribute defer unless attribute src is also specified.

    <script type="text/javascript" defer="defer">]

    This refers to NextGEN Gallery code here:

    <script type="text/javascript" defer="defer">
    jQuery("#ngg-slideshow-1-2-1").nggSlideshow( {id: 1,fx:"fade",width:685,height:229,domain: "http://mi.mainjane.com/",timeout:3000});

    Can you tell me what to set the src to and where to set it so the code will validate?

    Thanks much in advance-


  • The topic ‘Problem validating "defer" code from NextGEN Gallery’ is closed to new replies.