I Know this has to do with the simple iframe thread, sorry about that
but i'm trying to use this code from an iframe and it's not working
What it does is makes a div disappear or appearHTML Code:onclick="window.parent.Appear('myDiv');"
here is the javascript code for the appear/disappear command
anyone know why it's not working?HTML Code:function Appear(itemID){ // Toggle visibility between hidden and visible if ((document.getElementById(itemID).style.visibility == 'hidden')) { document.getElementById(itemID).style.visibility = 'visible'; } else { document.getElementById(itemID).style.visibility = 'hidden'; } }



Reply With Quote

Bookmarks