[Proto-Scripty] Re: The order of iteration with Hash objects.

2011-10-06 Thread T.J. Crowder
On Oct 5, 2:39 pm, Shane McCarron halindr...@gmail.com wrote:
 If the sorted order of the hash keys isn't what you want, you might also
 consider assigning ordinals as part of the hash key.  Assuming you have less
 than 1 hash keys, I would do something like _myKey as a key, where
  is a number that you increase each time you put an item into the hash.

You'd still have to sort the keys after retrieving them, they won't be
guaranteed to be iterated in order.
--
T.J. Crowder
Independent Software Engineer
tj / crowder software / com
www / crowder software / com

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] Re: The order of iteration with Hash objects.

2011-10-06 Thread Shane McCarron
Yes.  Of course.
On Oct 6, 2011 10:54 AM, T.J. Crowder t...@crowdersoftware.com wrote:
 On Oct 5, 2:39 pm, Shane McCarron halindr...@gmail.com wrote:
 If the sorted order of the hash keys isn't what you want, you might also
 consider assigning ordinals as part of the hash key.  Assuming you have
less
 than 1 hash keys, I would do something like _myKey as a key,
where
  is a number that you increase each time you put an item into the
hash.

 You'd still have to sort the keys after retrieving them, they won't be
 guaranteed to be iterated in order.
 --
 T.J. Crowder
 Independent Software Engineer
 tj / crowder software / com
 www / crowder software / com

 --
 You received this message because you are subscribed to the Google Groups
Prototype  script.aculo.us group.
 To post to this group, send email to
prototype-scriptaculous@googlegroups.com.
 To unsubscribe from this group, send email to
prototype-scriptaculous+unsubscr...@googlegroups.com.
 For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en.


-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] Re: Instance methods and stopObserve

2011-10-06 Thread kstubs
T.J.

Had to think outside the box on that one, I didn't know you could first: 
 create the event listener event, then second: pass it in as the method 
argument for observe.  That's a good one!

Thanks for the help on this.
Karl..

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/6MlBXMqxNtcJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



[Proto-Scripty] BlindUp to a visible state

2011-10-06 Thread kstubs
I am using the BlindUp effect, but I don't want the element to disappear, 
but to BlindUp to a factor of X and then remain visible.  Is this possible?

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/prototype-scriptaculous/-/kn1t3NmzYOYJ.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.



Re: [Proto-Scripty] BlindUp to a visible state

2011-10-06 Thread Walter Lee Davis
Not directly with BlindUp, but you could probably do this very easily with 
Effect#morph.

Walter

On Oct 6, 2011, at 1:34 PM, kstubs wrote:

 I am using the BlindUp effect, but I don't want the element to disappear, but 
 to BlindUp to a factor of X and then remain visible.  Is this possible?
 
 -- 
 You received this message because you are subscribed to the Google Groups 
 Prototype  script.aculo.us group.
 To view this discussion on the web visit 
 https://groups.google.com/d/msg/prototype-scriptaculous/-/kn1t3NmzYOYJ.
 To post to this group, send email to prototype-scriptaculous@googlegroups.com.
 To unsubscribe from this group, send email to 
 prototype-scriptaculous+unsubscr...@googlegroups.com.
 For more options, visit this group at 
 http://groups.google.com/group/prototype-scriptaculous?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
Prototype  script.aculo.us group.
To post to this group, send email to prototype-scriptaculous@googlegroups.com.
To unsubscribe from this group, send email to 
prototype-scriptaculous+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en.