[Proto-Scripty] Re: Scalable Drag & Drop (without noticeable lag)

2010-11-15 Thread Scott
Thanks again! On Oct 19, 1:02 am, Eric wrote: > Hi Scott, > > I didn't do much with drag/drop using scripty, but can't you just have > one droppable (in your case it would be $('cats')) and find out which > span was under the mouse when a drop occurs? > >

[Proto-Scripty] Firefox height:100% "bug" w/ prototype fix

2010-11-15 Thread Scott
y solution. http://pastie.org/1300351 let me know what you think or if you have any suggestions to improve my code. (please exclude your opinions on standards compliance) - Scott -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo

[Proto-Scripty] Re: Scalable Drag & Drop (without noticeable lag)

2010-10-18 Thread Scott
> What I usually do is post it inline in the message (as you did), and > *also* post it to Pastie.org and provide a link. Thanks T.J. Here's a url to my test code: http://pastie.org/1230063 Anyone got any ideas / suggestions (/improvements on my code)? -- You received this message because you

[Proto-Scripty] Re: Scalable Drag & Drop (without noticeable lag)

2010-10-15 Thread Scott
When copying and pasting the html from my post, there are some extra line breaks or wrapping happening. Not much I can do about that i guess. just letting you know I didn't write it that way. -- You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.u

Re: [Proto-Scripty] Re: form input not working

2010-09-11 Thread Scott Pickles
Nigel - Your second command to insert new begins with $('messageLbl'). Shouldn't that begin with $(scoreForm') since you're trying to add a new input element of type 'text'? Regards, Scott On Sep 11, 2010 7:12 AM, "nigeke...@googlemail.com" < n

[Proto-Scripty] Re: Scriptaculous and

2010-06-21 Thread Scott
is your html file in a virtual directory? also this include tag will only work if your page is being hosted on an asp server or your local windows machine as a website through IIS On Jun 19, 6:56 am, Avram wrote: > I tried including the Scriptaculous code in an external html file and > call it wi

[Proto-Scripty] RE: returning a value from a function calling a page with Ajax

2010-06-03 Thread Scott
In case this replay didn't end up in the appropriate thread: http://groups.google.com/group/prototype-scriptaculous/browse_thread/thread/ db829a1d3ca58d79 REPLY: So here is my simple test using your method: I had to change the 'onSuccess' method in the updater to 'onComplete' it wasn'

[Proto-Scripty] Sortable issue in IE

2010-04-21 Thread Scott
I have a page with thumbnail images that need to be sortable. In all browsers but IE this works great. In IE when i drag an item, the items do not shift to allow dropping. If I remove float:left; from the css it works but then my divs are not inline. (if i set display:inline; my divs will not keep

[Proto-Scripty] returning a value from a function calling a page with Ajax

2010-03-29 Thread Scott
I am trying to build a function that will return a value based on user input on a page loaded into a div using Ajax.Updater. So for example: function userChooser() { new Ajax.Updater('divID', 'userChooser.asp'); } alert(userChooser()); Inside userChooser.asp I would display a list that the us

[Proto-Scripty] Re: how to update HTML with Ajax.Request

2010-03-18 Thread Scott
is (rating) being set somewhere or is that the id of the element? if it is the id then you will need to put single quotes around it ('rating') If you are using prototype/scriptaculous $('rating') is a shortcut of document.getElementById('rating') Also another shortcut is calling update on the elem

[Proto-Scripty] Re: Ajax.Request - can't get to work in Firefox, Chrome

2010-03-15 Thread Scott
I have had similar issues before in my applications. I have always assumes that they were caching issues. With the method as 'post' and adding the current date and time in the parameters field (or query string), I've been able to get past this issue. This is to make sure the url being called is alw

[Proto-Scripty] Re: Request object

2010-03-08 Thread Scott
You can write the response to the JSP page and in the form page use the onComplete event to return the response text $('myFormID').request({ method: 'post', onComplete: function(request) { alert(request.responseText); } }); so anything written in the JSP page (including html) will come ba

[Proto-Scripty] Re: Having Effect.Opacity work with a Class and not an ID

2010-03-03 Thread Scott
This is how I'd do it. There might be an easier way also. var elements = $$('fade-in'); elements.each( function(element) { element.appear({ duration: 1.5 }); }); On Mar 3, 9:27 am, CaptainNoob wrote: > >         Home >         Archives >         Contact Me a> >         http://google.com"; > re

[Proto-Scripty] Re: Prototype 1.6.1 kills IE8?

2010-02-19 Thread Scott
I just did the test also in IE8(english) on XP. Browser crashed On Feb 19, 6:53 am, bill wrote: > On 2/19/2010 2:58 AM, joy wrote: > > > > > Hi~ > > > I can't imagine it either, but it happens. T.T > > > Try follow steps. > > > 1. Open a web page that including Prototype 1.6.1 on IE8 on Windows

[Proto-Scripty] Re: how to pass question marks in fields using ajax updater

2010-01-27 Thread Scott
It looks like you are forming your parameters as you would a querystring ex: "a=apple&b=banana" parameters for an Ajax.Updater or Request are usually set up like this: parameters: { a: 'apple', b: 'banana' } if you are still having trouble passing in a '?' you could also try changing the method t

[Proto-Scripty] Re: Collecting checked checkboxes

2010-01-12 Thread Scott
my bad. I misunderstood your question. Ignore my response On Jan 11, 4:16 pm, Scott wrote: > you could submit the entire form using request. > > $(formid).request({ method: 'post', >   onComplete:function(request){ >     alert(request.responseText); >   } > > })

[Proto-Scripty] Re: Collecting checked checkboxes

2010-01-11 Thread Scott
you could submit the entire form using request. $(formid).request({ method: 'post', onComplete:function(request){ alert(request.responseText); } }); On Jan 11, 12:11 am, Hussein B wrote: > Hey, > I have a checkbox in front of each row in my table. > Upon clicking on submit button, I want

[Proto-Scripty] Re: complete handler for effects.js

2009-08-27 Thread Scott Haines
Just found that bug. Didn't know about afterFinish, is that automatically added within effects.js. I didn't have that function in my version of effects.js, would have saved me a bunch of time! - Scott On Aug 26, 1:16 am, "Alex McAuley" wrote: > You have put a trailing c

[Proto-Scripty] complete handler for effects.js

2009-08-26 Thread Scott Haines
he complete handler from the SPRY lib in the more useful effect.js. Cheers, Scott Haines Newfront Creative http://www.newfrontcreative.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & sc

[Proto-Scripty] Auto Submit on AutoComplete Selection Help

2009-05-18 Thread Scott Z
Can anyone point me in the right direction to making my form submit when a selection is made from the autocomplete suggestions? Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Prototype & script.aculo.us" gr

[Proto-Scripty] Re: Simple $( ) question

2008-11-07 Thread Scott
he equivalent of textContent/innerHTML another way. > > Finally, you could do a recursive descent with pure DOM methods > collecting the nodeValue of all text nodes you found.  But it would > probably be slower than the shortcuts provided by browsers. > > Anyone out there h

[Proto-Scripty] Simple $( ) question

2008-11-06 Thread Scott
If I have an element: 50 Should I be able to say the following? var total = parseFloat($('foo')); Instead, I am getting a return value of: [object HTMLSpanElement] and parseFloat is returning NaN. Thanks in advance. --~--~-~--~~~---~--~~ You received t