Again found a fix ..... if(document.documentMode >= 8) { ...................... }
For anyone interested - detects IE8 !! Alex Mcauley http://www.thevacancymarket.com ----- Original Message ----- From: "Alex McAuley" <webmas...@thecarmarketplace.com> To: <prototype-scriptaculous@googlegroups.com> Sent: Tuesday, August 04, 2009 2:33 PM Subject: [Proto-Scripty] Re: IE 8 Bug > > addClassName() worked but the page had cached and not updated my code > after > refresh ... shut the browser and tried again - worked first time.... > > Now i am looking for a way to detect if the browser is IE8 or not as the > css > renders the same as FF in IE8 but not in IE7 ! > > > Alex Mcauley > http://www.thevacancymarket.com > ----- Original Message ----- > From: "Jeff Conklin" <car...@gmail.com> > To: <prototype-scriptaculous@googlegroups.com> > Sent: Tuesday, August 04, 2009 2:31 PM > Subject: [Proto-Scripty] Re: IE 8 Bug > > >> >> Glad you fixed it.. but can you share? >> >> - J e f f C o n k l i n - >> - AOL IM - a14piece >> - http://www.getoutsidenj.com >> - http://www.carabs.com >> >> >> >> On Tue, Aug 4, 2009 at 9:29 AM, Alex >> McAuley<webmas...@thecarmarketplace.com> wrote: >>> >>> Never mind i fixed it !.. >>> >>> Goddam IE8 i hate it already - only been using it 1 hour ! >>> >>> >>> Alex Mcauley >>> http://www.thevacancymarket.com >>> ----- Original Message ----- >>> From: "Jeztah" <webmas...@thecarmarketplace.com> >>> To: "Prototype & script.aculo.us" >>> <prototype-scriptaculous@googlegroups.com> >>> Sent: Tuesday, August 04, 2009 2:21 PM >>> Subject: [Proto-Scripty] IE 8 Bug >>> >>> >>>> >>>> Afternoon Guys/Gals. >>>> >>>> >>>> I have a weird error in IE8. >>>> >>>> removeSuggestResults = function() { >>>> $$('.editsuggestResults').each(function(el) { >>>> $(el).remove(); >>>> }); >>>> } >>>> >>>> Doesnt seem to work in Internet explorer 8. >>>> >>>> The Element exists and was added dynamically to the DOM and has the >>>> classname. >>>> >>>> I read somewhere about IE8 not adding classnames to elements when the >>>> classname is in the options of "new Element();" so i called $ >>>> ('suggestiveResults').addClassName('editsuggestResults'); >>>> to be safe. But it seems to not be working. I also cant get a copy of >>>> firebug lite as the site seems to be down so i cant test the element >>>> to make sure it has the class!!!! >>>> >>>> Can anyone help ? >>>> >>>> >>>> Thanks in advance >>>> >>>> Alex >>>> > >>>> >>> >>> >>> > >>> >> >> > >> > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 prototype-scriptaculous@googlegroups.com To unsubscribe from this group, send email to prototype-scriptaculous+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/prototype-scriptaculous?hl=en -~----------~----~----~----~------~----~------~--~---