Line 49, Column 18: there is no attribute "LANGUAGE"

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nomad
    Recognized Expert Contributor
    • Mar 2007
    • 664

    Line 49, Column 18: there is no attribute "LANGUAGE"

    I got this error code
    Line 49, Column 18: there is no attribute "LANGUAGE"
    <script language="javas cript" type="text/javascript">mmL oadMenus();
    How do I solve this problem.
    Note I plan to recreate this site in HTML5

    Here is my part of my html code.

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    <html>
    <head>
    <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
    <!-- TemplateBeginEditable name="doctitle" -->
    <!-- TemplateEndEditable -->
    <!-- TemplateBeginEditable name="title-css" -->
    <title>Light Laboratory</title>
    
    <link rel="stylesheet" type="text/css" href="css/contact.css"/>
    <!-- TemplateEndEditable -->
    
    
    
    
    <script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/script.js"></script>
    
    <!--javasscript-->
    <script type="text/javascript">
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    }
    </script>
    <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
    <script type="text/javascript" src="js/menu.js"></script>
    
    <script type="text/javascript" src="js/mm_menu.js"></script>
    <link rel="shortcut icon" href="images/lightlab-biglogo.ico">
    <!-- TemplateBeginEditable name="head" -->
    <!-- TemplateEndEditable -->
    </head>
    
    <body >
    <script language="javascript" type="text/javascript">mmLoadMenus();
    </script>
    
    <div id="header">
    	
    	
       <div>
    		<div class="headerimg"></div>
    		<div  class="headerimg"></div>
    	</div>
    	<!-- Top navigation on top of the images -->
    	<div id="nav-outer">
    		<div id="navigation">
            <div id="logo"><a href="index.html"><img src="images/logo.png" alt="Light Laboratory Logo" border="0"></a>
    </div>
    	    <div style="float:right;"> <a href="http://www.nist.gov/nvlap/"><img src="images/nvlaplli.png" alt="NVLAP Website" border="0"></a>
            
          </div> 
                
                <div id="tollfree">
    				
                    An Independent Photometric Test Laboratory.
    			</div>
    <div id="menu">
    					<ul>
    				<li style="width:150px;"><a href='AboutUs.html' class='menu_font' name="image1" id="image1" title="About LLI" onmouseover="MM_showMenu(window.mm_menu_0119103456_0,0,29,null,'image1')" onmouseout="MM_startTimeout();">&nbsp;About Us</a></li>
                                
                 	<li style="width:150px;"><a href='Services.html' class='menu_font' name="image6" id="image6" title="" onmouseover="MM_showMenu(window.mm_menu_0119103456_6,0,29,null,'image6')" onmouseout="MM_startTimeout();">&nbsp;Services</a></li>         
                 
    				 <li style="width:150px;"><a href='Certification.html' class='menu_font' name="image3"  id="image3" title="" onmouseover="MM_showMenu(window.mm_menu_0119103456_3,-2,30,null,'image3')" onmouseout="MM_startTimeout();">&nbsp;Certification & Accreditation</a></li>    
    		             
             
                 <li style="width:150px;"><a href='Resources.html' class='menu_font' name="image4"  id="image4" title="" onmouseover="MM_showMenu(window.mm_menu_0119103456_4,0,29,null,'image4')" onmouseout="MM_startTimeout();">&nbsp;Resources</a></li>                
                 
      
           
    	<li style="width:150px;"><a href='News-Events.html' class='menu_font' name="image2" id="image2" title="" onmouseover="MM_showMenu(window.mm_menu_0119103456_1,0,29,null,'image2')" onmouseout="MM_startTimeout();">&nbsp;News & Events</a></li>       
    
            	<li style="width:150px;"><a href='Customer-Support.html' class='menu_font' name="image5" id="image5" title="" onmouseover="MM_showMenu(window.mm_menu_0119103456_5,0,29,null,'image5')" onmouseout="MM_startTimeout();">&nbsp;Customer Support</a></li>
                         
    
    			 	</ul>
    			</div>
    		</div>
            </div>
            <!--start here-->
            <div style="height:100px;"></div>
            
            <!--end top navigation-->
    if you need to see the menu.js or the mm_menu.js please let me know.

    Thanks
    damon
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    the language attribute of the <script> tag is long deprecated and hence throws that notice.

    Comment

    • nomad
      Recognized Expert Contributor
      • Mar 2007
      • 664

      #3
      This is what I did to solve the problem
      <script type="text/javascript">mmL oadMenus();
      </script>

      Comment

      Working...