Ian Tyndall wrote:
> I'm not sure if this has been discussed before, but is it possible to
> get a file download as a response from Ajax.Request? I know you can
> have response txt or xml, but how would I go about requesting a file
> download? Currently I'm requesting the download like this:
>
Hi All
I have a sortable list where each contains a link.
e.g.
link
link
link
How can I go about stopping the click event on the link if the li
element has been dragged?
Cheers
Rob
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.ruby
On Wednesday 15 March 2006 15:38, Jeremy Kitchen wrote:
> On Wednesday 15 March 2006 14:42, Ryan Gahl wrote:
> > When you create the listeners, assign them to a variable so you have a
> > handle by which to remove them...
> >
> > this.myListener = this.someFunction.bindAsEventListener(this);
> > Ev
On Wednesday 15 March 2006 14:42, Ryan Gahl wrote:
> When you create the listeners, assign them to a variable so you have a
> handle by which to remove them...
>
> this.myListener = this.someFunction.bindAsEventListener(this);
> Event.observe(this.someElement, "someEvent", this.myListener);
>
> ...
Ryan Gahl wrote:
But as you know, this ties up the browser and gives me little control
of
the download.
I'm wondering, what control of the download do you need? The browser and
user should be in control of any file downloads...
The information transmitted in this electronic ma
When you create the listeners, assign them to a variable so you have a
handle by which to remove them...
this.myListener = this.someFunction.bindAsEventListener(this);
Event.observe(this.someElement, "someEvent", this.myListener);
...now you can do this...
Event.stopObserving(this.someElement, "
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 ++ [EMAIL PROTECTED]
In the beginning was The Word and The Word was Content-type: te
Sorry Jeremy, I'll try to remember that. Thanks for your help!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Jeremy
Kitchen
Sent: Wednesday, March 15, 2006 4:12 PM
To: rails-spinoffs@lists.rubyonrails.org
Subject: Re: [Rails-spinoffs] Adding Elements in
oh, a download, thought he was referring to an upload. forget my post. :)
On 3/15/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> > But as you know, this ties up the browser and gives me little control
> of
> > the download.
>
>
> I'm wondering, what control of the download do you need? The browser an
when starting a new thread, please do not reply to an existing post, remove
all of the content including the subject, and type out your new request.
Messages posted this way break the list archives and mail clients that
support threading. Instead, please use your MUA's 'new' function.
That be
> But as you know, this ties up the browser and gives me little control
of
> the download.
I'm wondering, what control of the download do you need? The browser and
user should be in control of any file downloads...
The information transmitted in this electronic mail is intended only for the
pers
iframes are generally the approach used
On 3/15/06, Ryan Gahl <[EMAIL PROTECTED]> wrote:
> Downloading is a function of the browser itself, not supported in the
> XMLHTTP object (you either get text or XML with it)...
>
> The only way I can think to initiate a file download without tying up
> your
Hi, what is the best practice for adding elements into the DOM. InnerHTML?
Does prototype provide a better or enhanced way?
Thanks!
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-
On Tuesday, February 21, 2006, at 12:41 PM, Thomas Fuchs wrote:
>* Enable in place editor to use RJS (implements a new evalScripts
>option for the in place editor), #3490 [thx Richard Livsey]
>
I've been stuck on this all day. Can anyone give me an example of
evalScripts option in the context
Downloading is a function of the browser itself, not supported in the
XMLHTTP object (you either get text or XML with it)...
The only way I can think to initiate a file download without tying up
your client instance, is to spawn a tiny popup window which initiates
the download. But... that's a pop
I'm not sure if this has been discussed before, but is it possible to
get a file download as a response from Ajax.Request? I know you can
have response txt or xml, but how would I go about requesting a file
download?
Currently I'm requesting the download like this:
window.location =
'
Where did the site go? any eta on it's return? any info on why it is
down?
David Newberger
651.271.9045
[EMAIL PROTECTED]
http://www.davidnewberger.com
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org
Perfect ! Thanks :)
document.getElementsByClassName('li0', 'ssnav');
___
Rails-spinoffs mailing list
Rails-spinoffs@lists.rubyonrails.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
document.getElementsByClassName('li0', 'ssnav');
On 3/15/06, oo00oo <[EMAIL PROTECTED]> wrote:
> Thanks
> but I have 2 class ( li0 ) one under div "main" and another under div
> "subnav"
>
> So what I need is more $('ssnav').getElementsByClassName('li0');
>
> But return the error
> Error : $("ssna
Thanks
but I have 2 class ( li0 ) one under div "main" and another under div
"subnav"
So what I need is more $('ssnav').getElementsByClassName('li0');
But return the error
Error : $("ssnav").getElementsByClassName is not a function
So, how select it ?
Hi oo00oo (!)
"name" is not a standard
Hi oo00oo (!)
"name" is not a standard attribute for li elements.
You should use class instead.
Then with prototype :
var my_elements = document.getElementsByClassName('li0');
Hope this helps,
Nicolas Terray
On 3/15/06, oo00oo <[EMAIL PROTECTED]> wrote:
> Hello,
>
> I have 2 navigations ( mainn
Hello,
I have 2 navigations ( mainnav and subnav ) with 2 lists
List have same names ( li0 li1 li2 )
What is the best way to select li1 of subnav with prototype 1.4 in this
case ? I just want to hide/show it
Thanks
___
Rails-spinoffs mai
22 matches
Mail list logo