Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
Alright, I seem to be in business. Not sure why the scripts weren't linking and for now I'm just going to link the ones that I'm calling. i.e. effects, dragdrop Aside from that, the form elements don't move. For now I've wrapped the elements in a label and can use the label to drag them. Now to

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
So I linked dragdrop and effects in the order mentioned below (Thank you Thomas). The image is now dragging , but the select box is not. Is it possible selects need a handle ? Stuart On 6/24/06, Thomas Fuchs <[EMAIL PROTECTED]> wrote: 1. You don't need to include dragdrop.js if you're includin

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Thomas Fuchs
1. You don't need to include dragdrop.js if you're including scriptaculous.js* 2. You can't call new Draggable in the head section, as the element you're referring to is not defined at this time (you have to put the script calling new Draggable _after_ the element is defined in HTML) -Thoma

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
Sheesh, this is so puzzling I have all sorts of scripts in various folders and sub domains and never anything like this. From my server log to show the path the server is looking for which honestly is a bit confusing to me, is it /includes or /javascript. I don't have an includes under /dnd. Th

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
Hoochie mama! Error logs are filled to the brim :) Sorry...just never had this issue before so never thought about it. Stuart On 6/24/06, Todd Ross <[EMAIL PROTECTED]> wrote: On 6/24/06, Todd Ross <[EMAIL PROTECTED]> wrote: > On 6/24/06, Dark Ambient <[EMAIL PROTECTED]> wrote: > > http://icanc.

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Todd Ross
On 6/24/06, Todd Ross <[EMAIL PROTECTED]> wrote: On 6/24/06, Dark Ambient <[EMAIL PROTECTED]> wrote: > http://icanc.com/dnd/formelements.php > > That is the latest From formelements.php: By manually trying to retrieve that file from http://icanc.com/javascript/dragdrop.js: Not Found The requ

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Todd Ross
On 6/24/06, Dark Ambient <[EMAIL PROTECTED]> wrote: http://icanc.com/dnd/formelements.php That is the latest From formelements.php: By manually trying to retrieve that file from http://icanc.com/javascript/dragdrop.js: Not Found The requested URL /javascript/dragdrop.js was not found on

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
http://icanc.com/dnd/formelements.php That is the latest TIA Stuart On 6/24/06, Todd Ross <[EMAIL PROTECTED]> wrote: On 6/24/06, Dark Ambient <[EMAIL PROTECTED]> wrote: > Well (and I know my multiple post are geting to be a pain..sorry) I'm > back to getting "Draggable is not defined" . I mov

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Todd Ross
On 6/24/06, Dark Ambient <[EMAIL PROTECTED]> wrote: Well (and I know my multiple post are geting to be a pain..sorry) I'm back to getting "Draggable is not defined" . I moved the files, dropped the leading /, and made sure the server had the same paths. Do you have this latest iteration online

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
Well (and I know my multiple post are geting to be a pain..sorry) I'm back to getting "Draggable is not defined" . I moved the files, dropped the leading /, and made sure the server had the same paths. Stuart On 6/24/06, Brian Dinsmore <[EMAIL PROTECTED]> wrote: If you are still seeing the "Dr

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
I should mention one more piece of information. Under my root folder (public_html) I have one folder called javascripts (where prototype and scriptaculus lives, plus all the individual js files) I also have another folder called includes, within the includes folder are sub folders that contain s

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Dark Ambient
I'm no longer getting ANY error messages on the draggable. I also had thrown in a visual effect on a jpg and that gave me an error (can't remember exactly, but something like "properties not defined" which is good in a way because (using FF) I can click the link in the javascript console and brin

Re: [Rails-spinoffs] Help please-draggable

2006-06-24 Thread Brian Dinsmore
If you are still seeing the "Draggable not defined" message, that most likely means it cant find the draggable _javascript_ function that you are calling with the "new Draggable" call... are you able to reference any js functions defined in prototype using the paths you listed above? maybe try remo

Re: [Rails-spinoffs] Help please-draggable

2006-06-23 Thread Dark Ambient
This is driving me absolutely crazy :). The scripts are all in /javascripts. I've made sure that all the links are correct. Also moved the script for the draggable right below the tag. Blue Red Orange Green Aquamarine new Draggable('ele123', {revert:true}) I've run plenty of javas

Re: [Rails-spinoffs] Help please-draggable

2006-06-23 Thread Dark Ambient
Very new to "coding" javascript. I've moved the script below the on top of that, under the , outside of the div , very odd. The only error I get from FF java console is "Draggable is not defined" IE also reports there are script errors in the page. This is script - I think it's right, I'd lik

RE: [Rails-spinoffs] Help please-draggable

2006-06-23 Thread Gregory Hill
You need to put the script that creates the draggable below the element you want to be draggable. Pages are parsed sequentially by browsers, so your javascript is being evaluated in the HEAD, long before the element you are trying to reference has been built by the browser. I'm surprised you aren