Displaying 20 results from an estimated 700 matches similar to: "disabling drag''n''drop features on some areas"
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*;
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 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 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
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 Mar 22
3
document.write() in ajax response
Hi,
I am facing a problem and the description is as follows -
I have a page 1.html that does an Ajax.Updator & calls stuff from 2.html (that has some html snippet & some javascript).
So far so good - things work fine.
However, if 2.html had any document.write code - eg document.write(''hello'') then once the response is received it will be rendered till the point
2006 Mar 03
3
xml handling
Hello there, im having a problem with the xml handling, i want to get and
xml node and put things in an input text but im a little lost, im using this
code, but isn''t work, what am i doing wrong?
---------------------
<a href="#" onclick="getXML()">Get XML</a>
<input type="text" value="nothing here" id="respuesta" />
2005 Dec 09
5
Prototype Enumerable, Array and Hash Documentation
Hey guys,
I recently published an article documenting some of the more useful
and interesting parts of Prototype''s Enumerable, Hash and Array objects.
You can find it here: http://encytemedia.com/blog/articles/
2005/12/07/prototype-meets-ruby-a-look-at-enumerable-array-and-hash
If you have any feedback or suggestions, fire away.
Cheers,
-Justin Palmer
2006 May 02
6
Stopping the Ajax.PeriodicalUpdater -- My Kludge?
Well, I''ve been burning the midnight oil trying to figure out how to
issue the stop() command to a PeriodicUpdater. I''ve come up with a
solution that uses setTimeouts to call the stop function. I think my
solution is very kludgey... especially since I''m new to Javascript +
Prototype.
Can anyone let me know if the below code is at all proper? :)
---------
Summary: A
2005 Oct 27
3
String.protoype.toQueryParams
Hi, I am trying to play with all the methods in the Array Object.
Just wanted to check with you guys if this is the correct explanation of toQueryParams().
If yes, then I''ll add it to the documentation as well.
Works for me (but I am not sure if it''s the correct way to use it).
/* String.prototype.toQueryParams takes a query string, i.e, string with
name value pairs
2005 Dec 04
5
Javascript Logging
Hello Everyone,
Just wanted to find out if scriptaculous has a patch for a error logging class?
Currently, I have found 2 javascript logging scripts (outside of scriptaculous).
Lumberjack: http://gleepglop.com/javascripts/logger/
log4js: http://jroller.com/page/stritti?entry=logging_in_javascript_log4js
Could you guys shed some light on what would be a good logger class to use with our
2001 Dec 19
1
Still some problems
Ok guys,
I bieleve have my modules setup right. But when I run the command
"rsync -a web1::default/ /www/default" I get the following error
opendir(bin): Permission Denied
opendir(directories): Permission Denied
: Permission deniedo open //
rsync error: partial transfer (code 23) at main.c (842)
... any suggestions
David
2009 Mar 12
4
Serving 120 concurrent calls
Hello,
a local prison contacted us regarding some calling card solution.
they need 4 E1s to serve 120 rooms in that prison.
we are planning on using 4 servers to serve the calls and one for the database
servers' specifications are:
2.8 Dual Core Proccessors
2 GB Ram
160 Sata Drive
each server will be provided with 1 E1 card
Questions are:
1- will those servers be able to handle that ammount
2010 Sep 23
4
Asterisk and Digium TC400B
Greetings,
Because of the heavy load and the high expectations of an asterisk server
offered as a solution integrated with our CRM software.. we were looking
into other possibilities than software Licenses for G729 and G723 codecs..
to lower the pressure on the processor giving it more space to do more work.
We heard of a hardware (PCI CARDS) can be used with Asterisk that does the
work. And we
2011 May 02
3
out of the blue one way audio
Greetings List.
we're facing a strange case with my system where in the middle of the call .. after like 7 minutes (not necessarily ) the callee is unable to hear the caller however the caller is able to hear the called party. the scenario is the following.
1- 15 computers running Windows XP SP3 joining a Windows Domain Controller with DHCP , DNS, ISA Internet Acceleration Server.
2- Internet