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

Reply via email to