similar to: prototype question

Displaying 20 results from an estimated 10000 matches similar to: "prototype question"

2006 May 23
3
Dragging a copy of an image and then reverting
I''d like to drag images onto drop zones. I have a working demo with one problem: the image leaves the dock and then "snaps back" to it: (broken -- image leaves dock during drag then snaps back) http://u32.net/junq/imlib-demo-1/ I can get the image to remain in the dock during the drag using ''ghosting:true''. But how do I keep the original in the dock
2006 Feb 21
1
RE: [Prototype] onSuccess Event and, Ajax.Updater bug in IE
Joe, After removing all occurrences of charset=utf-8 from my headers I am still getting the same bug in IE. Currently, it''s Content-Type: text/html Any other suggestion? Nathan. > Message: 2 > Date: Mon, 20 Feb 2006 09:13:57 -0500 > From: "Joe Hudson" <joe-x8g0hQFNjJhWk0Htik3J/w@public.gmane.org> > Subject: RE: [Rails-spinoffs] [Prototype] onSuccess Event
2006 Feb 07
7
What happens to manuals.rubyonrails.com?
Hi guys, does anyone know what happened to the manuals site? I have not been able to connect to http://manuals.rubyonrails.com for two days (I started reading all about RoR yesterday and finished most of the tutorials i could gather, and really enjoyed playing with the rails). TIA! -xiheng -- Posted with http://DevLists.com. Sign up and save your time!
2006 Nov 12
1
prototype and json
I''m using the "Prototype JavaScript framework, version 1.5.0_rc1" and when I add the json.js script (http://www.json.org/js.html) to the document, I get an "Too much recursion" error. Is this version of prototype making some incompatibilities with json.js? Have prototype built in methods for working with json (array 2 json, object 2 json, etc)? Thanks.
2007 Jun 09
23
hoverclass on droppable zone
Hi guys, I''m trying to make a drag''n''drop portal using sortable element. I would like to apply the "hoverclass" option only on the droppable zone instead of the column border. Any idea a about the solution? Thanks for any help, Sabri --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups
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
2008 Feb 21
5
prototype.js hangs page load when included in an HTML page
I have a simple HTML page - stripped everything possible from it. No javascript is invoked (e.g. body onLoad) when the page is loaded I''ve included the new prototype.1.6.0 (and tried 1.6.0.2) in my html page. When I load the page - the browser will render the html content - but the page continues to load - without ever finishing. This is a problem because the code I want to execute in
2006 Jul 20
3
AOP in Prototype / JS
Hey folks I am just investigating using Aspects for logging my main Javascript "interfaces". I don''t believe Prototype has any built in capabilities for this but I just thought I''d check and see how people had tackled this before. I am still getting to grips with core JS so apologies if this is easy or obvious.. I am Googling as we speak also.. Cheers Matt
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
2008 Feb 18
6
inheriting static/class methods with new prototype.js class creation
Hey all. I want something like this to work: var Foo = Class.create(); Foo.myStaticMethod = function(){alert("I''m a static method!")}; Foo.myStaticMethod(); // works var f = new Foo(); f.myStaticMethod(); // doesn''t work, but that''s good--I don''t want it to var Bar = Class.create(Foo); Bar.myStaticMethod(); // doesn''t work, undefined :(
2007 Oct 19
2
string.prototype.isNumeric
Hey all, Just had a need for this, wondering if it is a candidate for inclusion as it is only a single line and I can''t seem to spot any other way of acheiving the same functionality in less code. String.prototype.isNumeric = function() { return (this.match(/^\d+$/) != null); } I used it in the context of: Event.observe(el,''keypress'',function (e) { if
2007 Sep 12
2
Prototype.js and Coremetrics eluminate.js issues
Hi, I am trying to use prototype.js on a JSP that also contains some javascript from Coremetrics (eluminate.js). Coremetrics is used for tracking marketing clicks. When I have both of these javascript imports on the page I get javascript errors in the eluminate.js file. I get javascript errors that say "Undeterminate string constant." It looks like the prototype.js file is somehow
2007 Dec 09
5
capturing arrow keypress on IE7 with Prototype 1.6 doesn't work?
Hi! does anyone know a fix for this? in FF and Opera everything is fine, but in IE7 arrow keys are ignored. thank you --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to rubyonrails-spinoffs-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To
2008 Mar 21
4
Prototype.js event.stop(event) FF2 not working
stop: function(event) { if (event.preventDefault) { event.stopPropagation(); event.preventDefault(); } else { event.returnValue = false; event.cancelBubble = true; } } /* br original stop: function(event) { Event.extend(event); event.preventDefault(); event.stopPropagation(); event.stopped = true; } */ };
2008 Feb 15
2
Where to report typos/bugs in the Prototype API online docs?
I was wondering where to report typos/bugs for the Prototype online API docs (http://prototypejs.org/api)? Seems a bit overkill to submit typos to the Rail Trac - but perhaps that''s the correct place? Additionally, the website indicates that this documentation is written in Markdown. Is the documentation from which the online API is generated in SVN? I saw a documentation branch
2006 Mar 09
13
[prototype] how i send Dynamic form field values??
I want to know how can i send the values of form fields build dynamic with prototype. i have the form as follow: <form id="id" method="post" action="url"> <div id="dynamicFields"></div> </form> with prototype i fill the dynamicFields DIV with <input> and <select> tags, but when i submit the form the values of
2007 Oct 15
3
JavaScript error after including Prototype library
Hello, I''ve started seeing this error after including Prototype: Form.Element.Serializers[method] is not a function http://qaslweb1.crossmediaservices.com/shoplocal/scripts/prototype.js Line 2754 You should be able to see this error, using either Firefox or IE, when browsing to: http://qaslweb1.crossmediaservices.com/ Any ideas? Since this is a version of our original site rebranded
2006 Apr 18
7
[Prototype] evalScripts not working for me
I think I am experiencing the variable scope problem with evalScripts. I have this block of code being returned from an Ajax.Updater call, as shown by FireBug or one of those other Firefox plugins. I have tried to boil it down to the minimum code. <script type="text/javascript"> test = function() { alert("test"); }; </script> <table
2007 Sep 18
4
Prototype.js and Multidimensional Arrays
Hi there, this code works only fine , if i dont embedding the prototype.js in my document: <script type="text/javascript"> var myCheckBox2 = new Array(); myCheckBox2[''Ort''] = new Array("hamburg","berlin","hannover"); myCheckBox2[''Art''] = new Array("programmierung","support");
2005 Dec 12
7
possible opera+prototype bug in evalscripts?
Hi all, I use the ajax updater with evalscripts=true. When I load HTML with included <script> tags, I get this error in Opera 8.51: ------------------- snip ----------------------------- http://ccml.uni-weimar.de/ Timeout thread: delay 10 ms Error: name: EvalError message: Statement on line 258: Illegal use of eval Backtrace: Line 258 of linked script