Champion Franck! Your code working beautifully in Safari/Mac.
To my js console at least - I have a little work to put it all together.
Regarding the Mac... Keep asking - if you don't the answer is always no!
On 4 sep, 16:02, "Oliver Boermans" <[EMAIL PROTECTED]> wrote:
> I'm getting a parse error:
> I don't understand the js well enough to figure out why...
It works fine for me (http://fmarcia.info/jquery/stack) with IE7, IE6,
FF2, Opera 9 and Safari 3/Win.
I don't know about Safari/Mac as nobody gi
Damn you cut and paste! Funny white space characters to blame :/
> I don't understand the js well enough to figure out why...
>
.shift()(). Gotta love that syntax. How about an array of function generator
functions? .shift()()(); Weee! JavaScript is fun!
Could you not remove that anonymous function wrapping doStuff()? Like:
stack.actions.push($(that).dostuff);
--Erik
On 9/4/07, Franck Marcia <[EMAIL PROTECTED]> wrote:
You could also pile up actions then run them (untested):
var stack = {
delay: 1000,
actions:[],
run: function() {
if (stack.actions.length) {
stack.actions.shift()();
setTimeout(stack.run, stack.delay);
For _most_ browsers changes in the CSS are not reflected in the layout
until _after_ your JavaScript is finished executing. I believe the
exception is Opera (or is it Safari...?), which also updates the
layout after a certain amount of time.
If you want to display the changes progressively you'll
6 matches
Mail list logo