Select to view content in your preferred language

Scale Slider on Opera 11.0.1

729
3
02-28-2011 11:12 AM
HemingZhu
Frequent Contributor
I am testing my app on Opera 11.0.1 and everything works OK except the scale Slider don't display properly. I used one of the sample apps to test and got the same result. Any idea?
0 Kudos
3 Replies
derekswingley1
Deactivated User
Opera isn't listed here as a supported browser:  http://resources.arcgis.com/content/webapis/2.0/system-requirements

And, I don't know if it still applies, but opera wasn't listed a supported browser for all of dijit a while back.
0 Kudos
JianHuang
Deactivated User
Only the newest version of Opera shows the issue. It seems that Opera doesn't like the ticks. If setting tick as 0 in esri.config.defaults.map.sliderLabel, it works fine. Of course, that would lose the ticks. Please add the following code to the init() function:
        if (dojo.isOpera) {
          esri.config.defaults.map.sliderLabel = {labels:null,style:"width:2em; font-family:Verdana; font-size:75%;",tick:0};
        }

Hope this helps.
0 Kudos
HemingZhu
Frequent Contributor
Only the newest version of Opera shows the issue. It seems that Opera doesn't like the ticks. If setting tick as 0 in esri.config.defaults.map.sliderLabel, it works fine. Of course, that would lose the ticks. Please add the following code to the init() function:
        if (dojo.isOpera) {
          esri.config.defaults.map.sliderLabel = {labels:null,style:"width:2em; font-family:Verdana; font-size:75%;",tick:0};
        }

Hope this helps.


It works althrough without ticks. By the way, I have tested my apps on IE, Firefox, Google chrome, Navigator, Sfari and Opera. Overall it is very impressive. Thanks.
0 Kudos