similar to: New features in prototype-1.4.0_pre11

Displaying 20 results from an estimated 40000 matches similar to: "New features in prototype-1.4.0_pre11"

2005 Dec 08
2
Prototype.js Hash Methods
Hi, Has anyone seen any documentation on the Hash Object defined in the prototype library? To be precise the following methods - 1. keys 2. values 3. toQueryString 4. inspect 5. Merge I am trying to play around with them and have come up with the following examples - var h = $H({name: "john doe", email: "john-Ch9RrZxMC0c@public.gmane.org", msg: "say hello to
2006 Jan 11
9
Prototype & Cookies
Has anyone written any "cookie" class using prototype? Basically, what I am looking for is if there is an easy way to store mutiple cookies in a single cookie using hash or something - easy writing and retrieval (updating the cookie value). For eg - If I had 25 cookies for my domain 5 of the cookies would either get dropped or not be set (as there is a limit of 20 cookies per domain).
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys, I recently published an article documenting some of the more useful and interesting parts of Prototype''s Enumerable, Hash and Array objects. You can find it here: http://encytemedia.com/blog/articles/ 2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash If you have any feedback or suggestions, fire away. Cheers, -Justin Palmer
2006 May 19
11
Prototype / Scriptaculous & Dojo
Are these libs compatible ? At the very least I''d like to be able to use Prototype & Dojo ? Thoughts welcome.. Matt _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to issue the stop() command to a PeriodicUpdater. I''ve come up with a solution that uses setTimeouts to call the stop function. I think my solution is very kludgey... especially since I''m new to Javascript + Prototype. Can anyone let me know if the below code is at all proper? :) --------- Summary: A
2005 Dec 15
3
Generic Question about the way code is written
Hi, This is a generic question about the way code is written in prototype and scriptaculous libraries. Inside every object, we find functions that begin with "_". How are these methods/functions different from the rest? eg _text, _attributes, _each... Please let me know. Thank you, Mandy.
2005 Dec 08
6
What does mean $(element) ?
Hi All, In scriptaculous scripts, I don''t understand this syntaxe : $(element) --8<--------------------------------- Effect.Highlight = Class.create(); Object.extend(Object.extend(Effect.Highlight.prototype, Effect.Base.prototype), { initialize: function(element) { this.element = $(element); ... --8<--------------------------------- I had never seen this syntaxe, I
2005 Dec 04
5
Javascript Logging
Hello Everyone, Just wanted to find out if scriptaculous has a patch for a error logging class? Currently, I have found 2 javascript logging scripts (outside of scriptaculous). Lumberjack: http://gleepglop.com/javascripts/logger/ log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js Could you guys shed some light on what would be a good logger class to use with our
2006 Mar 22
3
document.write() in ajax response
Hi, I am facing a problem and the description is as follows - I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that has some html snippet & some javascript). So far so good - things work fine. However, if 2.html had any document.write code - eg document.write(''hello'') then once the response is received it will be rendered till the point
2006 Jan 10
2
DWR Vs Prototype/Scriptaculous
Hello Everyone, Does anyone have any insight into the DWR library (http://getahead.ltd.uk/dwr/index)? I want to know the pros/cons of using DWR Vs Prototype/Scriptaculous libraries. I am a great fan of the prototype/scriptaculous combination and have been working with them for the last 3-4 months but for some reasons I have been asked to look into DWR. Due to it''s tight integration
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object. Just wanted to check with you guys if this is the correct explanation of toQueryParams(). If yes, then I''ll add it to the documentation as well. Works for me (but I am not sure if it''s the correct way to use it). /* String.prototype.toQueryParams takes a query string, i.e, string with name value pairs
2006 Jan 20
3
disabling drag''n''drop features on some areas
Hi, I have implemented the drag and drop feature to move around some divs, but I have a small side effect i am trying to clear: When the draggable div contains links, and if the user grab the div on the link, the drag is done but the link is also visited, leading to unwanted issues. What I''ve tried to do is to look for all ''a'' tags in the draggable elements in order
2005 Dec 27
2
wiki down
wiki is down yet again. anyone knows the downtime?
2006 Feb 24
1
RE: Appending <tr>''s to Table - Images in<tr>''sloading slowly.
I tried the same thing Ryan - tried preloading the images using javascript once and then using CSS (heights of desperate behavior ;) But no Luck! But, IE is misbehaving in this respect. The application behaves fine once loaded. But, each refresh sucks! Only if I knew why this was happening ... :) Thanks anyway, Mandy.
2006 Mar 04
4
Tree
I''m not sure if this has been discussed, but is there a public tree control based on prototype/script.aculo.us? Thanks Jim _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2006 Mar 03
3
xml handling
Hello there, im having a problem with the xml handling, i want to get and xml node and put things in an input text but im a little lost, im using this code, but isn''t work, what am i doing wrong? --------------------- <a href="#" onclick="getXML()">Get XML</a> <input type="text" value="nothing here" id="respuesta" />
2006 May 15
3
Javascript Profiler
Has anyone implemented a Javascript Profiler based on prototype (or not based on it)?
2006 Mar 01
1
manipulate <td>''s and their content by grabbing their classNames
Hi Guys, What''s the best way to grab all <td>''s in a particular table and manipulate them? Here''s the problem definition - I have a table that has ''n'' <tr>''s. Each <tr> has couple of <td>''s and the first <td> has an image. By default, each <td> has a ''x'' class and image src
2006 May 09
12
prototype: leak with Element.extend
Had a nasty memory leak that was seriously slowing down the browser and eating up a couple megabytes every reload. I was using: $$(''.dyntable'').each(function(elm) { new DynTable(elm) }); To set up my behavior, but discovered that just running: $$(''.dyntable''); Caused the memory leak all by itself. The fix I found for it was to change Element.extend to a
2005 Nov 25
4
Rich Text Editor
I know this doesn''t necessarily fall under AJAX, but does anyone have any plans of donating a RTE (Rich Text Editor) plugin to scriptaculous?