unfortunately not really i find it to be a bloatware. I found this one to be better: HYPERLINK "http://www.pixeline.be/blog/2007/free-javascript-debugger-for-internet-explorer/"http://www.pixeline.be/blog/2007/free-javascript-debugger-for-internet-explorer/ i think the issue is in the second argument of my function drawDatascape() most of the time, this argument is empty. Is it possible to set the default value of an argument in the function declaration in javascript ? function drawDatascape(strataGrid, targetPos){ ...
if (typeof(targetPos) != "undefined") { datascape.travellingTo(targetPos); datascape.isTravelling = true; } ... } _____ From: jquery-en@googlegroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Stefan Petre Sent: vendredi 21 décembre 2007 10:47 To: jquery-en@googlegroups.com Subject: [jQuery] Re: internet explorer debugging Maybe this helps HYPERLINK "http://www.debugbar.com/"http://www.debugbar.com/ 2007/12/21, Alexandre Plennevaux <HYPERLINK "mailto:[EMAIL PROTECTED]"[EMAIL PROTECTED]>: hello friends, my application is running ok in firefox but is not doing so great in internet explorer. I'm having a hard time tracking down the bug(s). Can someone help me? Problem is i didn't find any decent tool to debug javascrpt in internet explorer. Anyway, here is the prototype i'm working on: HYPERLINK "http://www.pixeline.be/test/m2/"http://www.pixeline.be/test/m2/ the source code is here: HYPERLINK "http://www.pixeline.be/test/m2/_js/frontend/6_proto_strata+datascape+project.js"http://www.pixeline.be/test/m2/_js/frontend/6_proto_strata+datascape+project.js Basically, a good part of the code is used to make sure all elements fits nicely graphically on the background 4px grid, whatever the screen resolution. The top menu is "strataGrid" and after clicking on the second line of options in the menu, you get to the "datascape". now, i'm not an expert in javascript so any coding improvement you can suggest is welcomed, i did it my way :) The issue comes with the apparition of the datascape. It chokes and does not finish appearing. In firefox 2 it works well though. I think the error is somewhere here: $('.strataTrigger').bind('click', function(){ var $thisMenu = $(this).parents('.mainmenu'); var li = $(this).parent(); var index = li.parent().children('li').index(li[0]); $newLeft = strataGrid.startX + (strataGrid.colCenter - (index + 1)) * strataGrid.colWidth; $('.strataTrigger', $thisMenu).removeClass('selected'); $(this).addClass('selected'); $thisMenu.animate({ left: $newLeft + 'px' }); // 4._ SHOW/HIDES MENUS if ($thisMenu.attr('id') == 'strata1') { var showme = $(this).metadata().showme; //remove datascape if displayed if ($('#datascape').length) { $('#datascape').unbind().fadeOut("slow", function(){ clearInterval(datascape.$interval); $(this).hide(); // HIDE OR REMOVE ?? _ A SURVEILLER }); } $('.strata2').each(function(){ if ($(this).hasClass(showme)) { $(this).show(); } else { $(this).hide(); } }); } else if ($thisMenu.hasClass('strata2')) { $('#strata3').html(''); $("#datascape").load('ajax_datascape.inc.html', function(){ $(this).fadeIn("slow"); drawDatascape(strataGrid, ''); }); } return false; }); -- Alexandre Plennevaux LAb[au] HYPERLINK "http://www.lab-au.com"http://www.lab-au.com Ce message Envoi est certifié sans virus connu. Analyse effectuée par AVG. Version: 7.5.516 / Base de données virus: 269.17.5/1191 - Date: 20/12/2007 14:14