Jonny ..
i wrote this a few months back and forgot about it ...
Its the basics you will need to achieve what you want to do
Any questions please ask
http://proto-scripty.wikidot.com/prototype:how-to-throttle-ajax-requests
Regards
Alex
- Original Message -
From: Alex Mcauley
Hey all,
I'm using a handy function written by Thomas Fuchs for using an
input field as a hint. The problem is, I want to use a password field
as a hint also. I tried doing things like $('password').type =
'text', things like that to change the type on the fly, but IE doesn't
support this. I
Hi,
I had the same problem yesterday.
Basic simple working example is here:
http://dl.getdropbox.com/u/530105/input.html.
Just check it - all in one file.
Script which I've created last night which is working on all input
fields on a page is here http://pastie.org/404519. It is really messy
Uppps, second script is not working in IE. Forget about it.
Simple solution for one password field you still have here
http://dl.getdropbox.com/u/530105/input.html.
You can also change it to add mockpassword input dynamicly in your
script.
I then tried cloning the node and replacing it, but
Version with second field added in script
http://dl.getdropbox.com/u/530105/input2.html
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To post to this group, send email to
This code works in firefox 2, firefox3 and chrome but in in opera,
ie6, ie7 olive div appear in wrong place when u scroll list. In ie it
goes up and in opera down. Why, any solution?.
style
ul{margin: 200px 0px;padding: 0px;list-style: none;background-color:
blue;overflow:
My code is to preview webpages when user move mouse over a/a. At
the same time, my code has other parts using Prototype
periodicalupdater.
The following code can work well independently:
// javascript preview program start
var ci;
var xPos,yPos;
Event.observe(window,'load',function(){
Hi.
I'm currently using an iframe to act as a report downloader.
The user enters some criteria which is generated dynamically as they
change options. They then click a document button (PDF, XLS, DOC) and
this is sent to the server for validation. The result is a key for the
Crystal Reports. The
On page that iframe load u can put code:
script type=text/javascript
parent.name_of_some_js_function();
/script
Works for me in all browsers.
On 2 Mar, 14:21, Richard Quadling rquadl...@googlemail.com wrote:
Hi.
I'm currently using an iframe to act as a report downloader.
yes you can call from the iframe a function in the parent easily
Or, you can read the iframe contents by traversing its DOM and looking for
elements (inputs or things) just as easily as traversing the parent
container
HTH
Alex
- Original Message -
From: zero
2009/3/2 zero zero.zero1...@gmail.com:
On page that iframe load u can put code:
script type=text/javascript
parent.name_of_some_js_function();
/script
Works for me in all browsers.
On 2 Mar, 14:21, Richard Quadling rquadl...@googlemail.com wrote:
Hi.
I'm currently using
2009/3/2 Richard Quadling rquadl...@googlemail.com:
2009/3/2 zero zero.zero1...@gmail.com:
On page that iframe load u can put code:
script type=text/javascript
parent.name_of_some_js_function();
/script
Works for me in all browsers.
On 2 Mar, 14:21, Richard Quadling
2009/3/2 Richard Quadling rquadl...@googlemail.com:
Hi.
This might be one of the those odd situations where there is no
answer, but I have a hash coming from PHP via JSONP to JS/Prototype.
In IE and FF, the ordering is maintained.
In Chrome the order is not maintained.
The key part is
On Mar 2, 9:58 am, Richard Quadling rquadl...@googlemail.com wrote:
Hi.
This might be one of the those odd situations where there is no
answer, but I have a hash coming from PHP via JSONP to JS/Prototype.
In IE and FF, the ordering is maintained.
In Chrome the order is not maintained.
2009/3/2 kangax kan...@gmail.com:
On Mar 2, 9:58 am, Richard Quadling rquadl...@googlemail.com wrote:
Hi.
This might be one of the those odd situations where there is no
answer, but I have a hash coming from PHP via JSONP to JS/Prototype.
In IE and FF, the ordering is maintained.
In
Hi,
On Feb 4, 10:50 pm, Michael mich...@vermontsnows.com wrote:
Hi - I want to use this validation for an alphanumeric field.
I apologize for beating a dead horse, but since the list of possible
choices is closed, why don't you just use a SELECT element?
:o)
Anyways, it was very interesting
Hi Rob,
No, I haven't made a comparison. I have built client-side form
generators before but have used XML for the form schema. JSON is
obviously faster than XML.
Generating the entire form server-side and inserting it as a single
block would obviously be faster than generating fields one at a
On Mar 2, 11:23 am, Richard Quadling rquadl...@googlemail.com wrote:
2009/3/2 kangax kan...@gmail.com:
On Mar 2, 9:58 am, Richard Quadling rquadl...@googlemail.com wrote:
Hi.
This might be one of the those odd situations where there is no
answer, but I have a hash coming from PHP
Hi guys,
I've just come across http://jalava.buildyourownapps.com
I'm just seeing now that for a diagram editor there seems to be 2
approaches from what I can tell, one based on real drawing (e.g.
raphaeljs, or canvas tag), and the other using the capabilities of
layout inherit using
Hidie-ho,
Well Ok, I've used setTimeout a few times in my code to delay resuming
run of a code module until Ajax.Request() has had time to do its
thing. And the use of the timer is cyclic as the user may repeat the
operation over and over again, but in different parts of the page.
And ...
I need the prototype div stay over a flash animation ? how can it be
done ?
Today i open a bigger image using the code in this post and the flash
animation appears over the bigger image
Thank´s in advance
On 28 fev, 12:46, Walter Lee Davis wa...@wdstudio.com wrote:
I'm not sure this will help
Hi Tobie,
You don't live over in Scott's Valley, do you? Used to know a Tobie
way back when.
OK so,
xtimer = setTimeout( { doSomething( arg1, arg2, arg3 ); }, 500);
is using the function's return?
How do I specifiy a function to setTimeout when it has args?
Holy Simple Minded Idiot
See if this would help you. It's based on the classic A List Apart
article, but just written now off the top of my head:
div id=outer
form action= method=get accept-charset=utf-8
plabel for=nameName/labelinput type=text name=name
value= id=name //p
myTimeout=setTimeout(function(var,var2,var3,var4) {
global x,y,z;
alert('foo = bar');
},5000);
whats wrong with that ?
I dont think this leaks memory so why should any timeout leak memory
Alex
- Original Message -
From: BearState wixelb...@yahoo.com
To: Prototype script.aculo.us
24 matches
Mail list logo