M
Mel
i need to have 2 side by side iframes, a link on top of the one will
show/hide the other
can someone help me pleeeeezzzzz ?
show/hide the other
can someone help me pleeeeezzzzz ?
Mel said:i need to have 2 side by side iframes, a link on top of the one will
show/hide the other
Mel said:i tried:
<iframe id="ME" src="http://www.yahoo.com" frameborder=1></iframe>
<script>
function hideElement (element) {
if (element.style) {
element.style.display = 'none';
}
}
function showElement (element) {
if (element.style) {
element.style.display = '';
}
}
<a href="#" onclick="javascript:hideElement('ME')">XXXXXXXXXXXX</a>
Have a span surrounding the anchor text that you would like to change.Mel said:thanks a lot for your help. it works fine.
sorry for the next question, but i am a newbeee
i need my link to display "show" when the iframe is hidden and "hide" when
it is visible.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.