My favorites | Sign in
Project Home Wiki Issues Source
New issue   Search
  Advanced search   Search tips   Subscriptions
Issue 85: Internet Explorer DragZoom DIV Selecting Issue
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----

Sign in to add a comment
Reported by, Jan 29, 2009
What steps will reproduce the problem?
1. In IE, Drag the cursor over the zoomDiv and the entire div will select, 
turning the map blue.

What is the expected output? 
- Dragging should not select the divs.
What do you see instead?
- In IE only, the divs will select and highlight, frustrating users with a 
blue screen.

The fix:  add zoomDiv.setAttribute('unselectable', 'on', 0); to the code 
below.  This seems to address the issue.

var zoomDiv = document.createElement("div");
['outlineDiv', 'cornerTopDiv', 'cornerLeftDiv', 'cornerRightDiv', 'cornerBo
  for (var i=0; i<DIVS_TO_CREATE.length; i++) {
    var id = DIVS_TO_CREATE[i];
    var div = document.createElement("div");[div], {position: 'absolute', display: 'none'});
    zoomDiv.setAttribute('unselectable', 'on', 0);
    G[id] = div;

Sign in to add a comment

Powered by Google Project Hosting