I am trying to get a layer to display different content
everytime a different text link (part of a pop up menu)
is pressed. Where do I even begin? Do I need to use ASPs
for this?
It can be done from popups like this, without asp:
First, name the layer:
-------
<div id="thediv"></div>
-------
Then, every time a link is clicked tell it to do a function to replace the innerHTML of thediv:
-------
<a href="javascript:replace1();">Replace the first text</a>
<a href="javascript:replace2();">Replace the second text</a>
<script>
<!--
function replace1(){
thediv.innerHTML='<b>I'm the text from replace1!!!</b>';
}
function replace2(){
thediv.innerHTML='<b>I'm the text from replace2!!!</b>';
}
//-->
</script>
-------
Rick It's a pleasure to know that I've helped you. If I have,
please click the link below to let me know.
Thank you for your reply, now how do I make it so that I can basically put a whole page of info, including images which would also act as buttons inside that div everytime a new link is pressed? Do I need asps for that?
or would CSS solve my problem?
could I put the ssi in a layer, or table without the iframe?
if so, how? the ssi will also contain the say function,
when called, will it work since the mediaplayer
is embeded in the parent page also with the ssi?
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.