WebsiteBaker Logo
  • *
  • Templates
  • Help
  • Add-ons
  • Download
  • Home
*
Welcome, Guest. Please login or register.

Login with username, password and session length
 

News


WebsiteBaker 2.13.6 is now available!


Will it continue with WB? It goes on! | Geht es mit WB weiter? Es geht weiter!
https://forum.websitebaker.org/index.php/topic,32340.msg226702.html#msg226702


The forum email address board@websitebaker.org is working again
https://forum.websitebaker.org/index.php/topic,32358.0.html


R.I.P Dietmar (luisehahne) and thank you for all your valuable work for WB
https://forum.websitebaker.org/index.php/topic,32355.0.html


* Support WebsiteBaker

Your donations will help to:

  • Pay for our dedicated server
  • Pay for domain registration
  • and much more!

You can donate by clicking on the button below.


  • Home
  • Help
  • Search
  • Login
  • Register

  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show_menu2 and IE8 compatability issue
  • Print
Pages: [1]   Go Down

Author Topic: show_menu2 and IE8 compatability issue  (Read 7169 times)

Offline xoanon

  • Posts: 34
show_menu2 and IE8 compatability issue
« on: January 25, 2010, 02:57:06 AM »
Hi,
I use the current code for show_menu2 and have no problems with IE6/7, Firefox etc. However when IE8 is used the compatability button needs to be pressed else the whole screen looks strange..
Please have a look at the code and let me know of any corrections...

<div class="navbar">
    <ul>
     <?php show_menu2(0, SM2_ROOT+1, SM2_ALL, SM2_ALL,'<li>[a][menu_title]
            [if(class==menu-expand){<!--[if IE 7]><!--></a><!--<![endif]--><!--[if lte IE 6]><table><tr><td><![endif]--><ul>}]
            [if(class!=menu-expand){</a>}]
            [if(class!=menu-last){</li>}]
            [if(class==menu-last){</li></ul><!--[if lte IE 6]></td></tr></table></a><![endif]-->}]','','',''); ?>
   </ul>


ps. the original template is multiflex-5n, and the link is http://gvaa.eu/wb or http://www.gvaa.eu

thanks in advance
tony
« Last Edit: January 25, 2010, 03:23:28 AM by xoanon »
Logged

Argos

  • Guest
Re: show_menu2 and IE8 compatability issue
« Reply #1 on: January 25, 2010, 03:11:31 AM »
The solution lies in he CSS probably, not in the show_menu2. So maybe you can give us an URL to see what's happening.
Logged

Offline xoanon

  • Posts: 34
Re: show_menu2 and IE8 compatability issue
« Reply #2 on: January 25, 2010, 03:17:02 AM »
just amended the original post...

>>> the original template is multiflex-5n,   and the link is http://gvaa.eu/wb    or   http://www.gvaa.eu  (currently am in the process of upgrading them to WB 2.8 and run them from two different service providers...)
« Last Edit: January 25, 2010, 03:23:55 AM by xoanon »
Logged

Argos

  • Guest
Re: show_menu2 and IE8 compatability issue
« Reply #3 on: January 25, 2010, 03:31:09 AM »
According to IE8 you have at least 2 javascript errors:

URI: http://www.morphis.id.au/wb/modules/wysiwyg_slider/frontend.js
URI: http://www.morphis.id.au/wb/pages/js/dd-drop/dddropdownpanel.js

But you load so much script before the menu that I'm not surprised there are conflicts. Look for the source of the trouble in these scripts, not in showmenu2.

IE8 is rather picky (and buggy sometimes), but maybe adding the line
Code: [Select]
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7">right under the "Content-Type" statement in your index.php HEAD, will make it behave better. But your template code has still quite a collection of all kinds of scripts... You'd better use jQuery for the effects you want to achieve.
Logged

Offline xoanon

  • Posts: 34
Re: show_menu2 and IE8 compatability issue
« Reply #4 on: January 25, 2010, 04:38:12 AM »
the two script errors removed !! but the compatibility issue continues...
Logged

Argos

  • Guest
Re: show_menu2 and IE8 compatability issue
« Reply #5 on: January 25, 2010, 04:46:12 AM »
Nope, my IE8 has no errrors anymore, and shows the menu. So problem solved... Or did the IE=EmulateIE7 do the trick? I see you added that line.
Logged

Offline xoanon

  • Posts: 34
Re: show_menu2 and IE8 compatability issue
« Reply #6 on: January 26, 2010, 08:13:18 AM »
thanks for the suggestions - ARGOS
regards
Tony
Logged

  • Print
Pages: [1]   Go Up
  • WebsiteBaker Community Forum »
  • WebsiteBaker Support (2.8.x) »
  • Templates, Menus & Design »
  • show_menu2 and IE8 compatability issue
 

  • SMF 2.0.19 | SMF © 2017, Simple Machines
  • XHTML
  • RSS
  • WAP2