The Joomla! Forum ™



Forum rules


Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.



Post new topic Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Mon Oct 28, 2013 4:45 pm 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Feb 25, 2010 2:38 pm
Posts: 30
Hi - I'm having problems with IE 11 not recognising some javascript and giving the following error popup when the page is visited: Scanstyles does nothing in Webkit/Firefox/Opera.
The popup denies access to the page.
Looking round Google I see that IE is having problems with curvy corners, which I am using on my site www.lucernapartners.com, J2.5.14.
Apparently it happens because Joomla is not recognising IE 11.
I've seen the following fix:
change
this.isMoz=A.indexOf("firefox")!=-1
to
this.isMoz=A.indexOf("gecko")!=-1;
Can anyone tell me where I can find, or add this code to a Beez 20 template?
Or indeed, if there is any other fix that works?
Thanks
Ian


Top
 Profile  
 
PostPosted: Wed Dec 04, 2013 6:01 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 05, 2009 3:30 am
Posts: 37
Location: Canberra, Australia
Curious that this issue should have cropped up with IE11, isn't it? There's a whole colourful discussion at http://answers.microsoft.com/en-us/ie/f ... 8970536cc1 and the general consensus of opinion is to add the offending website to your "compatibility list".

This, however, is an unacceptable solution. While, sure, on the one hand you get rid of the nagging "Scanstyles does nothing in Webkit/Firefox/Opera" prompt - and, in my experience, I have not been denied access to the page after acknowledging the prompt - if you add the website to the list of sites that IE11 will display in "compatibility mode", you will probably lose the "extra" CSS3 additions you might have implemented in your design.

So, the choice comes down to

(a) tolerate the nagging "Scanstyles does nothing in Webkit/Firefox/Opera" prompt - which is going to really going to turn away a section of your users who still think that IE11 is a good browser to work with; or

(b) get rid of the CSS3 additions because, if you've used them, they won't work in IE11 "compatibility mode"; or

(c) figure out what's going on in the Javascript that's making this happen?

For me, I'm not sure if this is a template issue or a Joomla issue (and, in my case, I'm using J! 3.2.0) but I would appreciate some guidance from the CMS team on this one. Thanks


Top
 Profile  
 
PostPosted: Wed Dec 04, 2013 8:58 pm 
User avatar
Joomla! Apprentice
Joomla! Apprentice

Joined: Sun Jul 05, 2009 3:30 am
Posts: 37
Location: Canberra, Australia
The problem, in my case, was caused by curvycorners.js used by some Joomla extensions like swMenu, (among others).


Top
 Profile  
 
PostPosted: Wed Dec 11, 2013 6:46 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Nov 12, 2009 9:23 am
Posts: 41
Location: IL
sozzled wrote:
The problem, in my case, was caused by curvycorners.js used by some Joomla extensions like swMenu, (among others).


hi
im using swmenu too and get this error - can you advice how to fix it ?
thanks
Banrea

_________________
Studio Barnea
http://www.Kbarnea.com
Joomla Experts In Israel


Top
 Profile  
 
PostPosted: Wed Dec 11, 2013 7:12 am 
Joomla! Apprentice
Joomla! Apprentice

Joined: Thu Nov 12, 2009 9:23 am
Posts: 41
Location: IL
ok found the fix here :
https://code.google.com/p/curvycorners/ ... ail?id=119


open : modules/mod_swmenupro/curvycorners.src.js

after the line

this.isIE = agent.indexOf("msie") > -1;


add this line :

this.isIE11=agent.indexOf("trident/7.0")>-1;

and after -

else curvyCorners.alert('Scanstyles does nothing in Webkit/Firefox/Opera');

add this:

else if (curvyBrowser.isIE11) { /*do nothing*/ }

_________________
Studio Barnea
http://www.Kbarnea.com
Joomla Experts In Israel


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 



Who is online

Users browsing this forum: drale01, ionut and 29 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group