similar to: Sortable list (scriptalicious) and updating database

Displaying 16 results from an estimated 16 matches similar to: "Sortable list (scriptalicious) and updating database"

2008 Jun 06
2
Scriptalicious: Ajax Inline Text Editor
Hi, I''m just starting out with Scriptalicious + Prototype, and I''ve run into a problem. I''m trying to create an Ajax.InPlaceEditor that combines the custom size textbox, and the custom parameter (from the examples in the scriptalicious documentation) http://github.com/madrobby/scriptaculous/wikis/ajax-inplaceeditor I''ve tried a couple different methods (one of
2007 May 17
5
AJAX, PHP and scriptalicious
Hey, I''m brand new to AJAX and scriptalicious, so i''m hoping for some help. inside hello.php I have this piece of code to grab and loop out users in the database: function test(){ $query = mysql_query(''SELECT * FROM `testing`''); while($i = mysql_fetch_row($query)) { echo''<div class="testie">'';
2006 Mar 05
2
How to clean up this code?
Hi! I''ve got 2 tables: products and images. Product has_many images, image belongs_to product. In images table i store product_id and name of the image (not the image itself). I''ve created a single form, where user can add any number of images for a product he/she is creating (new fields are created using javascript). The images that are uploaded are saved to public/images
2006 Jun 27
2
Serve an image up from an action
What I am really trying to do is use the file_column plugin for the file uplaod/storage (to a non-application directory), but serve up the images on my own (without the mage_tag url_for_file_column technique) In the java world, I would simply do something like this: <img src="myImageServlet?id=1"> and myImageServlet would simply return the appropriate mime headers and data
2008 Jan 21
5
attachment_fu and story runner, any updates
I''m trying to write a story for a Rails app which involves using the attachment_fu plugin to upload images. After blunting my pick on this for a while, google found me this: http://www.ruby-forum.com/topic/134743#600831 So it seems that there''s a hole in Rails integration testing and multipart form posting. David offered to incorporate a patch to story runner at the end of the
2007 May 02
2
Virtual machines booting PXE - PXELINUX
Hello, new to the group. We have been using PXELINUX for some time now with great success. However, with the recent spawn of virtual machines now supporting PXE boot, has anyone been able to mount the disk in this enviornment? Could someone direct me to any information on how to mount and or partition drives? I have discovered the same issue with the HP DX2200 model of PC. For example if I run
2006 Mar 08
3
attribute or instance method or what?
Hi! Uhm are attributes just something like additional members of a class, other than those that come from the names of columns in the table? I''ve got images table, which has ''name'' column. I''ve added support for creating thumbnails out of uploaded pictures and i''d like to have an easy way of accessing them in my views. How to do it? I.e. my image
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
2007 Oct 23
0
drag'n'drop or sortable
Hi, I''m a newbie and have a little problem getting into scriptalicious: I''d like to convert the items of a drop down list into draggable objects - they should be only draggable but not sortable. They should be draggable onto another box but in there the items should be automatically sorted by the numerical id''s and not sortable by the user. I looked through all the
2006 Feb 03
0
component/ajax variable access problem
I''m trying to embed a little image gallery on each page. The photos need to be different for each page. I just want to use ajax and let them click on the photo and have it show the next image. When the page loads, it shows the correct image. But when clicking on it, it gives an error because it doesn''t know what @images is anymore. On the view for the home page: <div
2006 Mar 08
19
Creating multiple rows with one form
Hello. I''ve been trying this out for the past two days and I can''t seem to get it. I''m going to have a page where you can upload x amount of images at once. Lets say 10 images need to be uploaded, all with a caption. I''d like to have a browse button to choose the file, then the caption. Now, if I put 10 of them in one form, fill them all out and submit, I get
2005 Sep 02
1
window class
Hi All I''m attempting to make a window class for scriptalicious, however my javascript skills are pretty average - more of a php man :D Any way I''ve got this far so far: http://www.folio11.co.uk/prototype/window.php What I''m doing is simply adding elements to a div to mimic the controls of a window I''m now looking at adding the drag and resize code to the
2005 Jul 01
1
drag problem
Hi - my first post here so first of all can I say how impressed I am with this library Now to my first question - I''m simply trying to make a div draggable, here''s my test page: http://localhost:85/folio11.co.uk/js_tech_demo/scriptalicious_test.html what seems to be happening is that the first drag works fine, but on subsequent drags the div''s initial coordinates
2011 Oct 24
1
JQuery autocomplete example
I was trying to follow along on the github example (https://github.com/crowdint/rails3-jquery-autocomplete) for building an autocomplete and ran into a small set of problems. I''m not using the exact names of models, but I suppose I could. It''s just a dummy set. For me: Model is Package and attribute is Brand. I don''t understand what the reference to class
2007 Nov 11
3
Scrollable selectbox for auto complete
Hi everyone, I have used used scriptalicious for the autocomplete. It works but with one problem. When scrolling down the list, the values not visible are not scrolled into focus. eg I use the keyboard down or up key. Here is my CSS <style type="text/css"> div.auto_complete { height: 100px; width: 350px; background:
2007 Jul 21
2
tincctl patches
(Second try to send this. I wonder if the first one gotten eaten by a spam filter; I'll link to patches instead of attaching them.) Here are the tincctl patches I've been working on. They apply to http://www.tinc-vpn.org/svn/tinc/branches/1.1@1545. I intend to commit them once the crypto stuff's fixed. Since they're basically done, I'm emailing them now for review and in case