You need to log in before you can comment on or make changes to this bug.
The zoom in box is not working in Opera (7.22 on Windows 2000). When trying to draw the box, the whole map image turns read. After this the map zooms in correctly, but something goes wrong with the drawing code.
We have not tested with Opera and probably will not. If anyone wants to investigate this one, we would consider incorporating changes to the javascript code to work with Opera into the mainstream distribution.
I will see if I can find some time to check the javascript code for drawing the zoom box.
any chance of looking at this for the 1.99 release?
I checked to see if this problem still occurs in the pre-release of 1.99. Yes, it still occurs. Then I checked to see if the ROI tool has the same problem in 1.1, yes (but different colour ofcourse). I will try to look into this the coming weekend.
updated version to 1.99
I have had a short look at this. The problem is in the fact that Opera does not support the layer.clip functionality used in the CWCDHTML_ClipLayer function of cwc_dhtml.js. A solution to fully get this working in Opera would need a totally different approach for Opera, which is beyond my current scope. What happens in the current Chameleon version is that the user gets a complete red map when starting with zooming, and this is quite irritating. I would suggest a minor fix which does not draw the box, but which does not result in a red map image. Ideally this should be combined with a transparent pixel, as now you see a small pixel in the upper left corner of the map. function CWCDHTML_ClipLayer(name, clipleft, cliptop, clipright, clipbottom) { var layer = CWCDHTML_GetLayer(name); if (layer != null) { if(CWCIsOpera) { layer.width = 0; layer.height = 0; } else if .....
do you know what javascript we can use to set the value of CWCIsOpera?
CWCIsOpera = navigator.userAgent.indexOf("Opera") != -1;
Paul, is this doable for 1.99? Changed target to 1.99 RC 1.
I have Opera 7.54 and the zoom in box works fine for me, using winxp. This doesnt of course help users of earlier versions, but thought I would mention it. Another problem though is that the "Loading Image... Please Wait" dhtml layer normally doesnt ever go away. Sometimes when you first load it will disappear, but after that any thing you do that brings it up, will have it remain up for as long as you are using the map. Everything works fine otherwise, least as far as I can tell. Ken
I actually got myself a copy of Opera and can confirm that the loading image does not go away with latest cvs version. I am guessing that this is due to the fact that the onload event is not triggered for images. Does anyone know of a javascript reference for Opera? Or a javascript console/debugger? I'm not willing to do a lengthy search for stuff on Opera, but if someone can point me in the right direction, I will try to make it work. Better yet, if someone can fix it and let me know :>