Here are some links I have that are applicable:
http://tomas.epineer.se/archives/3
http://www.devpro.it/upload_progress/
http://bluga.net/projects/uploadProgressMeter/
http://www.raditha.com/php/progress.php
From:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behal
For the most part, file upload progress information handling depends
on the
underlying framework on the server and the web server software itself,
because you don't get that information from the browser.
So you need to look for something that's specific to the server-side
stuff you use.
-Th
I've seen a few demos online, for php, but I'm looking for a file upload progress bar implementation with Prototype. Can anyone point me in a good direction for one?I'm not using Rails, so I can't use the upload_progress addon, unfortunately.
Thanks for any infoJim
On Fri, Mar 31, 2006 at 02:13:11PM -0600, Ryan Gahl wrote:
> > Here's where I get lost. The event fires and then I free up the
> > event bound to that element. Where's the list of other events to
> > free up before starting the ajax call?
>
> This is why you should always keep handles to your ev
> Sure seems like something javascript should deal with. Closures are
> tough, but perhaps some kind of "weak reference" support could solve
> that. If an element is destroyed sure seems like javascript should
> figure out how to free up memory.
> Do these memory leaks persist after a full page
Oops.. forgot to also include the on for
stylesheets…
function IncludeStyleSheet(externalFile)
{
document.write('<\/script>');
}
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
On Behalf Of Ryan Gahl
Sent: Friday, March 31, 2006 1:45
PM
To: rails-spinoffs@l
I have a global js function that handles
this… always makes sure the parameter after the ? is new, therefore the
file is always loaded new on the client…
…once you get your application to a
stable “release” point though, maybe think about going back to the
old way… because this could po
In it's very simple form you can do this -
For first time include the js file like this -
After updates include it like this -
Keep bumping up the version number.
Now there are lots of better ways of doing this and creating automated
versioning by checking the md5 of the file etc etc, bu
Hi folks,
So I’ve got this app built on
prototype, with a bunch of extra JS classes to do what we want. Now the
problem is, when I make a change to one of those JS files (or an upgrade to
prototype itself), how do I ensure that the client browsers refresh their cache
with the latest JS
How would I make a dragable box snap every 100 pixels horizontally and every 25 pixels vertically, and be constrained to a box that is 800 pixels wide by 500 pixels tall?And then how can I retrieve the position of this box when it is released.
ThanksBrian
___
On Fri, Mar 31, 2006 at 10:22:56AM -0600, Ryan Gahl wrote:
> But... Behavior does not address the problem of disposing of the already
> created event handlers (which are very often closures, therefore big
> potential for memory leaks)
Which is why I've been moving away from Behavior. Although, I
But... Behavior does not address the problem of disposing of the already
created event handlers (which are very often closures, therefore big
potential for memory leaks)
It's much better to start programming your "widgets" as autonomous
objects, and keep handles to all your event handlers.
Bill,
Ya never know who's around the corner or wanting to move and might be
interested, so I thought I'd share this with you esteemed colleagues on
the list.
UI Developer:
http://www.finetooth.com/aboutus/careersDetail.php?id=7
Sincerely,
Lindsey Simon
http://development.finetooth.com/
PS - check out
Michael Peters wrote:
> Look at Behaviour.js. If you use that, then you can just call
> Behaviour.apply() to reapply the effects.
Sorry, forgot the link - http://bennolan.com/behaviour/
--
Michael Peters
Developer
Plus Three, LP
___
Rails-spinoffs
Bill Moseley wrote:
> Avoiding real work I decided to try and clean up my html and remove my
> inline onclick handlers for Ajax.Updater calls. Here's the inline
> method I've been using:
>
> http://hank.org/demos/ajax-inline.html
>
>
> Now, here's using
Avoiding real work I decided to try and clean up my html and remove my
inline onclick handlers for Ajax.Updater calls. Here's the inline
method I've been using:
http://hank.org/demos/ajax-inline.html
Now, here's using
Thanks for including it Thomas.
I'll try to test on my wife's Mac this weekend and see if I can fix the
Safari issues. Didn't notice any flickering on my machine here, but it
could just be my test page was set up a different way that worked better
with the code. I'll try to set up some more test
Hi, maybe it's just a stupid answer, but i made this with only call
the function in the response after the script. But i don't know is you
make it with a function.
Guille
2006/3/31, Nicolas Terray <[EMAIL PROTECTED]>:
> On 3/31/06, Nicolas Terray <[EMAIL PROTECTED]> wrote:
> > I have an Ajax.Upda
whoops. that syntax is wrong obviously - i was doing it from memory
width: 50px, etc.On 3/31/06, Larry White <[EMAIL PROTECTED]> wrote:
As it turns out, if you give the list a height and width then you can
drop on it when it's empty. You can do that with standard css, ala
ul.sortable-list {
As it turns out, if you give the list a height and width then you can
drop on it when it's empty. You can do that with standard css, ala
ul.sortable-list {
width = 100px;
min-height = 50px;
}
Thank you for your response.
I think you also have to have the sortable's dropOnEmpty parameter
I ran into this issue too. My solution was to add an "onUpdate" function to
the sortable that tests the container to see if it's got any children or
not:
function is_empty(container)
{
if ($(container).hasChildNodes()) {
Element.removeClassName($(container),'empty');
I'm getting an error from IE on the following line in the newest prototype...
element._extended = true;
IE is saying that 'Object doesn't support this property or method'.
I'm using IE6.
Has anybody else had similiar issues?
___
Rails-spinoffs mailing
On 3/31/06, Nicolas Terray <[EMAIL PROTECTED]> wrote:
> I have an Ajax.Updater with evalScript = true and I would like to
> execute some javascript *after* the scripts in the answer have been
> eval'ed.
> How can I do that ?
>
I don't know if my question was clear therfore here is a live example :
Howdy all,
I have an Ajax.Updater with evalScript = true and I would like to
execute some javascript *after* the scripts in the answer have been
eval'ed.
How can I do that ?
I've tried with onComplete, but onComplete seems to be fired before
the inner scripts.
Thanks,
Nicolas
___
So, it's in. :)
One thing i noticed:
Scrolling "beyong" the bottom of the window in Safari
causes strange things, plus the draggables sort-of flicker a bit,
plus Safari has some artifacts from scrolling (doesn't render
properly).
These things aren't really breaking things, but if anyone has
work
You probably didn't update your prototype.js file (it's in lib/ in
the scriptaculous download).
-Thomas
Am 29.03.2006 um 17:02 schrieb Danijel K.:
Hi all,
I just tried the latest version and saw that parts of my page
stopped working. I debugged some and found out that the error is
som
I have the follow code:
-
function setupCategoryEditor(el, url, id_pagam) {
var Element = document.getElementById(el);
var editor= new Ajax.InPlaceCollectionEditor(el, url,
{
callback: function(form, value) { return
'op=pag_sca&value='+value+'&id='+id_paga
27 matches
Mail list logo