Ask a question button Explorer dont work

Change your online store into modern look with myStore eCommerce VirtueMart Joomla template - discussion forum.
GK User
Tue Dec 21, 2010 9:33 am
Hi,

I have a little problem with mystore in ask a question about this product in flypage.
When click not happen anything. IMPORTANT!! THIS ONLY DONT WORK IN EXPLORER . i using internet explorer 8.
Not display the form box, like in img above.

IN FIREFOX ARE WORK ALL RIGHT !

ANY BODY CAN HELP ME.
User avatar
Senior Boarder

GK User
Thu May 05, 2011 4:34 pm
I have maybe the same.

FF all works well, in IE8 it give a scripterror. with or without plugin mootols enabled..
i have mystore_black, joomla 1.5.23 and virtuemart 1.1.8

thats really bad, because every else is fine...
User avatar
Fresh Boarder

GK User
Fri May 06, 2011 7:22 am
ok, after a lot more testing i gave up..

Joomla 1.5.23
Virtuemart 1.1.8
mystore_dark 2.011 as Joomla-Template
mystore_dark 2.011 as default Virtuemart-Template

All without customation, mtupgrade enabled or not enabled, doesnt matter.

i get this script error in IE 8 and iam unable to open the "ask a question"-tab:

Code: Select all
Details zum Fehler auf der Webseite

Benutzer-Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729; .NET4.0C; InfoPath.2)
Zeitstempel: Fri, 6 May 2011 08:22:55 UTC


Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 278
Zeichen: 13
Code: 0
URI: http://krosa.de/templates/gk_mystore_dark/js/gk.script.js


Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 278
Zeichen: 13
Code: 0
URI: http://krosa.de/templates/gk_mystore_dark/js/gk.script.js


Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 278
Zeichen: 13
Code: 0
URI: http://krosa.de/templates/gk_mystore_dark/js/gk.script.js


Meldung: Das Objekt unterstützt diese Eigenschaft oder Methode nicht.
Zeile: 278
Zeichen: 13
Code: 0
URI: http://xxx.de/templates/gk_mystore_dark/js/gk.script.js



the line from gk.script.js is the fourth ## if(evt.getTag() == 'span') { ##

Code: Select all
    if($('gk_product_tabs')){
        $('component').addEvent('click', function(e){
            var evt = new Event(e).target;
            if(evt.getTag() == 'span') {
                if(evt.getParent().getParent().getProperty('id') == 'gk_product_tabs') {
                    $$('.gk_product_tab').addClass('gk_unvisible');
                    $$('#gk_product_tabs li').setProperty('class', '');
                    var num = 0;
                    $$('#gk_product_tabs li').each(function(el, i){
                        if(el == evt.getParent()){ num = i; }
                    });
                    $$('.gk_product_tab')[num].removeClass('gk_unvisible');
          $$('#gk_product_tabs li')[num].setProperty('class', 'gk_product_tab_active');
                }
            } else if(evt.getTag() == 'li') {
                if(evt.getParent().getProperty('id') == 'gk_product_tabs') {
                    $$('.gk_product_tab').addClass('gk_unvisible');
                    $$('#gk_product_tabs li').setProperty('class', '');
                    var num = 0;
                    $$('#gk_product_tabs li').each(function(el, i){
                        if(el == evt.getParent()){ num = i; }
                    });
                    $$('.gk_product_tab')[num].removeClass('gk_unvisible');
          $$('#gk_product_tabs li')[num].setProperty('class', 'gk_product_tab_active');
                }
            }
        });
    }


is anybody out there who can help me or can give me a hint?
User avatar
Fresh Boarder

teitbite
Sat May 07, 2011 1:44 pm
Hi

Are You sure that the VM style You are using is compatible with Your version. We have a delay in this matter, so please downgrade VM to 1.1.6 or wait till the upgrade will be available.
User avatar
Moderator

GK User
Sun May 08, 2011 6:10 am
solved! :-)

i did change the gk.script.js with the one from the light mystore packet. Now it works. Nevermind..
User avatar
Fresh Boarder

teitbite
Tue May 10, 2011 9:48 pm
Hi

I must say that's a great solution :) I wouldn't have thought about it and trying to fix the one You have. Congratulations :)
User avatar
Moderator


cron