So I did 1.2 update last night and it fixed my submenu in IE7! Only thing I changed from this script was Fx.Styles to Fx.Morph.
Thanks alot guys! On 11 marras, 02:03, "Iván N Paz" <[EMAIL PROTECTED]> wrote: > Hey Steve! Glad you made the jump! See it wasnt too scary after all? :-P > > Roope, I havent had a chance to try the menu-system... way too busy, > but will certainly try it later tonight or tomorrow.... > > On 11/10/08, Steve Onnis <[EMAIL PROTECTED]> wrote: > > > > > > > I was in the same boat, moving to 1.2 is actually quite easy. The main > > thing for my code i had to change was FX.Styles to FX.Morph and some > > getHTML/setHTML functions that was it. I wouldnt be too scared about > > migrating. There is not that much to change around. > > > -----Original Message----- > > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > > Of Iván N Paz > > Sent: Tuesday, 11 November 2008 6:35 AM > > To: [email protected] > > Subject: Re: Fx.Styles problem in IE7 > > > You *should* update to 1.2.1 for another number of reasons... better > > plugins, more optimization, staying current, etc... > > > Anyhow I will try your stuff on IE7 in a while using 1.11 and see if I > > can spot anything weird with it or if its just plain bugs (on IE7 > > side) > > > If I dont see anything weird and still dont get it to work correctly, > > I will take a look at making it 1.2.1 targetted instead... > > > Bests > > Iván > > > On 11/10/08, Roope <[EMAIL PROTECTED]> wrote: > > > I have bunch of other v1.11 classes ready and functional so I'd like > > > this to remain 1.11 also. But if u think 1.2 would work somehow > > > better, maybe I should consider updating my whole mootools set. > > > > On 10 marras, 17:54, "Iván N Paz" <[EMAIL PROTECTED]> wrote: > > > > Not the answer, but just wondering... Do you want this to be only for > > > > Mootools 1.11? Why not code it for 1.2? (ie. Fx.Styles to Fx.Morph)... > > > > > I will take a look at it anyhow now.... > > > > > On 11/10/08, Roope <[EMAIL PROTECTED]> wrote: > > > > > > Hi! > > > > > > I have very simple submenu hover fx - similar to mootools 1.1 > > > > > Fx.Styles demo page: > > > > > > window.addEvent('domready', function(){ > > > > > // SUBDIR HOVER FX > > > > > var list = $$('li.subDir a'); > > > > > list.each(function(element) { > > > > > var fx = new Fx.Styles(element, { > > > > > duration:120, > > > > > transition: Fx.Transitions.Cubic.easeInOut, > > > > > wait:false > > > > > }); > > > > > element.addEvent('mouseenter', function(){ > > > > > fx.start({ > > > > > 'right': 15, > > > > > 'color': '#000', > > > > > 'border-color': '#888', > > > > > 'background-color': '#e4e4e4' > > > > > }); > > > > > }); > > > > > element.addEvent('mouseleave', function(){ > > > > > fx.start({ > > > > > 'right': 0, > > > > > 'color': '#ff6600', > > > > > 'border-color': '#333', > > > > > 'background-color': '#111' > > > > > }); > > > > > }); > > > > > }); > > > > > // SUBOBJ HOVER FX > > > > > var list = $$('li.subObj a'); > > > > > list.each(function(element) { > > > > > var fx = new Fx.Styles(element, { > > > > > duration:120, > > > > > transition: Fx.Transitions.Cubic.easeInOut, > > > > > wait:false > > > > > }); > > > > > element.addEvent('mouseenter', function(){ > > > > > fx.start({ > > > > > 'right': 15, > > > > > 'color': '#000', > > > > > 'border-color': '#888', > > > > > 'background-color': '#e4e4e4' > > > > > }); > > > > > }); > > > > > element.addEvent('mouseleave', function(){ > > > > > fx.start({ > > > > > 'right': 0, > > > > > 'color': '#e4e4e4', > > > > > 'border-color': '#333', > > > > > 'background-color': '#000' > > > > > }); > > > > > }); > > > > > }); > > > > > }); > > > > > > Demo page:http://demo3.blowback.fi/hakukoneoptimointi > > > > > > Script runs smoothly on Firefox, Opera and IE6 but fails totally > > under > > > > > IE7. My script looks almost indentical to the one that is > > documented > > > > > in Mootools demo page witch works fine on both IE's. I can't see > > > > > what's ruining this one.. Any help would be much appreciated! > > > > > -- > > > > ◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦ > > > > Ivanicus' Code Boxhttp://ivanicus.com/ > > > -- > > ◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦ > > Ivanicus' Code Box > > http://ivanicus.com/ > > -- > ◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦◦ > Ivanicus' Code Boxhttp://ivanicus.com/
