I have code that removes the content of a table and then redraws it.
It works great in Safari, but in firefox, the content that I draw in
moves down a couple of pixels each time I draw it.
I have reproduced it with only a little bit of code:
<html><header>
<script src="/javascripts/prototype.js" type="text/javascript"></
script>
</header><body>
<table id='test'>
</table>
<script type="text/javascript">
function redraw_rows(){
$('test').update();
row = new Element("tr")
$('test').insert({'bottom': row});
row.insert({'bottom': new Element("td")});
}
</script>
<a href='javascript:redraw_rows();'>test</a>
</body></html>
Can anyone help?
--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/prototype-scriptaculous?hl=en
-~----------~----~----~----~------~----~------~--~---