All pastes #342615 Raw Edit

div

public text v1 · immutable
·published 2007-02-06 12:45 UTC
rendered paste body
i have two frames.
on frame one theres a link with :

<script language="JavaScript" fptype="dynamicanimation">
<!--
function dynAnimation() {}
function clickSwapImg() {}
//-->
</script>
<script language="JavaScript1.2" fptype="dynamicanimation" src="file:///C:/Program%20Files/Microsoft%20Office/OFFICE11/fpclass/animate.js">
</script>
</head>

<body onload="dynAnimation()" language="Javascript1.2"><font color="#FFFFFF" size="2">
 <a style="font-family: Book Antiqua; color: #800000; text-decoration: none" dynamicanimation="fpAnimformatRolloverFP1" fprolloverstyle="color: #FF0000; text-decoration: none; font-family: Book Antiqua" onmouseover="rollIn(this)" onmouseout="rollOut(this)" language="Javascript1.2" target="main" title="My Home Page." href="home.htm">Home</a></font></td>
 </tr>






I want to use this for showing a hidden div on frame 2.



<a href="#" onmouseover="document.getElementById('layer1').style.display = 'block';">show div</a>



how can i do it... its not working in frames. it works if both link and div are on same page.