By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,962 Members | 1,776 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,962 IT Pros & Developers. It's quick & easy.

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

nomad
Expert 100+
P: 664
I got this error code
Line 49, Column 18: there is no attribute "LANGUAGE"
<script language="javascript" type="text/javascript">mmLoadMenus();
How do I solve this problem.
Note I plan to recreate this site in HTML5

Here is my part of my html code.

Expand|Select|Wrap|Line Numbers
  1.  
  2. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  3. <html>
  4. <head>
  5. <meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
  6. <!-- TemplateBeginEditable name="doctitle" -->
  7. <!-- TemplateEndEditable -->
  8. <!-- TemplateBeginEditable name="title-css" -->
  9. <title>Light Laboratory</title>
  10.  
  11. <link rel="stylesheet" type="text/css" href="css/contact.css"/>
  12. <!-- TemplateEndEditable -->
  13.  
  14.  
  15.  
  16.  
  17. <script type="text/javascript" src="js/jquery.js"></script>
  18. <script type="text/javascript" src="js/script.js"></script>
  19.  
  20. <!--javasscript-->
  21. <script type="text/javascript">
  22. function MM_openBrWindow(theURL,winName,features) { //v2.0
  23.   window.open(theURL,winName,features);
  24. }
  25. </script>
  26. <script type="text/javascript" src="js/jquery-1.2.6.min.js"></script>
  27. <script type="text/javascript" src="js/menu.js"></script>
  28.  
  29. <script type="text/javascript" src="js/mm_menu.js"></script>
  30. <link rel="shortcut icon" href="images/lightlab-biglogo.ico">
  31. <!-- TemplateBeginEditable name="head" -->
  32. <!-- TemplateEndEditable -->
  33. </head>
  34.  
  35. <body >
  36. <script language="javascript" type="text/javascript">mmLoadMenus();
  37. </script>
  38.  
  39. <div id="header">
  40.  
  41.  
  42.    <div>
  43.         <div class="headerimg"></div>
  44.         <div  class="headerimg"></div>
  45.     </div>
  46.     <!-- Top navigation on top of the images -->
  47.     <div id="nav-outer">
  48.         <div id="navigation">
  49.         <div id="logo"><a href="index.html"><img src="images/logo.png" alt="Light Laboratory Logo" border="0"></a>
  50. </div>
  51.         <div style="float:right;"> <a href="http://www.nist.gov/nvlap/"><img src="images/nvlaplli.png" alt="NVLAP Website" border="0"></a>
  52.  
  53.       </div> 
  54.  
  55.             <div id="tollfree">
  56.  
  57.                 An Independent Photometric Test Laboratory.
  58.             </div>
  59. <div id="menu">
  60.                     <ul>
  61.                 <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>
  62.  
  63.                  <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>         
  64.  
  65.                  <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>    
  66.  
  67.  
  68.              <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>                
  69.  
  70.  
  71.  
  72.     <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>       
  73.  
  74.             <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>
  75.  
  76.  
  77.                  </ul>
  78.             </div>
  79.         </div>
  80.         </div>
  81.         <!--start here-->
  82.         <div style="height:100px;"></div>
  83.  
  84.         <!--end top navigation-->
  85.  
if you need to see the menu.js or the mm_menu.js please let me know.

Thanks
damon
Oct 17 '13 #1

✓ answered by Dormilich

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

Share this Question
Share on Google+
2 Replies


Dormilich
Expert Mod 5K+
P: 8,639
the language attribute of the <script> tag is long deprecated and hence throws that notice.
Oct 17 '13 #2

nomad
Expert 100+
P: 664
This is what I did to solve the problem
<script type="text/javascript">mmLoadMenus();
</script>
Oct 21 '13 #3

Post your reply

Sign in to post your reply or Sign up for a free account.