Displaying 20 results from an estimated 90000 matches similar to: "Cross-browser Keypad Recognition"
2007 Oct 22
2
Form selector is not cross-browser consistent with label elements
I have found that Prototype does not select the same value based on
the $F form selector.
Consider this HTML snippet:
<label for="search">Your query<input name="q" value="" type="text"
id="search"></label>
Using $F(''search'') returns:
- ''''Your query" in Firefox 2
- "Your query"
2007 Oct 15
2
Cross-Browser History management
Hi !
Is it plan to release a Browser History Management in Scriptaculous ?
Or does anybody know a "prototype" library to manage browser history
compatible with IE6, IE7 and FF ?
We tried to use Really Simple History:
http://code.google.com/p/reallysimplehistory/
But it seems to be incompatible with some Prototype event management.
Regards,
Jp
--
Jean-Philippe Encausse - Veille /
2007 Oct 06
3
Prototype: resp.getHeader('Location'); redirects browser
Why when I call resp.getHeader(''Location''); after my ajax call does
the browser get redirected to the location header. I just want to get
the value of it.
--~--~---------~--~----~------------~-------~--~----~
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
2007 May 13
4
How to know if browser is Prototype.js-capable
Hi,
I looked in the documentation but i did not found any answer to the
following question:
Is there a mean to detect if the browser is actually capable to handle
prototype ?
I should write an simple HTML loader page (like gmail does) which
checks if the browser is able to use prototype and then sets
window.location depending on the test result.
Is there a "standard" way to do this ?
2008 Mar 15
0
Prototype viewportOffset browser problem
hi folks,
i have a problem with the Element.viewportOffset() method.. here''s a
little demonstration script ->
http://audiovandalen.com/dev/scripttests/viewport/
if you hover the first row of the table its viewportOffset().top says
101
now, if you scroll down to the end and hover row #3, it also says (and
should respectively) 101, because its there where row #1 was before..
this
2007 Jun 24
0
Browser-level "Loading" Cursors for AJAX
I''ve only tested this in Firefox so far, but it seems handy. One more way to
let people know that stuff is going on behind the scenes.
var SomeAjax = new Ajax.Request("/some/address", {
onCreate: function() { document.body.parentNode.style.cursor =
"progress" },
onComplete: function() { document.body.parentNode.style.cursor =
"default" } })
--
2007 Mar 14
0
SV: Re: script.aculo.us question
Another option would be to use conditional comments, which is only supported in IE. Either in the javascript:
/*@cc_on @*/
/*@if (@_win32)
Event.observe(window, ''load'', ...(replace img)...);
/*@end @*/
Or in the HTML for including the script (this support checking versions):
<!-[if lt IE 7]>...include script...<![endif]-->
2007 Nov 28
1
Cross-domain ajax with prototype?
Hi all
I''m doing some testing to find a way to make two different sites come
together ''as one'' ...
So I tried doing an cross-domain ajax-request to the ''other system'',
but it (obviously) fails.
Is there any way this can work with prototype?
Best regards
Martin
--~--~---------~--~----~------------~-------~--~----~
You received this message because
2006 Feb 10
1
RE: sorting <a href..> with D&D follows the link(browser thinks I click)
Maybe don''t make anchor tags draggable? Or you could do something like
change the href to point to ''#'' and move the actual href into your
javascript, and only call it if they click without dragging. Still, I
think making a clickable item draggable is begging for problems.
> -----Original Message-----
> From:
2007 Apr 04
2
Is Element in Viewing Range
How could I tell if an element is visible? Not visible as in the css display
property, but visible in the browser''s clipping area. So if I had a long
list of columns and wanted to know if the user has to scroll horizontally to
see the last one.
Thanks!
Daniel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
2008 Feb 10
3
Ajax.Request evalJSON document.write hangs
I''m not the best when it comes to javascript so this is probably a
simple mistake. I''m using the following code to read an external json
file and print out its values. The problem is when I try to write the
value to the browser it causes the browser to load like it hasn''t
finished the javascript code. Its writing the value to the screen so I
think its hanging after that
2012 May 23
0
Centos 6 - tigervnc - numbers on keypad
I have a ncurses-based program that runs on a vnc desktop on a remote
computer. On Centos 5 you could enter numbers into the program using the
numeric keypad. I just installed a new machine running Centos 6 to do this
same job and now numbers can only be entered using the numbers across the top
of the keyboard. The program still recognizes the keys on the keypad when
numlock is not set (so you
2008 Mar 24
3
this.initialize is undefined
this.initialize is undefined - prototype.js: Line 48
This error occurs with the following JS:
<script src="prototype.js"></script>
<script>
function loadBrowseMode()
{
$(''browser'').update("Loading...<br/>");
Ajax.Request(''browse.php'', {
method:''get'',
parameters: {
list:
2007 May 20
2
Get first class name
I have a situation where I need to get the first class name of an
element.
Element.ClassNames() returns an object not an array...
Object.values() will turn it into an array, but the API Docs say that
the order of the resulting array is browser-dependent.. So for my use
is no good...
So I am using:
el.className.split(" ").first();
Can any one see any problems that I might
2006 Jun 14
1
Cross Browser Popups
Hi,
Does anybody have a little cross-browser piece of code
to resize a popup ?
Excatly, I don''t know if it is possible ?, I would like to open
a popup on the side of an existing window like if it would be a tabpane.
So reducing window width by the width of the popup, set the popup on
the side of the window. And the best of the best: when the window is
resize, resizing the popup also
2007 Sep 24
1
IE memory leak and update()
Hello
I have following code in my project and it''s a question for me if it
causes memory leaks in IE.
pagePart = getSearchResult(); // retrieve part of the page w/ search
result from server
$(''container'').update(pagePart);
$$(''#container a'').each(function(a) {
Event.observe(a, ''click'', ...); // handlers for link clicks
});
As you
2007 Mar 03
1
Ajax.Updater with evalScripts: true strips curly braces
When I return an html fragment to Ajax.Updater with evalScripts: true set,
and there is a script fragment with curly braces in it (a function
declaration or an object literal), the curly braces are getting stripped out
somehow, and leaving me with invalid JS.
I think this is the case because I put an alert in the evalScripts method
right before the "return eval(script)" and it had no
2007 Jun 27
1
Prototype 151; Ajax.Updater vs Ajax.Request and evalScripts=true
Why does Ajax.Updater() and Ajax.Request() differ in how evalScripts
is handled? Or doesn''t it, and I just got it wrong?
I have a module that generates an Ajax request to insert dynamic
content into a div. The dynamic content is plain vanilla HTML with
some inline javascript *functions*
I cannot get the browser to honor/execute/see those javascript
functions when I use .Request()
If I
2006 Aug 24
3
Two problems with Sortable
Hello-
I''m having two problems with the sortable class:
1. I have two sortables whose items can be dropped between them. The
immediate parent <div> of each these adjusts its height accordingly,
but any grandparent or n-parent <div>s do not adjust their height.
2. In everyone''s favorite browser, InternetExplorer, the handler text
is selected and the sortable
2008 Jan 16
2
Ajax Response responseXML is null in IE
This may be a Prototype question but is probably a general JavaScript
question. I am creating an Ajax.Request and getting back a response
that should be evaluated as XML. But in IE, in my onSuccess function,
the response.responseXML object is null. In Firefox it works
properly.
I have checked the three things that are supposed to determine whether
the browser interprets the response text as