I updated my prototype and scriptaculous version and the problem didnt go away.
I removed the history manager too to see if was a problem with it but it wasn't. Please help me! 2009/12/21 Glauber Portella <glauberporte...@gmail.com> > Nothing changed when i rewrite to not replace protoype in Class.create. > Any other sugestion to try ?? > > Thanks > > 2009/12/21 Glauber Portella <glauberporte...@gmail.com> > > Hi T.J. Crowder >> >> ajax-content is the only ID for the content element. >> >> I am working with Prototype Version: 1.6.0.3 i will read and alter to the >> proper usage of Class.create. >> >> Ps.: ProtoHistoryManager is from one extension that i get in >> http://scripteka.com/ (Prototype.HistoryManager) >> >> Thanks >> >> 2009/12/21 T.J. Crowder <t...@crowdersoftware.com> >> >> Hi, >>> >>> I can't address the ProtoHistoryManager stuff, never seen that. But >>> the `getPage` call looks fine. >>> >>> IE has issues with confusing IDs and names; do you have *anything* >>> else on your page with the ID _or_ name "ajax-content"? >>> >>> [Possibly OT] What version of Prototype are you using? Because your >>> Class.create call doesn't look like it's for the current version of >>> Prototype (1.6.1). Since 1.6.0, you shouldn't replace the prototype on >>> a class you've created with 1.6.x's Class.create. More: >>> http://api.prototypejs.org/language/class.html ] >>> >>> HTH, >>> -- >>> T.J. Crowder >>> Independent Software Consultant >>> tj / crowder software / com >>> www.crowdersoftware.com >>> >>> >>> On Dec 21, 10:12 am, glauber portella <glauberporte...@gmail.com> >>> wrote: >>> > Hello, >>> > >>> > i am using ajax from prototype and some effects with scriptaculous and >>> > i am getting a strange behaviour when it is to be executed in Internet >>> > Explorer, my code use prototype history manager and for some reason my >>> > contents isn't show in IE, the core of the javascript is listed below: >>> > >>> > var site = null; >>> > >>> > var Chiquinho = Class.create(); >>> > >>> > Chiquinho.prototype = { >>> > initialize : function(links) { >>> > this.justloaded = true; >>> > this.currentLink = undefined; >>> > this.links = links; >>> > this.contentEl = $('ajax-content'); >>> > >>> > this.site_urls = { >>> > home : '/', >>> > empresa : '/empresa', >>> > artista : '/artista', >>> > agenda : '/agenda', >>> > locacao : '/locacao', >>> > contrate : '/contrate', >>> > depoimento : '/depoimento', >>> > parceiro : '/parceiro', >>> > contato : '/contato', >>> > artista1 : '/artista/show/id/1', >>> > artista2 : '/artista/show/id/2', >>> > artista3 : '/artista/show/id/3', >>> > artista4 : '/artista/show/id/4', >>> > artista5 : '/artista/show/id/5', >>> > artista6 : '/artista/show/id/6', >>> > artista7 : '/artista/show/id/7', >>> > artista8 : '/artista/show/id/8', >>> > artista9 : '/artista/show/id/9', >>> > artista10 : '/artista/show/id/10', >>> > artista11 : '/artista/show/id/11', >>> > artista12 : '/artista/show/id/12', >>> > artista13 : '/artista/show/id/13', >>> > artista14 : '/artista/show/id/14', >>> > artista15 : '/artista/show/id/15', >>> > artista16 : '/artista/show/id/16', >>> > artista17 : '/artista/show/id/17', >>> > artista18 : '/artista/show/id/18', >>> > artista19 : '/artista/show/id/19' >>> > }; >>> > >>> > this.protoHistoryManager = new ProtoHistoryManager(); >>> > this.reqHistory = >>> this.protoHistoryManager.register('pages', >>> > [ this.links[0] ], // default, page 0 >>> > function(values) { >>> > var index = >>> this.links.indexOf(values[0]); >>> > if (index == 0 && >>> this.justloaded) { >>> > return; >>> > } >>> > >>> > if (index != -1) { >>> > this.justloaded = >>> false; >>> > >>> this.linkClick(this.site_urls[values[0]], values[0]); >>> > } >>> > }.bind(this)); >>> > this.protoHistoryManager.start(); >>> > }, >>> > >>> > linkClick : function(url, linkid) { >>> > this.currentLink = { >>> > url : url, >>> > linkid : linkid >>> > }; >>> > this.cleanContent(); >>> > this.reqHistory.setValue(0, linkid); >>> > }, >>> > >>> > cleanContent : function() { >>> > new Effect.Appear(this.contentEl, { >>> > from : 1.0, >>> > to : 0.0, >>> > duration : 1.0, >>> > afterFinish : this.getPage.bind(this) >>> > }); >>> > }, >>> > >>> > getPage : function() { >>> > if (this.currentLink != undefined) { >>> > var url = this.currentLink.url; >>> > new Ajax.Updater('ajax-content', url, { >>> > onSuccess : function() { >>> > new >>> Effect.Appear(this.contentEl, { >>> > from : 0.0, >>> > to : 1.0, >>> > duration : 1.0 >>> > }); >>> > }.bind(this) >>> > }); >>> > } >>> > } >>> > >>> > }; >>> > >>> > Event.onDOMReady(function() { >>> > site = new Chiquinho( [ >>> > 'home', 'empresa', 'artista', 'agenda', >>> > 'locacao', >>> > 'contrate', 'depoimento', 'parceiro', >>> > 'contato', >>> > 'artista1', 'artista2', 'artista3', >>> > 'artista4', >>> > 'artista5', 'artista6', 'artista7', >>> > 'artista8', >>> > 'artista9', 'artista10', 'artista11', >>> > 'artista12', >>> > 'artista13', 'artista14', 'artista15', >>> > 'artista16', >>> > 'artista17', 'artista18', 'artista19' >>> > ] ); >>> > >>> > }); >>> > >>> > the getPage seen to not show contents returned from ajax in all >>> > versions of IE (from 6 to 8) how to overcome this and show my content >>> > as it is done with Firefox and Chrome ? >>> > >>> > PS.: if anyone wants to see the real test (from the site) accesshttp:// >>> teste.chiquinholins.com.br >>> > >>> > Thanks a lot. >>> >>> -- >>> >>> 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-scriptacul...@googlegroups.com. >>> To unsubscribe from this group, send email to >>> prototype-scriptaculous+unsubscr...@googlegroups.com<prototype-scriptaculous%2bunsubscr...@googlegroups.com> >>> . >>> For more options, visit this group at >>> http://groups.google.com/group/prototype-scriptaculous?hl=en. >>> >>> >>> >> >> >> -- >> Glauber Portella >> Fone: (31) 4101-6242 >> Cel: (31) 9374-4476 >> E-mail alternativo: glauberporte...@yahoo.com.br >> > > > > -- > Glauber Portella > Fone: (31) 4101-6242 > Cel: (31) 9374-4476 > E-mail alternativo: glauberporte...@yahoo.com.br > -- Glauber Portella Fone: (31) 4101-6242 Cel: (31) 9374-4476 E-mail alternativo: glauberporte...@yahoo.com.br -- 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-scriptacul...@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.