http://jsfiddle.net/stratboy/Q9hr9/
but in IE also gives errors here.. Don't know. Anyway, for now I've placed only a simple alert in detectActive. On 16 Mar, 09:58, Oskar Krawczyk <[email protected]> wrote: > Come on now, create a JsFiddle so we can all test :-) > > O. > > On Mar 16, 2011, at 9:27 AM, stratboy wrote: > > > Oooooops, wrong post, excuse me!!!! > > > Anyway, for the above problem, I can't get it. No solutions. I don't > > know. Maybe It's because the definitions in the css are not related to > > 1 specific class: > > > #main-menu > li.p1 > a{ width:53px; } > > #main-menu > li.p2 > a{ width:52px; background-position:0 -50px } > > #main-menu > li.p3 > a{ width:72px; background-position:0 -100px } > > #main-menu > li.p4 > a{ width:88px; background-position:0 -150px } > > #main-menu > li.p5 > a{ width:74px; background-position:0 -199px } > > > So maybe in this case mootools is not able (only in damned ie..) to > > retrieve the background-position prop. > > > Bye! > > > On 16 Mar, 09:23, stratboy <[email protected]> wrote: > >> In the end, for ff is simply a cache problem. Doing this: > > >> image+'?nocache='+Date.now() > > >> solves the problem. It is necessary only in ff, though. > > >> And still I can't really undestand how they do here, where it seems > >> they don't take advantange of anti-cache techniques: > > >>http://ines-papert.de/en/home > > >> uh? > > >> On 16 Mar, 08:08, stratboy <[email protected]> wrote: > > >>> The only difference I see is the use of getElement instead of $(), due > >>> to the fact you're using a class I guess. > >>> Wow. I've got to try something similar and see what happens. In the > >>> meantime, thank you :) > >>> I'll let you know > > >>> On 15 Mar, 18:25, Oskar Krawczyk <[email protected]> wrote: > > >>>> Anyway, work fine here. > > >>>>http://jsfiddle.net/rjCeS/andtheresulton IE8:http://d.pr/rnv2 > > >>>> On Mar 15, 2011, at 5:18 PM, stratboy wrote: > > >>>>> Yes I mean IE8 :) > > >>>>> On 15 Mar, 16:43, Oskar Krawczyk <[email protected]> wrote: > >>>>>> Wow, my brain parsed it as V8 (the V8 found in Chrome). > > >>>>>> On Mar 15, 2011, at 4:15 PM, Lee wrote: > > >>>>>>> I think he said IE8 ("v8"). > > >>>>>>> On 15/03/2011 15:32, Oskar Krawczyk wrote: > >>>>>>>> Which IE? > > >>>>>>>> On Mar 15, 2011, at 3:31 PM, stratboy wrote: > > >>>>>>>>> Hi! elem.getStyle('background-image') seems not to work in explorer > >>>>>>>>> (tested on v8) > >>>>>>>>> Idem if I use 'backgroundImage' or only 'background'. In ff and > >>>>>>>>> safari > >>>>>>>>> it works. > >>>>>>>>> That property is setted in an external css definition. > > >>>>>>>>> How can I solve this issue?
