Displaying 20 results from an estimated 3000 matches similar to: "performance"
2005 Oct 17
11
a better question
I''m trying to call a click() event on an <a href> that has an
Observable registered for it. Something like:
<a href="#" id="toggle_1929">show</a>
...
Event.observe("toggle_1929", ''click'', function(event){ Element.toggle
("group_1929"); return false; });
...
$("toggle_1929").click(); //this throws
2005 Oct 03
3
Sortable and the Server
I want to build a sortable list that updates the server when the item
is dropped into its new position. How to create a sortable list is
clear, but I''m looking for an example of how to integrate this with
the server side. Are there any examples or tutorials around? I''m
working in a java environment.
Thanks,
Jamie
2005 Oct 18
0
RE: Error: "onclick() is not a function"
I see what he is saying now. When you assign a click event with the
Event.observe it does not allow you to call it with the
$(''xxx'').onclick(); command as it''s looking for the onclick tag in the a
tag.
I''m stumped on a way to get this to work.
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
2005 Oct 04
3
serialize()
Near the end of the Sortable.serialize() method, there is a split
command that splits on an underscore. What is the convention it''s
following here and is it documented somewhere?
Thanks,
Jamie
serialize: function(element) {
element = $(element);
var sortableOptions = this.options(element);
var options = Object.extend({
tag: sortableOptions.tag,
only:
2006 Jan 25
10
Ajax.InPlaceEditor onSuccess: ???
I''m looking for onSuccess: in Ajax.InPlaceEditor, but it doesn''t
appear to exist. onComplete isn''t what I need because I only want my
callback on success. Is there a way to do this?
Thanks,
Jamie
2005 Oct 11
8
Sortable as a class?
Hi there!
My first post to this list, so first of all many thanks for the amazing
Scriptaculous library. I''m currently using it for some nice Ajax effects
in Apache Cocoon (http://cocoon.apache.org/).
I''m currently struggling with Sortable, which I would like to adapt as
the conventions used in Cocoon are different from those currently used.
Basically, I would like to send
2005 Oct 04
5
sorting
I just want to confirm that it''s *not* possible to sort <tr>s in
tables....
Jamie
2005 Oct 14
6
Draggables onDragStart
Skipped content of type multipart/alternative-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 1027 bytes
Desc: image001.gif
Url : http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20051014/b3c26edf/attachment.gif
2006 Jul 10
6
ubuntu & mongrel
I''m getting the following error. Which apt-get install <some missing
package> do I need to run? looks like some build tools.
Building native extensions. This could take a while...
extconf.rb:1:in `require'': no such file to load -- mkmf (LoadError)
from extconf.rb:1
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
2006 Mar 27
5
InPlaceEditor convertHTMLLineBreaks
I''m curious if anyone else has a need to disable
*convertHTMLLineBreaks*. I actually need to show the <p>''s and <br>''s
in the editor and browsing the source code, see that this isn''t
configurable.
Jamie
2006 Jun 13
11
markaby
What''s the current status of Markaby? I''ve played with it a bit and
love it and am considering using it for a large project I''m starting.
If you''ve used it, I''d love to hear your comments!
Jamie
2006 Nov 27
5
win32 problems
I''m setting up a Rails app for a client that uses Windows. I''m
getting this error:
c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/lib/mongrel/rails.rb:
32: uninitial
ized constant Mongrel::HttpHandler (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/
custom_require.rb:21:in `re
quire''
from c:/ruby/lib/ruby/gems/1.8/gems/mongrel-0.3.18/bin/
2007 Mar 04
6
FreeBSD 6.1 mongrel_cluster and procfs message
I''m running the latest mongrel (1.0.1) and the latest mongrel_cluster
(1.0.1.1) on FreeBSD 6.1.
When I use capistrano to try to stop or restart my cluster I get this
(partial) output:
ps: Process environment requires procfs(5)
And my Mongrel processes haven''t stopped.
Any ideas?
Thanks,
Jamie
2005 Nov 30
3
Downcasing Legacy Table Column Names
I''m looking for the simplest way to *automatically* downcase the
attribute names of Models mapped to legacy tables that use upper
case. eg:
class Workorder < ActiveRecord::Base
set_table_name "WORKORDER"
end
which has "NAME" as an attribute can use "name" as an attribute.
currently:
workorder = Workorder.find(1)
workorder.NAME # =>
2006 Jun 15
8
Markaby Installation Issues
Ok,
So I followed the directions.. I did a ''gem install markaby'' (which sounds
like its enough to get me going for rails), but I wasn''t sure, so I tried to
install the plugin as well.
Plugin installation fails looking for a file:
Script/plugin install http://code.whytheluckystiff.net/svn/markaby/trunk
Outputs this error:
+ ./trunk/svnindex.xsl
2005 Jan 29
4
format question
how can I get a float to always print two decimal places?
Thanks,
Jamie
2005 Oct 04
2
sorting error "Error: item.id has no properties"
I''ve got some sorting working now, but when the page loads and when I
drag, I keep getting this error:
"Error: item.id has no properties"
My <ul> and <li> elements all have ids. Do child elements all need ids?
Here''s the code from dragdrop.js where the error is being thrown ( a
few lines from the bottom of the file, line 501--HEAD version)
serialize:
2006 Feb 07
1
onHover: can u explain me this function ?
In Sortables, we have a function onHover:
onHover: function(element, dropon, overlap) {
if(overlap>0.5) {
Sortable.mark(dropon, ''before'');
if(dropon.previousSibling != element) {
var oldParentNode = element.parentNode;
element.style.visibility = "hidden"; // fix gecko rendering
2005 Aug 24
1
Strange Bug - Dragging a sortable filled with sortable - the bigger one "stays"...
*** don''t know if i''ll be clear... if not, tell me
Hi.
http://favoris.lichenmedia.com/untitled.htm
I don''t know why, but when I drag those sortables (tagged with the handle
handle) filled with the sortables (the lists with lorem ipsum) The
handled-one "stays" where you dropped them.
When you drag the li between the uls that are the big containers, no
2006 May 29
1
Re-orderable column DataGrid + Patches for Sortable.delay and Sortable.ignorePositionXY
I would love to get some feedback and test a patch to rev. 4380.
First, the money shot - check out this demo of a scriptaculous DataGrid:
http://development.finetooth.com/?p=13
I''m using the <tr> as a sortable with the <th>''s as the sortable elements.
The Patch file:
http://www.commoner.com/~lsimon/scriptaculous/delay_and_ignorePosition_forSortables.diff
The patch