/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.us group.
To post to this group, send email
am, Eric lefauv...@gmail.com 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?
In the same spirit, instead of adding a onmouseover event
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.us
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
nigeke...@googlemail.com wrote:
Blaine - Thanks
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 abas...@mitre.org wrote:
I tried including the Scriptaculous code in an external html file
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
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
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
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
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
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
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 jacobl...@gmail.com wrote:
ul id=menu
li id=nav_home class=fade-ina href=/Home/a/li
It looks like you are forming your parameters as you would a
querystring
ex: a=appleb=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 to
my bad. I misunderstood your question. Ignore my response
On Jan 11, 4:16 pm, Scott counterstre...@gmail.com wrote:
you could submit the entire form using request.
$(formid).request({ method: 'post',
onComplete:function(request){
alert(request.responseText);
}
});
On Jan 11, 12
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 hubaghd...@gmail.com wrote:
Hey,
I have a checkbox in front of each row in my table.
Upon clicking on
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 webmas...@thecarmarketplace.com
wrote:
You have put
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 script.aculo.us group.
To post to this group, send email
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
textContent/innerText or
using innerHTML and stripping the tags?
HTH,
--
T.J. Crowder
tj / crowder software / com
On Nov 6, 2:06 am, Scott [EMAIL PROTECTED] wrote:
If I have an element:
span id='foo'50/span
Should I be able to say the following?
var total = parseFloat($('foo
If I have an element:
span id='foo'50/span
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.
21 matches
Mail list logo