Displaying 20 results from an estimated 1000 matches similar to: "RE: Form.serialize and Ajax.Request -> fileserialization and encoding"
2005 Dec 14
1
RE: Form.serialize and Ajax.Request ->fileserialization and encoding
I''ve not looked into how it''s done but adding an attachment in Gmail (UK version) uploads the file without refreshing the window, and http://www.yousendit.com <http://www.yousendit.com/> appears to send a file via some sort of RPC or AJAX. Maybe this could be another starting point for you.
Paul Shannon
Web Applications Developer
Codeweavers Limited
Tel: 0870 443
2006 Jan 04
4
gmail attached file field magic
Hello,
does someone knows how gmail does file upload when the attached files
are automatically saved in drafts ?
I am trying to do it in Scriptalicious/Prototype but I don''t see how they
get
the file on the system using js...
Tarek
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2005 Dec 23
1
floating layer following the mouse
Hello,
I have added a fade-in/fade-out floating layer to display infos on Ajax
request.
I have used Position to display it on a corner.
Is there a simple way to make this floating layer displayed near the mouse
and make it follow the mouse movments
Tarek
--
Tarek Ziadé | www.afpy.org
Python - why settle for snake oil when you can have the whole snake?
(Mark Jackson)
2005 Dec 13
2
Ajax.Request onComplete
Hello,
I have a small class where i want to use attributes of the instance when an
ajax call returns, so I wrote:
*var* MyClass = Class.create();
MyClass.prototype = {
initialize: *function*(form_id, rendered_id) {
this.form_id = form_id;
*var* edit_form = $(form_id);
*var* rendered_node = $(rendered_id);
*if* (!edit_form || !rendered_node) {
this.enabled = *false*;
2006 Jan 02
2
mouse position without event
Hello,
Is it possible somehow to get mouse coordinates without using the event
mechanism ?
I need to get the current mouse position to initialize some div position,
but not at page load
Tarek
_______________________________________________
Rails-spinoffs mailing list
Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails-spinoffs
2005 Dec 14
2
RE: Form.serialize and Ajax.Request->fileserialization and encoding
I''d bet money that they use a hidden iframe. Gmail already uses that to
avoid breaking the back button, from what I''ve read. It''s impossible to
send multipart form data through XMLHttpRequest, or so everything I read
says and my own personal attempts confirm. There is an IE ActiveX
plugin that will let you send files in a similar fashion, but it''s IE
only. I
2006 Feb 23
25
reloading fragments of pages
Hello,
I have a treeview, that works with scriptaculous in order to load the nodes
dynamically.
I also have in the main part of the page, a table with the list of elements.
The lists of elements can be drag-dropped on the treeview in order to move
them around
(they are also draggable on other parts of the page)
I need though, to refresh the treeview to reflect changes when a folder was
moved
2006 Feb 06
10
Urgently Need Solution
I''m using scriptaculous'' SlideUp and SlideDown effects to animate a menu.
Specifically, I SlideUp, make some CSS changes, and SlideDown. All works
well, except that for a split second in between, the element''s display
becomes ''none'' and the other menu item jump into the space. I haven''t been
able to find any way to force an element to retain
2006 Mar 22
4
Serialized form... problems with accents
Hi,
I''m working on a french website and I use the Form.serialize method to
send the info through AJAX. The thing is that the accentuated letters
(é,ê,à, etc.) don''t get replaced by their HTML entities and they get
corrupted when retrieving the data. How could I fix that?
thanks a lot,
Blaise Bernie
2006 Jan 20
3
disabling drag''n''drop features on some areas
Hi,
I have implemented the drag and drop feature to move around some divs, but I
have a small side
effect i am trying to clear:
When the draggable div contains links, and if the user grab the div on the
link, the drag is done but
the link is also visited, leading to unwanted issues.
What I''ve tried to do is to look for all ''a'' tags in the draggable elements
in order
2006 Jun 29
4
new idea for dragdrop library
Hi,
I''ve been working on new ideas for a JavaScript drag and drop library.
I haven''t found a drag and drop library flexible enough for my needs
and I think I have come up with something that is generally
worthwhile. I use the DOM and Event utilities from Yahoo! UI and no
Prototype.js. I''m interested in any ideas or suggestions people might
have.
Blog
2006 Apr 03
5
Event.observe on IE
I''m working again on unloading events before making my ajax call.
This code works on Firefox/Opera, but IE doesn''t seem to get the
onclick events registered. Could someone with IE take a look?
http://hank.org/demos/ajax3.html
The js is included in that file. There''s alerts() to show when the
events are registered.
The idea of the code is to look for any
2006 Jan 25
16
Slideshow beta
Ok,
I finally got the slideshow code to a state worth showing it
off. The site is a very rough cut of a site I''m building for my wife''s
photography, so ignore the unfinished design for now :)
http://rachel.kathihill.com/
To see the ajax version, go to:
http://rachel.kathihill.com/?ajax=1
To randomize the order the images show:
http://rachel.kathihill.com/?random=1
To change
2006 Jun 21
11
scriptaculous question
Hello everybody.
I''m wondering if there is away with scriptaculous to update multiple form
fields with data after finishing an autocomplete request.
Heres an example.
Joe BlowSchmoe fills in his name and starts to type in the customer number,
he selects the approprate customer number from autocomplete list, and bam
the address associated with the customer number is populated into the
2006 Jun 15
3
RE: Yahoo!-like Eventobjectemulation/abstractioninPrototype?
This is obviously rough draft and not thoroughly tested, but it seems to
work. If you''d like, give it a try (load it after you load
prototype.js):
Function.prototype.bindAsEventListener = function(object) {
var __method = this;
return function(event) {
return __method.call(object, new SuperEvent(event || window.event));
}
}
var SuperEvent = Class.create();
2006 Jan 11
8
[scriptaculous] Intermitently Disabling Clicks
I have button that slides down a menu using Effect.BlindDown, but the
function that slides it down also makes it so that the opening link
now slides the menu back in.
If the user double clicks the link (thuse opening & closing
immediatley) the slide animation breaks, then will not extend
correctly (but no JS errors). How would you go about stopping this
happening?
Also, is it just me or is
2006 Jan 18
7
script.aculo.us killing IE
Hi, i am new to ajax and new to script.aculo.us. I created a blog,
http://www.zorpal.com/blog/, using some of the script.aculo.us features and
commands. My sites works great in firefox, which everyone should be using,
but if you open it in IE it kills it. It only kills it after a
script.aculo.us motion has been called and finishs it''s execution. i really
like the layout and the visual
2006 Jun 15
12
Why such bad performance with IE ?
Regarding DragDrop
I am wondering what the deal about Internet Explorer 6 is. My application is
near to final and now while testing browsers all but the IE6 are running as
supposed to. Any other browser is performing smooth movement while IE
compared provides a very bad expirience. I''ve seen some "tuning" infos on
this list but they are either outdated or not actually working
2005 Dec 14
0
Form.serialize and Ajax.Request -> file serialization and encoding
Hello,
I have related two questions:
1/ I am trying to send a multipart/form-data encoded form through Ajax with
by calling Form.serialize, but it seems that files fields does not
support this very well
Is there any special mode to use ?
2/ some datas in the form are iso-8859-15 text, that get through utf8
encoding in javascript and therefore
get a bit busted. I know how to correct
2006 Feb 08
6
Effect Help
I posted the following earlier:
"I need a way to do a blind up that makes the element APPEAR and a blind
down that makes the element DISAPPEAR. In essence, the opposite of the
current blindup/blinddown.
Thoughts?"
I think somebody responded in Dutch. Anyone else have any ideas?
--
Yehuda Katz
Web Developer
(ph) 718.877.1325
(fax) 718.686.4288