The behaviour you're seeing is a result of the opacity being applied to the Draggable elements via the startEffect (line 191 of dragdrop.js in v1.5).

I saw similar behaviour a long time ago, but I haven't seen it recently. At the time, I disabled the starteffect in the sortable completely (pass {starteffect: Prototype.emptyFunction} in the Sortable.create()).

For kicks, I put your code in a new file, but I didn't see that behaviour (v1.5 of scriptaculous, IE and FF tested). Are you on the latest version of scriptaculous, and is it for sure uncorrupted?

-Jerod

On 3/28/06, Sam Piper <[EMAIL PROTECTED]> wrote:

Hi, I'm new to the prototype and scriptaculous (v1.5.1) libraries.

 

I'm creating a sortable list using the code below, and I'm finding that while a list element is being dragged in IE, the element text is transformed to appear bolder than the original. In Firefox, the text becomes opaque.

 

Is there anyway to stop this from happening, ie don't change any styles while the element is being dragged? I've looked at the demos on the scriptaculous website, and this doesn't happen on most of them, but using the simplest code I could find, it seems to happen by default.

 

Any help is appreciated.

 

Thanks very much.

 

Code is:

 

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">

<html>

<head>

<title> New Document </title>

 

<script language="_javascript_" type="text/_javascript_" src="">

<script language="_javascript_" type="text/_javascript_" src="">

 

</head>

 

<body>

 

<div id="List">

<div>One</div>

<div>Two</div>

<div>Three</div>

<div>Four</div>

</div>

 

<script type="text/_javascript_" language="_javascript_">

Sortable.create('List',{tag:"div"});

</script>

 

</body>

</html>

 

 

Sam Piper

SENIOR DEVELOPER

 

domain.com.au

Level 3 Wharf 7 Pirrama Road

Pyrmont  NSW  2009

D. 02 8596 4405

M. 0421 665 279

E. [EMAIL PROTECTED]

I. www.domain.com.au

 

Part of the Fairfax Digital Network

--------------------------------------

 


_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs



_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs

Reply via email to