VirtueMart Forum

VirtueMart 2 + 3 + 4 => Virtuemart Development and bug reports => Topic started by: chocovo on February 03, 2012, 23:33:36 PM

Title: Virtuemart 2.0 tab don't work in IE8.
Post by: chocovo on February 03, 2012, 23:33:36 PM
Hello,

I'm a new virtuemart user and normally I use Firefox but this evening I had my first virtuemart problem (now solved) and tried to look if it was a fierfox problem, but the great surprise has been that virtuemart 2.0 don't work fine with Intenet Explorer 8.

In products, the tabs (info - description - state - size - image - fields) don't change. The color of the tabs change when clic on but it stay on info tab.

Sorry for my bad english.

I use virtuemart 2.0 with joomla 1.5.25.

Regards.

Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: enock on February 14, 2012, 03:29:38 AM
Just to confirm - tabs don't work in IE8
Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: HBiT on April 12, 2012, 16:22:12 PM

Joomla! 2.5.4
VM 2.0.4

confirm - tabs don't work in IE8
Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: teobgeno on April 12, 2012, 17:33:48 PM
it is even worst on ie7 .  Throws the classic error of ie7 that cannot open the page

Anyone check it with ie9 ?
Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: atb on April 12, 2012, 17:54:54 PM
As far as I can recall none of the VM2 variants (in any Joomla version) have allowed the tabs to work correctly within the Back End when using IE8, even if put into "Compatibility Mode".  You just have to scroll down manually!

Also, it is not just the tabs, the fancy icon corner folds of the Control Panel and the ability to use "Return" rather than "Click" to initially log in to Joomla fail to work - although more minor.

But, yes, all seems OK with IE9.
Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: HBiT on April 13, 2012, 15:11:12 PM
For fix it  need  change in vm2admin.js:

list += '<li style="width:'+tabswidth+'%"><span>'+ $(this).attr('title')+'<span></li>' ;

to

list += '<li style="width:'+tabswidth+'%"><span>'+ $(this).attr('title')+'</span></li>' ;

and for correct look in ie8
admin_ui.css:
#admin-ui-tabs ul#tabs li {
float: left;
background: #7C7D7F url(../images/admin_ui/tabs-ul-background.png) bottom repeat-x;

Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: papaavola on May 02, 2012, 09:23:39 AM
Thank you HBiT!

;D Your solution works perfectly.
Title: Re: Virtuemart 2.0 tab don't work in IE8.
Post by: atb on May 09, 2012, 00:53:10 AM
Quote from: HBiT on April 13, 2012, 15:11:12 PM
and for correct look in ie8
admin_ui.css:
#admin-ui-tabs ul#tabs li {
float: left;
background: #7C7D7F url(../images/admin_ui/tabs-ul-background.png) bottom repeat-x;


Thanks for the suggested code to overcome this issue, HBiT - makes life easier when using IE8. 
However, I reckon the closing bracket  }  has been missed out.

It seems to work fine when added to the code, around Line 91 or 92  (VM 2.0.6/2.0.7)