similar to: Just another syntax question

Displaying 20 results from an estimated 20000 matches similar to: "Just another syntax question"

2005 Dec 30
9
SELECT MAX
How does one do a SELECT MAX query in rails? I''ve searched and searched and tried lots of things with no luck. I want to implement "SELECT MAX(column_name) from table_name and have it return the maximum value from column_name. I just need to get that one value, not the whole object... Thanks for any ideas... Shelby _______________________________________________ Rails mailing
2006 Apr 05
4
problem with drag and drop
Hello, I''m creating an application wich can be seen at http://158.227.7.9/serious_serv/prueba_xml_test(31-3)/interfElemen/integMenuContextFileUpl.htm The instructions for working with it are the following: with rigth-click you can click "AƱadir una imagen" to load an image into the page, then you can drag and drop it in the box with "aqui van las imagenes" into it.
2006 May 23
3
Dragging a copy of an image and then reverting
I''d like to drag images onto drop zones. I have a working demo with one problem: the image leaves the dock and then "snaps back" to it: (broken -- image leaves dock during drag then snaps back) http://u32.net/junq/imlib-demo-1/ I can get the image to remain in the dock during the drag using ''ghosting:true''. But how do I keep the original in the dock
2006 Feb 15
6
Draggables and overflow:auto
Hey guys. I''m trying to drag between two lists, except one list is really long so I set a height on the <ul> with overflow:auto. Unfortunately when I drag between the lists I can''t drag items outside of the <ul> with the overflow on. Does anyone know how I can make this work? I think I might be able to hack up something with rico''s live tables, but that
2006 Jun 14
5
generic onDragStart onDrag and onDragFinish events extracted from scriptaculous?
Hi folks. I''m working on a project where I need some drag and drop, but I need to implement what happens in a very different way, so I''m creating my own class for it. I don''t want to reinvent the wheel and redo Thomas'' excellent drag/drop functionality, nor do I want to copy/paste his code over into mine. So, I was wondering, has anyone tried to extract
2006 Mar 30
4
possible scriptaculous bug
I have two sortable lists, one after the other. I can drag from the first to the second but not from the second to the first. The behavior is consistent if n > 2. For example, I can drag from 1 to 2, 3 or 4 from 2 to 3 or 4 and from 3 to 4, but not in the reverse order: I can''t drag from the 4th list to anything (besides itself). From the third list I can drag only to itself and 4.
2005 Nov 04
19
Drag & Scroll
When using drag and drop, the browser window will not scroll if you move the mouse off the page. This makes it very difficult, if not impossible to create certain types of web applications. I know this has been mentioned before and is on the Wish List, but it''s very frustrating. If you look at this other Javascript library called "Drag''nDrop & DHTML Library"
2006 May 28
10
Drag''n''Drop out of overflow:auto containers
Cheers, I have some elements inside a div with overflow:auto. When I trie to drag them outside of the div, the div starts to scroll. Is there a way to stop this behaviour for drag and drop? I thought of maybe using callback to disable the overflow and restoring it againg after the drop. Did someone implemented something like this? Thanks, Jonathan -- Jonathan Weiss
2006 Jun 15
2
Drag and Drop Sortable Tree
I''ve gone through Chad Fowler''s recipe for creating a drag and drop sortable list, and have been trying to extend this to a sortable tree. Has anyone come up with or seen code which allows drag and drop sorting (altering the position and parent_id variables of the relevant objects) but for data in a nested tree rather than a list form? - Justin
2005 Sep 14
4
How to drag/drop visitable anchors ?
Hi ! I have the following: <li id="photo_<%= @photo.id %>" class="photo"> <%= link_to(image_tag(url_for_file_column(:photo, :picture)), {:action => ''photo'', :id => @photo}, {:title => @photo.description}) %> </li> <script type="text/javascript" language="JavaScript"><!--
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
2005 Oct 25
2
Dragging to a textfield?
Hi All, I''m trying to drag a copy of a string from a list into a text field so that the original string stays in the list. I''m able to drag the item and set the value of the text field onDrop. But the original text leaves the list & with revert set to true it flies back to it''s original position in the list. We''re trying to avoid the flying text. What
2006 Jun 16
6
Drag and Drop work in IE?
Please, I''m build an drag and drop tree using scriptaculous and it is perfect in FF but when I test in IE don''t work, I drag the element and when I free the button the element don''t go to the place, stay in the mouse pointer... What can do it happen? I''m using last version of scriptaculous. Thank you, Pedro
2006 Mar 07
1
Sortable trouble
Hi everybody, Could somebody have a look at a little sortable example at http://www.weisshuhn.de/diagnose/sortable.html It implements two Sortables and a Draggable. You can drag elements from the "source" Sortable to the main Sortable, sort them (surprise) and drag them to a trash. Whenever you drag from the "source", a new element is created (by cloning an invisible
2006 Jun 26
2
Drag''n''drop DOM elements between (I)FRAMEs
I am quite disappointed in the drag ''n'' drop support in Mozilla Firefox. What am trying to achieve is dragging an element from one IFRAME/FRAME into another IFRAME/FRAME. But upon dropping the element, I do not want the target IFRAME/FRAME to open/load it. I want it simply to handle the event, such as parsing the element/data dropped. Such uses as dropping an element into a
2006 Jan 11
3
divider id of container
Hi there, i need to drag an draggable element to an child div node inside an another div container, but i create the child node dynamicly with ids like '' div_ + i '' where ''i'' is a incremental variable, thats the problem because i need get the id of this child nodes to manipulate it, somebody knows how if i drag the element to that child node i can get the id of
2006 Jan 11
3
sortables callbacks
i know someone just recently asked about queueing ajax requests, my question is similar in the regards that i don''t want my application to send multiple requests. i have 2 sortabbles lists left, and right. when i move an item from left to the right the onUpdate callback will send 2 ajax requests. one for each sortables. however. i want it to serialize and send back the results from
2002 Sep 27
1
Winsock problem: wine client error:0x86f30f0: pipe: Too many open files
I'm still battling with the bleedin' C4D Net client, which fails to do some of the network stuff that it's designed to do. Now I do get an error: If I leave the client open overnight, it eventually loses to connection to the server and the terminal window from where I started the client says: fixme:winsock:NtStatusToWSAError Status code c000011f converted to DOS error code 4 wine
2006 Apr 17
2
Problem w/ IE & Autocomplete
Anyone run into the problem where the autocomplete results div disappears when you click or click/drag on the scroll bars for the div? -- David Fitzhenry - http://fitzhenrys.blogspot.com http://www.gone2far.com _______________________________________________ Rails-spinoffs mailing list Rails-spinoffs-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jan 12
6
Draggable performance issues
Using the script.aculo.us Draggables, I''m noticing they are a bit less than fast. I drag them around on the screen and they jump and glitch to catch up with the mouse. Has anyone else noticed this, and are there any optimizations that have been identified that I can apply? I''m using v. 1.5 Sincerely, Ryan Gahl Design Engineer Camtronics Medical Systems (an Emageon