search for: afpi

Displaying 10 results from an estimated 10 matches for "afpi".

Did you mean: api
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
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 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 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 Jan 11
1
switching two nodes
Hi, Is there a simple api in scriptaculous or prototype, to simply switch two nodes in the dom tree ? or do i have to code it. (a sweet option would be to be able to hook an effect as well) My use case is to drag and drop elements to switch them Regards Tarek -- Tarek Ziadé | www.afpy.org Python - why settle for snake oil when you can have the whole snake? (Mark Jackson)
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
2005 Dec 14
1
RE: Form.serialize and Ajax.Request -> fileserialization and encoding
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 ? You cannot send a file through Ajax. You''ll have to submit the form normally. To mimic Ajax functionality, you could set the target to a hidden iframe, and on the server side,
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
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