473,378 Members | 1,104 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,378 software developers and data experts.

Menus created with CSS3 and JS and is not working with IE10

nomad
664 Expert 512MB
Hello Everyone:
I have a problem with IE10 in which my drop down menus are not working. I did not create these menu I inherit this project from work. I don't want to do this
Use Compatibility View in Internet Explorer for that is the solution.
Any help would be great.
Here is the site I'm working on
www.lightlaboratory.com

Here parts of my coding for css3
Expand|Select|Wrap|Line Numbers
  1. /* MENU */
  2. #menu { position:relative; float:left; margin-left:10px; font-size:14px;
  3.     color: #ffffff;
  4.     font-family:Verdana, Geneva, sans-serif; font-weight:200; margin:0 auto;}
  5. #menu ul { list-style:none; width:960px;}
  6. #menu ul li { display:inline; font-variant:small-caps;  font-size:14px;
  7.     color: #ffffff;
  8.     font-family:Verdana, Geneva, sans-serif; font-weight:200; text-align:center;}
  9. #menu ul li a {text-decoration:none;  font-size:14px;
  10.     color: #ffffff;
  11.     font-family: Arial, Helvetica, sans-serifVerdana, Geneva, sans-serif; font-weight:200; padding-right:14px;}
  12. #menu ul li a:hover {background-color:#ac231a;}
  13. .menu_font{line-height:29px; padding-bottom:9px; padding-top:4px;}
  14.  
JS code for the meuns
Expand|Select|Wrap|Line Numbers
  1. // JavaScript Document
  2.  
  3. function bookmarksite(title, url){
  4.  
  5. if (document.all)
  6.     window.external.AddFavorite(url, title);
  7.         else if (window.sidebar)
  8.         window.sidebar.addPanel(title, url, "")
  9.  
  10. }
  11.  
  12. function mmLoadMenus() {
  13.  
  14. if (window.mm_menu_0119103456_0) return;
  15.  
  16. window.mm_menu_0119103456_0 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  17.     mm_menu_0119103456_0.addMenuItem("Our Mission","location='OurMission.html'");
  18.     mm_menu_0119103456_0.addMenuItem("Facts Speak","location='Facts_speak.html'");
  19.     mm_menu_0119103456_0.addMenuItem("Certification Accreditation","location='Certification.html'");
  20.     mm_menu_0119103456_0.addMenuItem("Our Laboratory","location='OurLaboratory.html'");
  21.     mm_menu_0119103456_0.addMenuItem("Our Clients ","location='OurClients.html'");
  22.     mm_menu_0119103456_0.addMenuItem("Testimonials","location='testimonials.html'");
  23.     mm_menu_0119103456_0.addMenuItem("Company Partners","location='CompanyPartners.html'");
  24.  
  25. mm_menu_0119103456_0.hideOnMouseOut=true;
  26. mm_menu_0119103456_0.bgColor='#FFFFFF';
  27. mm_menu_0119103456_0.menuBorder=1;
  28. mm_menu_0119103456_0.menuLiteBgColor='#FFFFFF';
  29. mm_menu_0119103456_0.menuBorderBgColor='#c4c4c4';
  30.  
  31.  
  32. //sub menu to Video//   
  33.  window.mm_menu_0119103456_1_0 = new Menu("Video",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  34.   mm_menu_0119103456_1_0.addMenuItem("Services Provided by LLI","location='http://www.youtube.com/watch?v=ItaVJN5WBng'");
  35.  
  36. mm_menu_0119103456_1_0.hideOnMouseOut=true;
  37. mm_menu_0119103456_1_0.bgColor='#FFFFFF';
  38. mm_menu_0119103456_1_0.menuBorder=1;
  39. mm_menu_0119103456_1_0.menuLiteBgColor='#FFFFFF';
  40. mm_menu_0119103456_1_0.menuBorderBgColor='#c4c4c4';   
  41.  
  42.  
  43.  //second nav for news and events//   
  44.  
  45. window.mm_menu_0119103456_1 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  46.   mm_menu_0119103456_1.addMenuItem("News Events","location='News-Events.html'");
  47.   mm_menu_0119103456_1.addMenuItem(mm_menu_0119103456_1_0,"location='videos.html'");
  48.   mm_menu_0119103456_1.addMenuItem("CA Title 24 Workshop","location='CEC_Title_24_event.html'");
  49.   mm_menu_0119103456_1.addMenuItem("CA Title 24 Workshop Form","location='CEC_Title_24_event_form.html'");
  50.  
  51.  
  52. mm_menu_0119103456_1.hideOnMouseOut=true;
  53. mm_menu_0119103456_1.childMenuIcon="http://bytes.com/images/arrows.gif";
  54. mm_menu_0119103456_1.bgColor='#FFFFFF';
  55. mm_menu_0119103456_1.menuBorder=1;
  56. mm_menu_0119103456_1.menuLiteBgColor='#FFFFFF';
  57. mm_menu_0119103456_1.menuBorderBgColor='#c4c4c4';
  58.  
  59.  
  60.  
  61.    //third
  62.  
  63. window.mm_menu_0119103456_3 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  64.  
  65.   mm_menu_0119103456_3.addMenuItem("CEC Title 24","location='CEC_Title_24.html'");
  66.   mm_menu_0119103456_3.addMenuItem("CEC Title 24 Workshop","location='CEC_Title_24_event.html'");
  67.   mm_menu_0119103456_3.addMenuItem("DesignLighting&nbsp;Consortium<sup>®</sup>","location='dlc.html'");
  68.   mm_menu_0119103456_3.addMenuItem("DLC&nbsp;101&nbsp;Basics","location='dlc_101.html'")  
  69.   mm_menu_0119103456_3.addMenuItem("Engery&nbsp;Star","location='energy_star.html'");
  70.   mm_menu_0119103456_3.addMenuItem("Lighting&nbsp;Facts","location='lighting-facts.html'");
  71.   mm_menu_0119103456_3.addMenuItem("UL","location='ul.html'");
  72.  
  73.  
  74.    mm_menu_0119103456_3.hideOnMouseOut=true;
  75.    mm_menu_0119103456_3.bgColor='#FFFFFF';
  76.    mm_menu_0119103456_3.menuBorder=1;
  77.    mm_menu_0119103456_3.menuLiteBgColor='#FFFFFF';
  78.    mm_menu_0119103456_3.menuBorderBgColor='#c4c4c4';
  79.  
  80. ///////////fourth resources///////////
  81.  
  82. window.mm_menu_0119103456_4 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  83.     mm_menu_0119103456_4.addMenuItem("DLC&nbsp;101&nbsp;Basics","location='dlc_101.html'")
  84.     mm_menu_0119103456_4.addMenuItem("Customer&nbsp;Support","location='Customer-Support.html'");
  85.     mm_menu_0119103456_4.addMenuItem("FAQ's","location='FAQ.html'");
  86.     mm_menu_0119103456_4.addMenuItem("Getting&nbsp;Started","location='get_starting.html'");
  87.     /*mm_menu_0119103456_4.addMenuItem("How&nbsp;to&nbsp;Interpret&nbsp;Your&nbsp;Report","location='Overview.html'");*/
  88.     mm_menu_0119103456_4.addMenuItem("LED&nbsp;Testing","location='LED_testing.html'");
  89.     mm_menu_0119103456_4.addMenuItem("Resources","location='Resources.html'");
  90.     mm_menu_0119103456_4.addMenuItem("Services","location='Services.html'");
  91.     mm_menu_0119103456_4.addMenuItem("Technical&nbsp;Referances","location='technical_referances.html'");    
  92.  
  93. mm_menu_0119103456_4.hideOnMouseOut=true;
  94. mm_menu_0119103456_4.bgColor='#FFFFFF';
  95. mm_menu_0119103456_4.menuBorder=1;
  96. mm_menu_0119103456_4.menuLiteBgColor='#FFFFFF';
  97. mm_menu_0119103456_4.menuBorderBgColor='#c4c4c4';
  98.  
  99.  
  100.  
  101. ///////////fifth///////////
  102.  
  103.  
  104. window.mm_menu_0119103456_5_4 = new Menu("Downloads",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#ffffff","#c4c4c4","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  105.     mm_menu_0119103456_5_4.addMenuItem("Test&nbsp;Information&nbsp;Sheet","location='SSL-Product-Test-Sheet.xls'");
  106.     mm_menu_0119103456_5_4.addMenuItem("Credit&nbsp;Card&nbsp;Authorization","location='CCAuthorization.pdf'");
  107.     mm_menu_0119103456_5_4.addMenuItem("Credit&nbsp;Application","location='Download.html'");
  108.     mm_menu_0119103456_5_4.addMenuItem("Sample&nbsp;Test&nbsp;Report","location='Download.html'");
  109.  
  110. mm_menu_0119103456_5_4.hideOnMouseOut=true;
  111. mm_menu_0119103456_5_4.bgColor='#c4c4c4';
  112. mm_menu_0119103456_5_4.menuBorder=1;
  113. mm_menu_0119103456_5_4.menuLiteBgColor='#c4c4c4';
  114. mm_menu_0119103456_5_4.menuBorderBgColor='#c4c4c4'; 
  115.  
  116.  
  117.  window.mm_menu_0119103456_5 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  118.  
  119.     mm_menu_0119103456_5.addMenuItem("Contact&nbsp;Us","location='Contact.html'");
  120.     /*mm_menu_0119103456_5.addMenuItem("FAQ","location='FAQ.html'"); */
  121.     mm_menu_0119103456_5.addMenuItem("Quote&nbsp;Inquiry","location='request-a-quote1.html'");
  122.     mm_menu_0119103456_5.addMenuItem(mm_menu_0119103456_5_4,"location='Download.html'");
  123.     mm_menu_0119103456_5.addMenuItem("Resources","location='Resources.html'");
  124.  
  125. mm_menu_0119103456_5.hideOnMouseOut=true;
  126. mm_menu_0119103456_5.childMenuIcon="http://bytes.com/images/arrows.gif";
  127. mm_menu_0119103456_5.bgColor='#FFFFFF';
  128. mm_menu_0119103456_5.menuBorder=1;
  129. mm_menu_0119103456_5.menuLiteBgColor='#FFFFFF';
  130. mm_menu_0119103456_5.menuBorderBgColor='#c4c4c4';
  131.  
  132.  
  133. /////////sixth/////////
  134. window.mm_menu_0119103456_6 = new Menu("root",180,27,"Arial, Verdana,  Helvetica, sans-serif",12,"#ac231a","#ac231a","#c4c4c4","#ffffff","left","middle",13,0,500,-5,7,true,true,true,0,true,true);
  135. mm_menu_0119103456_6.addMenuItem("Services","location='Services.html'");
  136.     mm_menu_0119103456_6.addMenuItem("Floodlight&nbsp;Photometry","location='Floodlight-photometry.html'");
  137.     mm_menu_0119103456_6.addMenuItem("Indoor&nbsp;Photometry","location='indoor-photometry.html'");
  138.     mm_menu_0119103456_6.addMenuItem("Roadway&nbsp;Photometry","location='roadway-photometry.html'");
  139.     mm_menu_0119103456_6.addMenuItem("SSL&nbsp;Photometry","location='SSL-Photometry.html'");
  140.     mm_menu_0119103456_6.addMenuItem("Additional&nbsp;Services","location='Additional-Services.html'");    
  141.     mm_menu_0119103456_6.addMenuItem("LM-79","location='LM-79.html'");    
  142.     mm_menu_0119103456_6.addMenuItem("LM-80","location='LM-80.html'");
  143.     mm_menu_0119103456_6.addMenuItem("TM-21","location='TM-21.html'");    
  144.     mm_menu_0119103456_6.addMenuItem("CEC&nbsp;Title&nbsp;24","location='CEC_Title_24.html'");
  145.     mm_menu_0119103456_6.addMenuItem("CEC&nbsp;Title&nbsp;24&nbsp;Workshop","location='CEC_Title_24_event.html'");
  146.  
  147.  
  148.  
  149. mm_menu_0119103456_6.hideOnMouseOut=true;
  150. mm_menu_0119103456_6.bgColor='#FFFFFF';
  151. mm_menu_0119103456_6.menuBorder=1;
  152. mm_menu_0119103456_6.menuLiteBgColor='#FFFFFF';
  153. mm_menu_0119103456_6.menuBorderBgColor='#c4c4c4';
  154.  
  155.  
  156. ////////write/////////
  157.    mm_menu_0119103456_0.writeMenus();
  158.  
  159.  
Part of my html menu only
Expand|Select|Wrap|Line Numbers
  1. <div id="menu">
  2. <ul>
  3.     <li style="width:150px;"><a href='AboutUs.html' class='menu_font' name="image1" border="0" id="image1" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_0,0,29,null,'image1')" onMouseOut="MM_startTimeout();">&nbsp;About Us</a></li>
  4.  
  5.     <li style="width:150px;"><a href='Services.html' class='menu_font' name="image6" border="0" id="image6" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_6,0,29,null,'image6')" onMouseOut="MM_startTimeout();">&nbsp;Services</a></li>
  6.  
  7.  <li style="width:150px;"><a href='Certification.html' class='menu_font' name="image3" border="0" id="image3" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_3,-2,30,null,'image3')" onMouseOut="MM_startTimeout();">&nbsp;Certification & Accreditation</a></li>    
  8.  
  9.     <li style="width:150px;"><a href='Resources.html' class='menu_font' name="image4" border="0" id="image4" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_4,0,29,null,'image4')" onMouseOut="MM_startTimeout();">&nbsp;Resources</a></li>         
  10.  
  11.     <li style="width:150px;"><a href='News-Events.html' class='menu_font' name="image2" border="0" id="image2" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_1,0,29,null,'image2')" onMouseOut="MM_startTimeout();">&nbsp;News & Events</a></li>  
  12.  
  13.     <li style="width:150px;"><a href='Customer-Support.html' class='menu_font' name="image5" border="0" id="image5" title="" onMouseOver="MM_showMenu(window.mm_menu_0119103456_5,0,29,null,'image5')" onMouseOut="MM_startTimeout();">&nbsp;Customer Support</a></li>
  14.  
  15.  
  16.  
  17. </ul>
  18. </div>
Big thanks
Nomad
Oct 11 '13 #1
1 1897
aswal
38
Try giving Document Type declaration to your HTML file.....then probably it will work on IE
Oct 29 '13 #2

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

Similar topics

13
by: elad | last post by:
Hi The Menu doesn't work properly when I have 2 frame and the Menu popup frame=document target frame, when I choose item in the menu the doc opened and the menu get stuck. Here is the code...
14
by: DU | last post by:
According to a recent post, it seems that Konqueror 3.1+ and Safari 1.1 support CSS3 opacity style property under a proprietary name: "Support for the CSS3 opacity (using -khtml-opacity)...
30
by: Mark Johnson | last post by:
http://www.geo cities.com/seanmhall2003/css3/compat.html Anyone know if Firefox, say, implements just a tad more CSS3 than this? I was thinking of downloading. It's free, unlike Opera. ...
3
by: Marek Mänd | last post by:
This posting will express my concern about the future of css3 forthcoming recommendation. I think for long time now, that the current implementation of CSS attribute opacity is less than usable...
4
by: Ringo Langly | last post by:
Hi everyone, We're using an outside vendor to provide some content for our website, and they use the http_referer variable to verify their content is only viewed from subscribing customers. ...
3
by: cefrancke | last post by:
The only reason I ask is that no one has made this subject clear or given a definitive answer. What I would like to do is, after turning off all the menus/tbars/etc using the startup options. ...
4
by: Andre Nogueira | last post by:
Hi there. I have created a Windows Control Library project within my solution (using VB.Net 2003) and created a control which inherits the MenuItem class but takes cares of the drawing of the...
2
by: Josh | last post by:
hi frns, currently i have web application in php which has its menus created in javascript. if we do view source on the page, it displays all the javascript which is obvious n natural. but it...
5
by: Amoril | last post by:
I've read quite a few different message on various boards and for some reason I'm still having trouble wrapping my head around this viewstate maintenance and trying to get these dynamically created...
1
by: pedalpete | last post by:
Hey Gang, More difficult to describe this than see it, so here's a link which shows the issue I'm having http://zifimusic.com/testing/broken-hovers.html I've been looking at this for quite a...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.