Results 1 to 1 of 1

Thread: Split Menu Buttons not working in IE 9

  1. #1
    Join Date
    Dec 2012
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Split Menu Buttons not working in IE 9

    I am trying to use the "Split Menu Buttons" API:

    http://www.dynamicdrive.com/dynamici...enubuttons.htm

    Under IE 9, the above URL renders correctly. However, when I try viewing the following sample code under IE 9:

    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    <html> 
    <head>
    <link rel="stylesheet" type="text/css" href="splitmenubuttons.css" />
    
    <script type='text/javascript' src='https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js'></script>
    
    <script src="splitmenubuttons.js">
    
    /* Split Menu Buttons: created: Aug 8th, 2012 by DynamicDrive.com. This notice must stay intact for usage 
    *  Author: Dynamic Drive at http://www.dynamicdrive.com/
    *  Visit http://www.dynamicdrive.com/ for full source code
    */
    
    </script>
    
    <script>
    
    jQuery(function(){ // on document load
    	$('a[data-showmenu]').splitmenubuttonMenu() // Add split button menu to links with "data-showmenu" attr
    })
    
    </script>
    </head>
    
    <body>
      <a href="#" data-showmenu="dropmenu2" class="splitmenubutton">Default choice</a>  
    
      <ul id="dropmenu2" class="splitdropdown">
         <li><a href="#">Second choice</a></li>
      </ul>
    </body>
    </html>
    This is what shows up in IE 9:

    Click image for larger version. 

Name:	screenshot.jpg 
Views:	165 
Size:	38.5 KB 
ID:	4850

    The down arrow is not showing up in IE 9. The sample code works fine with Chrome and Firefox.

    I'm using the default settings in IE 9. What could the problem be?

    Thanks
    --Andrew
    Last edited by andrewkl; 12-19-2012 at 01:19 AM. Reason: update title

Similar Threads

  1. 'New' tab >> Split Button Menu, goes to Anylink CSS menu page
    By Beverleyh in forum Dynamic Drive scripts help
    Replies: 2
    Last Post: 09-19-2012, 04:50 AM
  2. Split Menu Buttons CSS-Based Menu
    By VSDan in forum Dynamic Drive scripts help
    Replies: 3
    Last Post: 08-23-2012, 03:28 PM
  3. Resolved Smooth Navigation Menu: Center Menu Buttons (& text)
    By keith10456 in forum Dynamic Drive scripts help
    Replies: 7
    Last Post: 08-13-2009, 11:30 PM
  4. Vista Aero Buttons Menu Variation (Horizontal CSS Menu)
    By waskol in forum Submit a DHTML or CSS code
    Replies: 0
    Last Post: 05-15-2009, 01:40 AM
  5. Replies: 2
    Last Post: 04-15-2008, 07:20 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •