Ajax Delay and Flicker



Hello,
I have a simple Table, 1 Row 2 Cells . The first cell has the Menu.
The second could have anything.
I update the 2nd Cell with the code below.
The problem is that the table elongates up and down for a split second
before the image is displayed in the cell.
I was able to slow it down by running a bandwidth intense program in
the background and I saw it elongate(The table border stretched also)
It happens DURING "document.getElementById
("Content").innerHTML=newTD;" , not before
The Cell I'm updating is id "Content". Do I need a div???

xmlResponse = xmlHttp.responseXML;
// obtain the document element (the root element) of the XML
structure
xmlDocumentElement = xmlResponse.documentElement;
imageName = xmlDocumentElement.firstChild.data;

newTD="<img src='"+imageName+"' width='650px' id='Graph' />"

document.getElementById("Content").innerHTML=newTD;

Any Help
Thanks
Mike
.



Relevant Pages

  • Re: Ajax Delay and Flicker
    ... The first cell has the Menu. ... I update the 2nd Cell with the code below. ... I was able to slow it down by running a bandwidth intense program in ... inline display), so you probably can avoid the problem by specifying a ...
    (comp.lang.javascript)
  • Re: Ajax Delay and Flicker
    ... The first cell has the Menu. ... I update the 2nd Cell with the code below. ... I was able to slow it down by running a bandwidth intense program in ... inline display), so you probably can avoid the problem by specifying a ...
    (comp.lang.javascript)
  • Re: Ajax Delay and Flicker
    ... The first cell has the Menu. ... I update the 2nd Cell with the code below. ... I was able to slow it down by running a bandwidth intense program in ... inline display), so you probably can avoid the problem by specifying a ...
    (comp.lang.javascript)
  • Re: Ajax Delay and Flicker
    ... The first cell has the Menu. ... I update the 2nd Cell with the code below. ... The problem is that the table elongates up and down for a split second ... I was able to slow it down by running a bandwidth intense program in ...
    (comp.lang.javascript)
  • RE: Im new to Excel,
    ... personal stat sheet for my work so that I know what my stats are at the end ... What I did was set up a 2-column table at J5 and K5 running down the sheet ... Then in the cell where you have your big nested IF formula, ... For the first formula in the first cell in the table, use this, which will ...
    (microsoft.public.excel.misc)