you see, my problem is that i'm trying to make an object disappear without changing the "display:block or display:none" in css. because for some reason it screws up my alignments when i set my tables to 100% in width or height. sometimes it even screws up the height or width
here's the code that toggles from appearing to disappearing
and then i use this alsoHTML Code:function Appear(itemID){ // Toggle visibility between none and inline if ((document.getElementById(itemID).style.display == 'none')) { document.getElementById(itemID).style.display = 'inline'; } else { document.getElementById(itemID).style.display = 'none'; } }
how would i toggle without using css?HTML Code:onclick="Appear('Whatever');return false"
Or At least do it in a different method?



Reply With Quote

Bookmarks