hi everyone !!
actually this may not be the appropriate questions for you guys but i
know you ppl can answer this question.
Can anyone describe me why the cumulativeOffset is different for
the same element if we change its css display attribute to INLINE
and BLOCK ?
Before i was thinking
Hi Emily,
I just try the exemple in lighthub, but with IE6 (the only browser I
can use now), it work as expected for both exemple.
Does the problem come with a particular browser?
--
david
On 8 juil, 05:26, emz452 emz...@gmail.com wrote:
Hi there,
I have a sortable UL list using
Hi,
I am a newbie too , but I think if processMe() is method of a class , u can
call that method using 'this' like
$('fullname').value = this.processMe(parameter);
On Thu, Jul 9, 2009 at 8:07 AM, chrysanthe m chrysant...@gmail.com wrote:
Hi David
Thanks, but I think I one step further. I am
Hi Jakir,
What is the question ?
--
david
On 7 juil, 12:26, jakir jakkir.sha...@gmail.com wrote:
/* Based on Alex Arnell's inheritance implementation. */
var Class = {
create: function() {
var parent = null, properties = $A(arguments);
if (Object.isFunction(properties[0]))
Here's my function:
function AutosaveForm(formthis){
var alertTimerid = 0;
new Form.Observer('checkform', 0.3, function(){
clearTimeout (alertTimerid);
alertTimerid = setTimeout (function(){
formthis.request({
onComplete: function(){alert('Form
Hi,
...like this:
$('fullName').value = json.fullName;
for an returned parameter fullName and an html element ID of fullName.
It would be helpful if you gave a more thorough explanation of what
you're looking to do. But, just for the sake of an example, let's
assume:
1. You are sending
Hi,
I don't know what's wrong, but I do have a couple of observations for
you -- they might help, you never know.
1. On this line:
new Form.Observer('checkform', 0.3, function(){
Since the function is otherwise reusable for multiple forms, I wonder
if you might want:
new
On Jul 6, 3:00 pm, Celso cels...@gmail.com wrote:
Why this only works in Firefox and not in IE?
$$('input').each(function(e){
if(e.type == 'checkbox' e.checked)
$('tr-'+e.id).morph('checked');
});
Thanks,
Celso
*Please* don't say doesn't work or
You could maybe do something less dependent on the local structure,
using up():
$$('input[type=checkbox]:checked').each(function(e){
e.up('tr').morph('checked');
});
Walter
On Jul 9, 2009, at 9:11 AM, ColinFine wrote:
On Jul 6, 3:00 pm, Celso cels...@gmail.com wrote:
Why this
Incidentally, (not answering your question, which TJ has done)
$$('#theme_choice').each(function(elem){
if (elem.selected) alert(elem.text + ' ' +
elem.value);
});
$$('#something')
while valid, is almost always wrong. It says give me a list
Ok so I modifed the function to suggestions on 1 and 2 just incase:
function AutosaveForm(formthis){
var alertTimerid = 0;
new Form.Observer(formthis, 0.3, function(){
clearTimeout (alertTimerid);
alertTimerid = setTimeout (function(){
formthis.request({
Alright, I am having some new troubles. I changed the elements to
SPAN's, but now when a new element appears, the previous elements
become un-draggable. Why is this happening?
On Jun 30, 11:14 am, Alex McAuley webmas...@thecarmarketplace.com
wrote:
Seriously ? ... lol
It needs everything to
I am working on a content delivery solution. This would allow people
to include some content on their page by adding a script tag. I would
like to add some slickness to the content, so I would like to use
Prototype.
I'm looking for some suggestions to safely add Prototype to the target
pages
You could check for the jQuery object - this will get round jQuery...
if(jQuery) {
..
}
There must be prototype only objects/functions/classes you can test for in
prototype
I am not sure about other libraries but i think extjs uses the Ext.
namespace and similar
I'd rather not test for conflicts, but rather to safely coexist.
On Jul 9, 4:48 pm, Alex McAuley webmas...@thecarmarketplace.com
wrote:
You could check for the jQuery object - this will get round jQuery...
if(jQuery) {
..
}
There must be prototype only
Alex, he can just check for Prototype :)
if ( Prototype ) {
.
}
-Original Message-
Date: Thursday, July 09, 2009 4:48:45 pm
To: prototype-scriptaculous@googlegroups.com
From: Alex McAuley webmas...@thecarmarketplace.com
Subject: [Proto-Scripty] Re: Alternatives to Protosafe?
You
Doh!... didnt think of that
- Original Message -
From: waldron.r...@gmail.com
To: prototype-scriptaculous@googlegroups.com
Sent: Thursday, July 09, 2009 9:58 PM
Subject: [Proto-Scripty] Re: Alternatives to Protosafe?
Alex, he can just check for Prototype :)
if ( Prototype ) {
2009/7/9 JC mims1...@gmail.com
Ok so I modifed the function to suggestions on 1 and 2 just incase:
function AutosaveForm(formthis){
var alertTimerid = 0;
new Form.Observer(formthis, 0.3, function(){
clearTimeout (alertTimerid);
alertTimerid = setTimeout (function(){
The recommend content-type is 'applicacion/javascript' or
'application/ecmascript'
'text/javascript' and 'text/ecmascript' are obsolete
http://www.rfc-editor.org/rfc/rfc4329.txt
2009/7/6 Miguel Beltran R. yourpa...@gmail.com
If use in my code (using zope)
response.setHeader('content-type',
Hi David,
Thanks for that.
I'm using firefox (the only browser I can use at the moment!) and
while both examples will sort, the drag and drop feel is very
different for each.
I will try to get onto a Windows PC later today and test it out on IE,
perhaps it is just a firefox issue.
Cheers,
Okay, just went and tested on IE and you're right, they both work
fine.
Thanks - it's helped narrow down the problem :)
On Jul 10, 10:02 am, emz452 emz...@gmail.com wrote:
Hi David,
Thanks for that.
I'm using firefox (the only browser I can use at the moment!) and
while both examples will
21 matches
Mail list logo