[OpenLayers-Users] selecting text in popup...

John Cole john.cole at uai.com
Fri May 11 11:50:37 EDT 2007


I'm trying to select the text from a OpenLayers.Popup, but it doesn't seem
to be working.

Looking at the popup.js, it appears that the intent is to allow selecting
text:

/** When mouse goes down within the popup, make a note of
     *   it locally, and then do not propagate the mousedown 
     *   (but do so safely so that user can select text inside)

Searching the code, it appears that several areas are setting
document.onselectstart = function() { return false; } to turn off selecting
text.

I've located all of these calls, placed break points on them in firebug, and
tried to select text in the popup, but none of these are being hit.

Are there any other points where selecting is disabled besides the
onselectstart functions?

Thanks,

John

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.467 / Virus Database: 269.6.8/797 - Release Date: 5/10/2007
5:10 PM
 
This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the sender. This message contains confidential information and is intended only for the individual named. If you are not the named addressee you should not disseminate, distribute or copy this e-mail.



More information about the Users mailing list