similar to: How to know if browser is Prototype.js-capable

Displaying 20 results from an estimated 4000 matches similar to: "How to know if browser is Prototype.js-capable"

2006 Jul 05
4
degrading gracefully - how to tell if JS is enabled?
Is there a RoR best practice wrt determing in a visitor''s browser has JS disabled? Is there even a way to find out? I''ve got a couple of pages in my app that are not going to degrade gracefully at all. I really need to point a visitor who has JS disabled down a seperate path. Any ideas? Thanks, Bill -------------- next part -------------- An HTML attachment was scrubbed...
2006 Jan 16
2
Behaviour.js and prototype Event.pointerX
is there a way to take advantage of prototypes Event.pointerX when using Behaviour to manage my events? somthing like.. var myrules = { ''body'' : function(el){ el.onclick = function(){ alert(Event.pointerX(e)); } } }; thanks ______________________________________________________________________ Alex Duffield . Principal . InControl Solutions . http://
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
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
2005 Nov 15
1
prototype.js mousewheel event patch
Hi All. I made mousewheel event patch for prototype.js . http://rails2u.com/tmp/wheel_demo.html This wheelevent works WinIE & Firefox. If it is good, Would you adapt the patch I made? -gorou _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Mar 15
3
prototype.js Event.stopObserving
anyone have any information on how to effectively use this? Event.observe() doesn''t return anything, and nothing I''ve tried is actually removing the event listeners from the objects. -Jeremy -- Jeremy Kitchen ++ kitchen-RA8HwDor7flnDGu+y90WmgC/G2K4zDHf@public.gmane.org In the beginning was The Word and The Word was Content-type: text/plain -- The Word of Bob.
2008 Jul 11
2
Error in prototype.js ......var value = element.style[style];
Hi, I have a script that throws an error in prototype.js on line 1889. Its just started showing...it''s not breaking my app at all just showing the error. I can''t track back to where it started happening though. It''s this line. var value = element.style[style]; Has anyone encountered this before....do yiou have any hints on how to track this bug down?
2006 Mar 19
3
About prototype.js and IE
Hi! I''m new here and i''m not sure if it''s the place to ask, but i''ll do it anyway. I want to know if it''s possible that my AJAX code could be broken for IE if it works in Firefox... I was developing on firefox for a while and everything was fine. I decided to test on IE and no requests worked... What ca cause this? I can show a sample of my
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; } */ };
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
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
2005 Aug 03
2
Ajax in prototype.js
Can someone please explain to me what I need to do to create an Ajax class using the prototype lib. Thanks, Jon Whitcraft Web Application Developer Online Services - Indianapolis Motor Speedway (317) 492-8623 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://wrath.rubyonrails.org/pipermail/rails-spinoffs/attachments/20050803/2f662bb3/attachment.html
2007 Sep 10
1
Drag and Select Problem in prototype.js version 1.3.1
On jsp page there is text box for searching value in table, the problem is after entering text in that search box then inner text is not selected by mouse dragging. If include of prototype.js is removed then it works fine. Thanks in advance. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2007 Apr 19
1
Is prototype JS 100% open source?
I need to know so I can use it on my projects. Thanks, MD --~--~---------~--~----~------------~-------~--~----~ 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 unsubscribe from this group, send email to
2008 Apr 03
1
Changing the prototype.js from 1.5.0 to 1.6.0.2 causes error in javascript code.
Hi, I am a new member of this group. We are using autocomplete box from "script.aculo.us". It uses the prototype.js file. We are creating the auto completer dynamically in a table. Our code was working on FireFox(FF) but was giving error on InternetExplorer(IE). So we upgraded the prototype.js file today from version 1.5.0 to 1.6.0.2. Only this particular change was done. When we
2006 May 12
1
best list/forum for prototype.js?
Hi, Where is the best place in the net to discuss the prototype.js library? I have some questions that are purely prototype.js questions and unrelated to rails. Thanks, Peter
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");
2007 Jan 22
1
Prototype.js object.constructor exception
I''m trying to debug an a uncaught exception: Permission denied to get property Object.constructor error. I have some code like this: myObject.js ------------ function myObject (arg1, arg2, arg3) { //does some constructor related stuff } myObject.prototype.createSomething = function() { // do more boring stuff // return an Array; } manager.js ----------- var fakeHashMap = new
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 :(