Having a comma in this spot is going to create a real problem, because
you are inside of a JavaScript Hash, and hashes use commas to delimit
key - value pairs from one another:
{foo:bar, baz:blah, boo:bah}
So having a comma in there like this:
new Effect.Appear('item', {duration:1, delay:0,3})
Means something like this:
duration = 1
delay = 0
3 = null //and here an error occurs
Scriptaculous is incredibly well-written, so it probably works its way
through that error, but it might not. Side effects could include
nothing else on your page working as expected.
Walter
On Sep 30, 2010, at 1:04 PM, Jon wrote:
Hello again, and thank you,
This is the nearest I could find as per your instructions:
Event.observe(window,‘load’,function(){new
Effect.Appear(‘WebSolutions’, {duration:1, delay:3})});
This is how it looks when I try 2.5:
Event.observe(window,‘load’,function(){new
Effect.Appear(‘WebSolutions’, {duration:1, delay:2,5})});
A comma. What is strange is that this little comma stops everything
else on the page to appear with delay.
Let’s hope someone has a suggestion.
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options
freewaytalk mailing list
email@hidden
Update your subscriptions at:
http://freewaytalk.net/person/options