Hi,

I think we can use this solution along with
setTextSelectable() to prevent text and images from
being selected during a drag, agree?

for example:

var l = new DynLayer('',0,0,100,100,'yellow');
l.setDragEnabled(true);
// user can drag layer but text will not
// be selected during drag
l.setTextSelectable(false);

// The shieldLayer workaround will be implemented
// within the API. No need to code your own.

....

<DIV ID="shieldLayer" STYLE="position: absolute; left:
0px; top: 0px; width: 110%; height: 100%;
background-image: url(images/blank.gif); z-index: 18;
visibility: hidden;"></DIV>

When a onMouseDown event is triggered when we are
using a drag scroll technique we simply toggle the
visibility of the layer to on. When the mouse leaves
the event capturing layer we then hide the
shieldLayer. It is important that the shield layers
z-index be set to higher than everything else on the
page except for the event capturing layer. Do this and
no more highlighting of images and content with
dragging techniques in Internet Explorer.

....


--
Raymond Irving

__________________________________
Do you Yahoo!?
The New Yahoo! Shopping - with improved product search
http://shopping.yahoo.com


-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
SourceForge.net hosts over 70,000 Open Source Projects.
See the people who have HELPED US provide better services:
Click here: http://sourceforge.net/supporters.php
_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/[EMAIL PROTECTED]/

Reply via email to