There is a PR in Github since January 2021 to fix this, but it hasn't made its
way through the process yet. The last update was 22 days ago, but I don't know
what the timeline will be for this.
https://github.com/prototypejs/prototype/pull/349
Walter
> On Jun 11, 2022, at 12:56 AM, Vinay
I don't speak with any authority for either Thomas Fuchs or Andrew Dupont, but
both of these projects are effectively out of date. If you look at the latest
commit dates on GitHub, you'll see that very little has been added/changed over
the past couple of years. I recognize that this is not a
I have used Prototype.js in Rails up to 4.2, and it worked well there. Goodies
like the sortable list and other Script.aculo.us bits were usable there as
well. I didn't try very hard to use them in 5, because by that time I was also
working to use Bootstrap, and that was harder to use without
s long as it's one line. I generally substitute
/[\n\r]+/ with ' '.
Walter
>
>> On 23 Jun 2019, at 16:09, Walter Lee Davis wrote:
>>
>> One of the best ways to work this out is to build a cut-down example, in one
>> page, that tries to do what you're after here. If you ca
Sorry, typo here:
> On Jun 23, 2019, at 11:09 AM, Walter Lee Davis wrote:
>
> If #parent_element_id is a , then the HTML you get from
> /server/url?foo=bar should be:
I meant, if the parent element is a .
Walter
--
You received this message because you are subscribed to the G
One of the best ways to work this out is to build a cut-down example, in one
page, that tries to do what you're after here. If you can get that to fail,
post it as a Gist or similar. From your description, you're going about things
the right way.
One other piece of advice. Rather than using a
> On Mar 5, 2018, at 4:21 PM, Steevithak wrote:
>
> I'm doing some maintenance on an older site that was developed using
> something called prototype.js and scriptaculous. The scriptaculous website
> pointed me to this Google group for support.
>
> When pages load I
> On Jul 6, 2016, at 3:32 AM, Manjula Asirwatham
> wrote:
>
> Hi,
>
> We have an site www.rightgifting.com which customer can create personalized
> gifts. we use fabric JS to do the design of the products. But when the
> customer crop the image is doesn't fall to
hat <mahdyfar...@gmail.com> wrote:
>
> i have sent you an email on
>
> wal**@wdstudio.com
> please reply
>
>
> On Saturday, June 11, 2016 at 9:28:59 PM UTC+3, Walter Lee Davis wrote:
> I'm watching it in the Network pane of Safari Web Inspector. I
node.com
>
> On Saturday, June 11, 2016 at 5:52:02 PM UTC+3, Walter Lee Davis wrote:
>
> > On Jun 10, 2016, at 10:40 AM, Mahdi Farhat <mahdy...@gmail.com> wrote:
> >
> > i asked a developer to develop me a a penny auction script but the request
> > are sl
> On Jun 10, 2016, at 10:40 AM, Mahdi Farhat wrote:
>
> i asked a developer to develop me a a penny auction script but the request
> are slow , 300 ms on local machine and 600ms on server
> can i know why? can you help me? is the code not optimized?
Where are you
On Nov 9, 2015, at 2:01 AM, Amit Dwivedi wrote:
> Hi,
> As far as i know, prototype.js is a framework based on OO(correct me if i m
> wrong). we can write a new class in java script which can extend the behavior
> of existing one. My question is...Is it support some sort
The framework doesn't provide any tools to enable that, but you could fork it
and do that I suppose. You may have a larger issue because Prototype extends
the prototype (small p) of a lot of different parts of the JavaScript language,
and some of these changes mean that sloppily-written code
http://jsfiddle.com is free for anyone to use. One of the benefits of making a
cut-down example is that often, in the process of making a failing example,
you'll uncover the previously unrelated reason for the failure.
Walter
On Sep 3, 2014, at 4:15 AM, Иван Иванов wrote:
Unfortunately I do
Can you post a link to a page or fiddle that shows the problem in situ?
Walter
On Aug 28, 2014, at 4:18 AM, Иван Иванов wrote:
Yes, I tried. Nothing changed.
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To unsubscribe
Assuming that you put script tags around the JavaScript, and include
prototype in your page head, it does. One thing you may be overlooking is
source code order. If your script tag (containing this handler) occurs in the
page head, then the input#login will not exist yet at the time that the
On Jul 3, 2014, at 6:13 AM, Mahendran Pandian wrote:
Hi Team,
we are using prototype.js for past 8 years in our product development,
Recently our organization introduced code scanner(HP Fortify) to verify any
code vulnerable in the product. The scanner identified as
I'm trying to observe the page:load event fired by turbo links, and it's not
working for me. When the body is replaced by turbo links in Rails 4.1, it's
supposed to fire the page:load event at the very end. But this works:
document.addEventListener('page:load', decorate_markdown);
while this:
I've looked through the API a couple of different times, and I can't see a way
to do that. I've tried assigning a variable to it:
var foo = new Ajax.Request()
but re-assigning foo to point to a different request doesn't stop the first one
-- it carries on like it was still there, and
kill the callbacks but not the process in the server.
Jason Westbrook | T: 313-799-3770 | jwestbr...@gmail.com
On Tue, Apr 15, 2014 at 6:13 PM, Walter Lee Davis wa...@wdstudio.com wrote:
I've looked through the API a couple of different times, and I can't see a
way to do that. I've
Where would these credentials be stored? That's the key to your problem.
Setting the value is trivial with $('elementID').setValue('whatever');
Walter
On Jan 30, 2014, at 5:51 AM, Tommaso Ferrara wrote:
Hi, I would like to use Prototype to make a logging (for example, to email
Yahoo
widget is to interpret a click anywhere but on itself as a
signal to close the overlay, that's what happens. I forget how I worked around
that years ago when I first encountered it in FF.
Walter
On Monday, January 6, 2014 7:51:48 PM UTC-8, Walter Lee Davis wrote:
Here's a replacement I
Here's a replacement I wrote a while back. It's mostly a drop-in replacement
for the one in Scriptaculous, although it probably lacks some of the fit and
polish of the original. It doesn't suffer from the scrolling issue because it
doesn't provide a scrollbar. You may want to experiment with
It's been mighty quiet here, and I'm wondering if everyone just knows how to
use Prototype, and doesn't have any questions, or if you've all defected to the
Dark Side.
Happy New Year,
Walter
--
You received this message because you are subscribed to the Google Groups
Prototype
Apparently.
Walter
On Nov 6, 2013, at 12:09 PM, Worth Lutz wrote:
I cannot get to : http://api.prototypejs.org/
Is the server down?
Worth Luz
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To unsubscribe from this
I reached out to Sam Stephenson via Twitter, he has opened a ticket with
Rackspace to fix this.
Walter
On Nov 6, 2013, at 12:25 PM, Walter Lee Davis wrote:
Apparently.
Walter
On Nov 6, 2013, at 12:09 PM, Worth Lutz wrote:
I cannot get to : http://api.prototypejs.org
Documentation is back!
Walter
On Nov 6, 2013, at 2:41 PM, Walter Lee Davis wrote:
I reached out to Sam Stephenson via Twitter, he has opened a ticket with
Rackspace to fix this.
Walter
On Nov 6, 2013, at 12:25 PM, Walter Lee Davis wrote:
Apparently.
Walter
On Nov 6, 2013
Oh, I see. Yes, the Scriptaculous Control.Scrollbar does not respond to touch
events.
You have a couple of options. First, you could extend that control to map
touchStart and touchEnd at different coordinates to be same as mouseDown and
mouseUp at different coordinates. This is going to be
Can you show an example where this fails? I just used this feature with 1.7.1,
and you had me scared, so I just double-checked on the latest Firefox. I don't
see any errors coming from evalScripts() there. Perhaps the issue is the type
of function you are evaluating? Perhaps there is another
If you are creating the form in the page after it loads, the observer has to be
created after the form, in order to bind to that DOM object. The way around
this is to use the on() function to register a deferred listener. I am on my
phone, so I can't test this, but try this:
I
On Jul 17, 2013, at 3:37 PM, Joseph Lust wrote:
Ran into this issue on Prototype 1.5.1 and IE8.
Is there a specific reason you are using such an old (years!) version of
Prototype? 1.7.1 is current, and even it is getting a little long in the tooth.
The error is in the array without()
Wow. I wonder why it just this minute came up for moderation? That's Google
Groups for you...
Walter
On Jul 17, 2013, at 4:12 PM, Jansen Nunes wrote:
Hi
My post is older(2010) and my project is finished now.
Tks for all.
Regards
2013/7/17 Walter Lee Davis wa...@wdstudio.com:
I
Looking at your code, I can think of a much simpler way to construct this form
than using the slider control:
http://scripty.walterdavisstudio.com/color-picker.html
The same script could be extended to include your fading tooltips and pretty
much all the rest of the UX I see here. It would
This list is for the Prototype JavaScript framework, not the Date Time picker
itself. Can you post a link to the picker code? Someone here may be able to
help you with your specific query.
Walter
On Jun 17, 2013, at 6:16 AM, Carmela Ward wrote:
I want to stop future time selection when a
On Jun 9, 2013, at 12:59 PM, Phil Petree wrote:
This just seems really, really odd... THATS where they decide to draw the
line? LOL
I believe this architectural decision was made at a time in history when
introspecting the CSS cascade to discover if an element was actually visible at
the
I believe that the plan all along w/r/t these new JS-core features has been to
prefer the native implementation where available and compatible, and leave the
Prototype method as a polyfill for older browsers. I don't believe that
Prototype currently behaves this way, but the last time I heard
This would be pretty easy to do. Prototype gives you lots of tools to make this
possible, the bulk of this effort would probably go into the CSS to style your
tooltips.
On May 30, 2013, at 11:30 AM, Phil Petree wrote:
Has anyone developed an inline help system? Am I barking up the wrong tree
I think you could make the whole thing pretty simply. Rather than creating a
separate handler (with each()) for each .help element, you could wrap the
entire thing in one on handler, which you would not need to customize per
page or worry about dom:loaded or anything:
document.on('click',
On May 17, 2013, at 12:19 PM, Phil Petree wrote:
I'm expanding the table row highlighting ya'll helped me with before. Now I
have two tables on a page and each table has rows that I want to highlight on
mouseover.
Can't give the tables the same id so what I was doing was creating a div
On May 7, 2013, at 7:30 AM, ayson...@gmail.com wrote:
I have created two divs. One is for draggable objects. Another for the area
where they should be dropped.
The both divs should have the same height and if there are large number of
draggables to have scrollbar.
When I add overflow:
On Apr 30, 2013, at 3:02 PM, joz...@sonic.net wrote:
Hello to all,
This is my code and the call does complete and the back end perl script
updates the database but I continue to get a onFailure - not sure how to
troubleshoot this. I have changed method to post and it works for a bit
On Apr 29, 2013, at 8:54 AM, Alastair Young alastair.yo...@gmail.com wrote:
I need to move my code (Prototype 1.7.1) into someone else's much larger
project using jQuery v1.5.1.
Can I load Prototype in no-conflict mode ? I can't change any of the jQuery
stuff.
Not as far as I know. The
character, like the
underscore, for $. Do the same in a fork of your code. See if that does
anything useful. It may.
Walter
On 29 April 2013 17:05, Walter Lee Davis wa...@wdstudio.com wrote:
On Apr 29, 2013, at 8:54 AM, Alastair Young alastair.yo...@gmail.com wrote:
I need to move
or not.
Walter
On 29 April 2013 17:28, Walter Lee Davis wa...@wdstudio.com wrote:
On Apr 29, 2013, at 9:22 AM, Alastair Young alastair.yo...@gmail.com wrote:
I can't modify the HTML - I fear my only solution is port all my code to
jQuery
Before you do that, try this. Download a copy
On Apr 22, 2013, at 3:04 AM, Cardinal wrote:
Unfortunately i can't provide a live demo as i am talking about a plugin for
Novell / NetIQs iManager.
Attached please find the SelectEntity.jsp file and some of its includes.
Try this: get into the browser where you see the problem on a
On Apr 20, 2013, at 6:19 AM, Cardinal wrote:
Hi all,
when i'm including prototype into a JSP, IE throws the error Unterminated
string constant when i open a popup window which contains strings with a
trailing dot.
Basically, it's a list of usernames in the format
user1.data
Just read this part. Please try to make a cut-down example in a static page
that duplicates the error. Often this exercise will either bring
dependencies/alternate causes to light, or it will force you to think through
the problem in a new way.
Walter
On Apr 20, 2013, at 6:19 AM, Cardinal
On Apr 8, 2013, at 8:22 AM, m...@travelmarket.com wrote:
Hi guys
I am getting this error on a project I've inherited from a colleague now on
maternity leave.
Prototype.Selector is undefined
I have absolutely no clue as to what is causing this and how I go about
debugging it -
-menu
Basically they just put color swatch/squares in a row and allow you to
mouseover to see the effects and a click selects that color.
On Thu, Mar 21, 2013 at 12:05 AM, Walter Lee Davis wa...@wdstudio.com wrote:
I think you're going to need to update a swatch next to the picker, maybe
Really? Can you show an example? I don't think the label.swatch itself gets a
:checked pseudo-class, it's the input inside it that gets checked. While you
can find the :checked checkbox, you can't style upward like that to access the
parent label (really wish you could).
Walter
On Mar 21,
Here's what I was thinking of:
http://scripty.walterdavisstudio.com/color-picker.html
Walter
On Mar 21, 2013, at 2:40 PM, Walter Lee Davis wrote:
Really? Can you show an example? I don't think the label.swatch itself gets a
:checked pseudo-class, it's the input inside it that gets checked
I think you're going to need to update a swatch next to the picker, maybe. The
select is remarkably styling-resistant in Safari, probably Chrome as well. I
would absolutely position a little dot off to the left of the select, and
update its background color on the change event of the select.
What does your page head look like? Can we see a link? Prototype needs to be
linked before scriptaculous in the head of your page, that's what this error
puts me in mind of.
Walter
On Mar 19, 2013, at 2:57 PM, Andy wrote:
Hi all,
I am having an error with the script.
ReferenceError:
checked Script2 but no Script1, the version 2 of autocomplete don't
like me.
2013/3/13 Walter Lee Davis wa...@wdstudio.com
What do you see in Firebug or Web Inspector's console? Can you please post an
example showing your work so far? We will be happy to help, but without
setting up a demo
On Mar 14, 2013, at 7:58 AM, Gretsch wrote:
My code used to work, but now the .morph no longer works - in the chrome
console it says:
Uncaught TypeError: Object [object Object] has no method 'morph'
The code includes the following:
link
What do you see in Firebug or Web Inspector's console? Can you please post an
example showing your work so far? We will be happy to help, but without setting
up a demo locally, it's going to be difficult for us to divine exactly where
the problem is.
Walter
On Mar 13, 2013, at 3:18 PM, Miguel
Have a fiddle: http://jsfiddle.net/ZYDjc/
Any thoughts? Should I raise a ticket?
Thanks,
Walter
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To unsubscribe from this group and stop receiving emails from it, send an email
to
, 2013 at 4:42 PM, Walter Lee Davis wa...@wdstudio.com wrote:
Try this example in Safari, Chrome, and Firefox, latest versions. Please let
me know what you see.
http://scripty.walterdavisstudio.com/copy-style-fail.html
Safari gets it right, Firefox and Chrome do not, and I'm baffled
Try this example in Safari, Chrome, and Firefox, latest versions. Please let me
know what you see.
http://scripty.walterdavisstudio.com/copy-style-fail.html
Safari gets it right, Firefox and Chrome do not, and I'm baffled.
Digging into the issue in Firebug, it appears as though
On Jan 27, 2013, at 4:10 PM, Phil Petree wrote:
Hi All!
I'm implementing the scriptaculous inplace editor and I have it working
except for one small detail:
If I activate the editor, click cancel, activate the editor again I get two
inplace editors. cancel those and activate again
On Jan 23, 2013, at 7:48 AM, Köd wrote:
Hi guys
To get a full view of my problem, please read:
http://stackoverflow.com/questions/14478903/script-aculo-us-toggle-appear-on-multiple-divs
_
I have a simple question to ask you:
Is it possible
Could you please post your solution? I thought Effect.multiple was for applying
different functions to the same element, not the other way round...
Walter
On Jan 23, 2013, at 11:28 AM, Köd wrote:
Guys!
It works! I don't know what was wrong with my code before - but I made the
$('myElementId').setOpacity(1);
On Jan 21, 2013, at 12:43 PM, kstubs wrote:
Whats the most straightforward means of setting opacity on a layer without
any effects? I just need the layer to be opaque.
Thanks,
Karl..
--
You received this message because you are subscribed to the
Maybe you also have to fiddle with the accept header? I've been having the same
error for weeks in Safari, and on a straight get request to a CORS-enabled S3
endpoint, returning plain old HTML.
Walter
On Jan 16, 2013, at 9:20 PM, Dave Lazar wrote:
Indeed I did... to no great effect with the
On Jan 13, 2013, at 12:03 PM, tab1ta wrote:
Hello, i'm trying to interface two different scripts, one from this mailing
list and one from here.
The result is a django template:Here
http://pastebin.com/LWJbUZ9v
The problem is that the link:
a href=#/a
should show a pop up
If onbeforeunload returns true-ish, the browser will put up a dialog with the
results of that true-ish value being cast to a string interpolated inside the
standard dialog. There is no need to have confirm in there as well. Try either
returning false if all is well, or a string with your
On Jan 9, 2013, at 3:45 PM, Jason Westbrook wrote:
It is possible but you have to realize it will only work on browsers that
have the FileAPI available - Chrome/Firefox/Safari
new
Ajax.Request(fileupload.php?filename=myfile,{postBody:$(inputfield).files[0]});
will post the contents
On Jan 3, 2013, at 8:59 AM, Phil Petree wrote:
$('mail').on('mouseover', 'tr', function(elm, evt){
My error, the variables are swapped. Make that line this:
$('mail').on('mouseover', 'tr', function(evt, elm){
Walter
--
You received this message because you are subscribed to the Google
('removeClassName', 'over');
elm.addClassName('over');
});
$('mail').on('mouseout', 'tr', function(evt, elm){
rows.invoke('removeClassName', 'over');
});
On Thu, Jan 3, 2013 at 11:25 AM, Walter Lee Davis wa...@wdstudio.com wrote:
On Jan 3, 2013, at 8:59 AM, Phil Petree wrote
I usually have to add the color attribute to the td rather than the tr. You can
make this change at the CSS level. Rather than using setStyle(), toggle the
classname of the row, and then set your CSS to apply to td children of that
class of row. For example:
var rows = $$('#mytable tr');
Which ones? I just tried them here without issue.
Walter
On Dec 25, 2012, at 6:41 AM, Phil Petree wrote:
and Walter, if you're still haning out here, two of those demos are broken).
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us
I had some older versions of Prototype/Scriptaculous in there, that'd explain
it, since I was looking on Mac OS, and there was no patch needed for those
browsers. I've just updated to the latest.
Walter
On Dec 25, 2012, at 5:55 PM, Phil Petree wrote:
On ie9.
--
You received this message
On Dec 21, 2012, at 9:46 AM, tab1ta wrote:
I added an Event listener to the page, to catch every event but it doesn't
work still. The code is more compact:
?php
require_once(tabs.php);
?
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN
You can fix this two different ways: either move your script block to the
bottom of the page (just before /body, as in my example) or add an unobtrusive
listener block around your main function. The issue here is that because your
script appears before the HTML it applies to, none of the
On Dec 17, 2012, at 5:13 AM, Agnese Camellini wrote:
2012/12/17 Walter Lee Davis wa...@wdstudio.com
?php print 'This is DYNAMIC thing ' . preg_replace('/[^\d]+/', '',
$_POST['id']); ?
Call that script page.php and modify the JavaScript as follows:
script type=text/javascript
On Dec 14, 2012, at 5:21 AM, tab1ta wrote:
Hello. i'm just approaching Javascript through an old book.
do you see anything wrong in the funcions listed below?
html
headtitleLink Test/title /head
body
a id=mylink href=http://joy.indivia.net;Click me/abr
On Dec 16, 2012, at 8:59 AM, tab1ta wrote:
Hello.
I'm studying, there is a piece of code i cannot get to work, so i was asking
myself if you can help, given that all the pastebin doesn't accept the
prototype link.
Which ones have you tried? JSFiddle has Prototype as one of its many
On Dec 14, 2012, at 12:16 PM, kstubs wrote:
Any Google+ users on this forum? I've started a community there called
PrototypeJS.
https://plus.google.com/u/0/communities/117299565971807136426
Come join!
Serious question: what would the benefit be versus mail? How would you receive
questions. It's that part of
the equation that I fear gets lost in a non-push environment, to the detriment
of all.
Walter
On Fri, Dec 14, 2012 at 12:45 PM, Walter Lee Davis wa...@wdstudio.com wrote:
On Dec 14, 2012, at 12:16 PM, kstubs wrote:
Any Google+ users on this forum? I've started
That's an excellent idea. You should see if Kangax wants to pitch in, since he
created Scripteka, and he's still involved a bit in Prototype.
Walter
On Dec 2, 2012, at 12:32 PM, Jason Westbrook wrote:
I'm actually planning on taking whatever is still available on scripteka and
rehosting
Leave the quotes off of the variable when you are setting the value, and you
should have it working (assuming that field is the ID of an input on your
page. It's also safer to use $('field').getValue() or the shortcut $F('field')
because that works around some edge cases in older browsers.
There's a warning on the API site about IE:
Using Element.wrap as an instance method (e.g., $('foo').wrap('p')) causes
errors in Internet Explorer when used on textarea elements. The wrap property
is reserved ontextarea's as a proprietary extension to HTML. As a workaround,
use the generic
I am using Amazon S3, with a cross-domain request allowed there, and am able to
load HTML from a static file hosted there into a shell page hosted on my own
server using Prototype Ajax.Updater. Recently, I started getting an error in
Safari (latest version) of Refused to get unsafe header
19, 2012, at 11:35 AM, Walter Lee Davis wrote:
I am using Amazon S3, with a cross-domain request allowed there, and am able
to load HTML from a static file hosted there into a shell page hosted on my
own server using Prototype Ajax.Updater. Recently, I started getting an error
in Safari
On Nov 3, 2012, at 1:51 PM, kstubs wrote:
If I define an on click event for a given css selector did I disable or trap
the default click event? Reason I'm asking is I have a form and I have wired
up a click event for a given input type like this:
this.form.on('click',
On Oct 28, 2012, at 4:15 AM, donnek wrote:
I'm new to Prototype, and I'm trying to use AJAX to update divs inthe
background, pulling data from a database. I've got Ajax.Updater to work with
the output of a form, but I'm having difficulty with adpting it for use with
a link. Basically, I
On Oct 28, 2012, at 12:05 PM, donnek wrote:
On Sunday, 28 October 2012 15:53:37 UTC, Walter Lee Davis wrote:
I'm pretty sure your problem is right here. There's no attr() method in
Prototype. Try readAttribute() instead, and you appear to have everything
right besides.
Thanks, Walter
: {
word: elm.readAttribute('id')
}
}
);
});
});
/script
Much cleaner and fewer global variables are massacred.
Walter
On Oct 28, 2012, at 3:23 PM, donnek wrote:
On Sunday, 28 October 2012 15:53:37 UTC, Walter Lee Davis wrote:
What does Firebug say your
, donnek wrote:
On Sunday, 28 October 2012 20:32:34 UTC, Walter Lee Davis wrote:
Okay, that means that 'this' inside the Ajax.Updater is not set to what you
think it is. Try this:
snip
Much cleaner and fewer global variables are massacred.
Hey, thanks! Both of those work. But I don't
On Oct 24, 2012, at 3:40 PM, JB wrote:
Hi
I'm using Prototype 1.2
Wow, that's quite old! 1.7.1 is current, and given the pace of development, it
too is getting long in the tooth.
And the transparency and opacity not work in ie8
That's your problem right there. You're not using Prototype
Can you describe what you mean by future elements on the page? Do you mean
elements that are later in the source order than the script? If so, that's
pretty simple:
document.observe('dom:loaded', function(){
$$('div.foo').invoke('addClassName', 'bar');
});
, Oct 24, 2012 at 1:57 PM, Walter Lee Davis wa...@wdstudio.com wrote:
Can you describe what you mean by future elements on the page? Do you mean
elements that are later in the source order than the script? If so, that's
pretty simple:
document.observe('dom:loaded', function
, Walter Lee Davis wa...@wdstudio.com wrote:
You can add this transformation in the onSuccess callback of your Ajax call:
new Ajax.Updater('foo', '/get/more/foo', {onSuccess: function(){
$$('.foo').invoke('addClassName', 'bar');
});
As long as you don't have a ton of DOM changes
PM, Walter Lee Davis wa...@wdstudio.com wrote:
Okay, then try this (wasteful but should do the job):
new PeriodicalExecuter(function(){ $$('.foo').invoke('addClassName', 'bar');
}, 0.3);
There's also an event (not uniformly covered by the browsers) that is fired
when a DOM element
On Oct 16, 2012, at 5:32 PM, Trik wrote:
Hi there,
I'm a littlebit confused, i'm not a prototype expert and i would like to
solve a problem.
I have an old library based on 1.6.1 version.
There is a method that make an error when i try to upgrade to 1.7.1 :
function
Are you asking if you can write one, or if one exists you could use?
Walter
On Oct 8, 2012, at 8:11 AM, Erika Will wrote:
Hello can I include a zoom function?
--
You received this message because you are subscribed to the Google Groups
Prototype script.aculo.us group.
To view this
On Sep 26, 2012, at 5:00 AM, kstubs wrote:
Does a form submit bubble up to the containing element?
I'd like to capture form submit on a container div for a form submit. Reason
being: I create the form on the fly based on whichever child element the
user has selected (if any). I'd like
Sure. if you start at the tr that holds the tds, you can use down() to do this.
If you want the second td to have a certain width, you could do this:
$$('tr').each(function(elm){
elm.down('td', 2).setStyle('width:122px');
});
Walter
On Sep 23, 2012, at 12:59 PM,
Whenever you place an image (or text) inside a div without wrapping it in a P
tag, the browser will add an implicit P tag around the image, and treat it to
the default line-height and padding for a P on your page. I am pretty sure
that's what's going on here, and you should be able to get rid
On Aug 9, 2012, at 5:28 AM, Victor wrote:
It may fail because this code may overwrite element's properties (and in some
browsers like IE and Opera some attributes, mapped as element properties).
That's an excellent point.
E.g. $(someInput).store(name, foo).store(type, bar); Better will be
1 - 100 of 631 matches
Mail list logo