Displaying 20 results from an estimated 8000 matches similar to: "sorting"
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
2006 Jan 11
2
Good OOP and JS books / tutorials? Looking to teach my team
Can anyone recommend good books, online tutorials, or any other learning
materials for Javascript - specifically Object Oriented Programming using
JS?
I want the rest of my dev team to be able to help me code in JS,
specifically using prototype and scriptaculous. I''ve been using JS for so
long, and I kinda "grew up" on OOP programming but my whole team is
Coldfusion
2006 Feb 27
30
Calendar widget
Has anyone made, or does anyone know of, a nice calendar control based
on prototype/scriptaculous out there yet? Thanks in advance!
Sincerely,
Ryan Gahl
Design Engineer
Camtronics Medical Systems (an Emageon Company)
Ryan.gahl-nlycWCgr5/vuufBYgWm87A@public.gmane.org
262-369-3251
The information transmitted in this electronic mail is intended only for the
person or entity to which it
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 13
6
performance
I''ve got a page I''ve implemented a bunch of observables and
sortables. There are around 330 items in the list. The Observables
(for hide/show of sublists) don''t seem to impact performance, but the
Sortables take a very long time to load when the page is refreshed or
submitted--even after accounting for the server-side processing and
latency. I''ve
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
2005 Oct 15
3
latest prototype breaks toggle
I''ve found that when I revert this change, toggle works again.
Otherwise, it''s broken (Mac OS Tiger, Safari and Firefox):
- element.style.display =
- (element.style.display == ''none'' ? '''' : ''none'');
+ Element[Element.visible(element) ? ''show'' : ''hide''](element);
I looked
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
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
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 Apr 04
2
typo 2.6.0 with vendor/rails
I noticed that the 2.6.0 Typo with vendor/rails has only migration
scripts numbered 1 to 9, while the tagged branch of 2.6.0 Typo has
migrations numbered 0 to 24. I haven''t seen any notes about this.
Anyone know what''s up?
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:
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 Aug 02
7
form_for not working with Markaby
I''m playing around with Markaby and I decided to write a little blog app.
I''m running into issues with forms however. If I use form_for the output of
the form gets swallowed. For example:
form_for :article, @article do |f|
f.text_field :title
f.check_box :published
f.text_area :description
f.text_field :pub_date
f.text_area :content
end
gets rendered as an empty form
2005 Oct 17
2
triggering event handlers
I''ve registered onClick events I want to trigger from javascript, but
can''t seem to find a way to do this. It seems like it should be
obvious and easy, but I''m not finding the answer. :-(
Thanks,
Jamie
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.
2005 Jul 21
3
Question about sortables
Hi,
I''m trying to use sortables to sort table rows and move them between
different tables (yes, it''s actual tabular data ;). However, either I
don''t know how to use the tag property of Sortable.create properly, or
it''s only working for li''s. Since it''s probably the first option,
could someone post an example of sorting tr tags and move them
2005 Dec 04
2
Adding sortables dynamically
Hi all,
is there a way to define the containment option for a sortable so
that it is a class name instead of an id list?
I have a case very similar to the sortable lists demo, the only
difference is that I'm adding new list containers dinamically, so
either I need to redo the Sortable.create calls for all new elements
to include the newly added container, or having someway to have them
2005 Dec 08
3
Uncomplete hiding on Firefox 1.5
Hi all,
I have observed the following on Firefox 1.5 (both on XP and OSX):
My page has some div containers that hold sortable ul. The div's also
contain links for showing/hiding the contained ul's. No matter which
effect I use to do the hiding and showing (Fade/Appear, SlideUp/Down,
BlindUp/Down) the hidden ul's don't hide completely, leaving a blank
'trace' behind.
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/