Hi Eric,

why not using the global background parameter?
try following exemple which work on FF and IE (at least):

$('myDiv').setStyle({background:'transparent url(wait.png)'});

--
david

On 3 fév, 20:48, Walter Lee Davis <[email protected]> wrote:
> The thing is, it doesn't evaluate each parameter to see which method  
> you've used. If your first element is not quoted, it will assume  
> camelCase throughout, and if it is, then it will assume 'parameter-
> name' throughout instead.
>
> Walter
>
> On Feb 3, 2009, at 1:44 PM, Eric wrote:
>
> > Documentation says Element.setStyle should accept both casing (dom-
> > like (with-dashes) and javascript like (withCamelCase) but it looks
> > like none of them work for this property...
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Prototype & script.aculo.us" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to