WordPress.org

Forums

NextGEN Gallery
Problem validating "defer" code from NextGEN Gallery (1 post)

  1. mainjanedesigns
    Member
    Posted 3 years ago #

    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(document).ready(function(){
    jQuery("#ngg-slideshow-1-2-1").nggSlideshow( {id: 1,fx:"fade",width:685,height:229,domain: "http://mi.mainjane.com/",timeout:3000});
    });
    </script>

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

    Thanks much in advance-

    http://wordpress.org/extend/plugins/nextgen-gallery/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • NextGEN Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic