Connecting Tech Pros Worldwide Help | Site Map

Scriptaculous Sortable Uses 100% CPU and very slow

 
LinkBack Thread Tools Search this Thread
  #1  
Old May 17th, 2007, 09:45 AM
DanWeaver
Guest
 
Posts: n/a
Default Scriptaculous Sortable Uses 100% CPU and very slow

Using script.aculo.us sortable.create to allow user to move words
around- is there a way I can speed things up? it is jitterry and slow
even with good spec computer and only six items:


In head:
<script src="scriptac/prototype.js" type="text/javascript"></script>
<script src="scriptac/scriptaculous.js" type="text/javascript"></
script>

Defined in body as as

<div id="DragAgentsDiv" class="sortableList" Style="z-index: 1; left:
22px; position: absolute; top: 408px; cursor:move">
:
<FONT id="DragAgent_4" color="olive" face="Comic Sans MS" size="5"
Quote:
><strong>QlongTestItem&nbsp</strong></FONT>
:
</div>

called using:
<script type="text/javascript">
Sortable.create('DragAgentsDiv',{tag:'FONT', overlap:'horizontal',
constraint:false});
</script>


 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.