similar to: Prototype.js Doc Update

Displaying 20 results from an estimated 10000 matches similar to: "Prototype.js Doc Update"

2006 Jan 22
0
Using prototype.js Documentation - UPDATED VERSION TO COVER 1.4.0
Hi Everyone, The most popular documentation on prototype.js now got even better. The earlier one was for version 1.3.0. Sergio Pereira has updated his documentation to cover prototype.js version 1.4.0. http://www.sergiopereira.com/articles/prototype.js.html <http://www.sergiopereira.com/articles/prototype.js.html> -Mandy. _______________________________________________
2005 Aug 22
1
Docs for prototype.js
I just found this (by way of comp.lang.javascript), and article on the use of and reference for prototype.js. http://www.sergiopereira.com/articles/prototype.js.html I haven''t checked the details, but it looks pretty good. The author points out that it is un-official. Sam, if you''re reading this, is there a chance of giving it an official blessing? Michael -- Michael
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
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
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 &amp; Dojo ? Thoughts welcome.. Matt _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
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
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
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.
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 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 11
0
RE: extending the Element.prototype to provideasetAttributes function
No problem, also check out bindAsEventListener for attaching functions to element events, still maintaining your object as the "this" in the event handler scope at the same time having access to the originating "event" object. In case you haven''t found this resource yet: http://www.sergiopereira.com/articles/prototype.js.html -----Original Message----- From:
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 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
2006 Mar 31
3
refreshing JS libraries on client?
Hi folks, So I''ve got this app built on prototype, with a bunch of extra JS classes to do what we want. Now the problem is, when I make a change to one of those JS files (or an upgrade to prototype itself), how do I ensure that the client browsers refresh their cache with the latest JS? Clearly I want the browse to cache the large JS files, but I also want that cache to expire at
2006 Apr 07
6
ajax loading message
Hello, I''m looking for some help - I''m having problems in getting the loading message to disappear - sometimes it disappears, sometimes it doesn''t. This is the javascript I have: ajaxContent: function(iTabPos) { if (isNaN(iTabPos)) return false; var iTabIndex = this._posToIndex(iTabPos);
2006 Jan 10
1
Queuing Ajax Requests
Hi, It''s very obvious that for something like Autocomplete if we send a request to the server on every key stroke it''s going to be an overkill. So, I wanted to check if scriptaculous/prototype has some queuing mechanism for remote calls? Thanks, Mandy.
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 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" />