WebsiteBaker Support (2.8.x) > Templates, Menus & Design
IE8 Beta: ShowMenu2 CSS dropdown menu
cinnamondm:
--- Quote from: phillbooth on March 16, 2009, 09:53:48 AM ---I a websites that works fine in IE6 and IE7 but the BETA version of IE8 simply does not work with the CSS dropdown menu using ShowMenu2.
Has anyone else had this problem and can anyone help with a IE8 CSS fix?
you can take a look at the full css code here http://www.smallwoods.org.uk/templates/runtimecss/menu.css
http://www.smallwoods.org.uk/
you can download IE8 Beta from here: http://www.microsoft.com/windows/Internet-explorer/beta/default.aspx
--- End quote ---
Looks like you have the same as me. When in full IE8 mode, for some reason it's placing the </ul> of the submenu at the very end of the nav with the </ul> for the main menu, instead of at the end of the submenu.
I've been trying some hacks but with no luck so far. But, thought I had the most up to date version of showmenu2 and just noticed I haven't... will try that and get back
cinnamondm:
Scrap that above, I was talking gibberish.
Almost got it... but it's not quite there in Opera, will need to tweak the CSS on the hover slightly.
Replace this in your template: note I've added the if gte IE 6 and removed the if statement for if IE 7
--- Code: ---<?php show_menu2(1, SM2_ROOT, SM2_ALL,SM2_ALL,'<li>[a][menu_title]
[if(class==menu-expand){<!--[if gte IE 6]><table><tr><td><![endif]--><ul>}]
[if(class!=menu-expand){</a>}]
[if(class!=menu-last){</li>}]
[if(class==menu-last){</li></ul><!--[if gte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
--- End code ---
Seems to do the job.
sky writer:
--- Quote from: chio on March 16, 2009, 10:24:08 AM ---Add after <head>
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" />
--- End quote ---
Thank you Chio! This did the trick for me.
Cheers!
Navigation
[0] Message Index
[*] Previous page
Go to full version