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?
>
>
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
> 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
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
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
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
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'
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
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
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
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
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
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
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
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
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);
> }
>
> })
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
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
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
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
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
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
22 matches
Mail list logo