unclhos
06-19-2009, 04:30 AM
I have a set of photos on different sliders.
The different divs are populating correctly before I put in the display: none;
Is my Syntax correct for my javascript function embedded in an Iframe?
function showPhotos(str)
{
parent.document.getElementByClass('photoslider').style.display="none";
parent.document.getElementById(str).style.display="inline";
}
The different divs are populating correctly before I put in the display: none;
Is my Syntax correct for my javascript function embedded in an Iframe?
function showPhotos(str)
{
parent.document.getElementByClass('photoslider').style.display="none";
parent.document.getElementById(str).style.display="inline";
}