-
how to disable smooth menu in IE?
1) Script Title: Smooth Navigation Menu
2) Script URL (on DD): http://www.dynamicdrive.com/dynamici...smoothmenu.htm
3) Describe problem: Makes site slow to load in all versions of IE, works great in all other browsers. How can I disable the js version in all IE to make it degrade to regular css flyout menu(like if js is turned off in browser) but keep it with js for all other browsers?
-
-
OK, I figured it out. To force all versions of IE to degrade to just a css flyout without javascript just use this code for the init section:
<!--[if !IE]>-->
<script type="text/javascript"><!--
ddsmoothmenu.init({
mainmenuid: "nav-cat", //menu DIV id
orientation: 'v', //Horizontal or vertical menu: Set to "h" or "v"
classname: 'ddsmoothmenu', //class added to menu's outer DIV
//customtheme: ["#1c5a80", "#18374a"],
contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
})
//--></script>
<!--<![endif]-->
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
Bookmarks