<!------------------------------------------------------------------------------------> <!HW5part3.html Source Code> <!------------------------------------------------------------------------------------> <HTML> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD> <TITLE>Dynamic Frames (Suzanne Stagel's JavaScript Assignment #5 Part III) </TITLE> </HEAD> <FRAMESET ROWS="100,*" name="frameset1"> <XMP> <!------------------------------------------------------------------------------------> <!HW5part3.html Source Code> <!------------------------------------------------------------------------------------> <HTML> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD> <TITLE>Dynamic Frames (Suzanne Stagel's JavaScript Assignment #5 Part III) </TITLE> </HEAD> <FRAMESET ROWS="100,*" name="frameset1"> <FRAME src="HW5pt3frame1.html" name="frame1"> <FRAMESET COLS="20%,80%" name="frameset2"> <FRAME src="HW5pt3frame2.html" name="frame2"> <FRAME src="HW5pt3frame3.html" name="frame3"> </FRAMESET> </FRAMESET> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </HTML> <!------------------------------------------------------------------------------------> <!HW5part3frame1.html Source Code> <!------------------------------------------------------------------------------------> <HTML> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD> <TITLE>Dynamic Frame 1 (Suzanne Stagel's JavaScript Assignment #5 Part III) </TITLE> <SCRIPT language="JavaScript"> function changeFrame2BG(color) { parent.frames.frame2.document.bgColor = color; } </SCRIPT> </HEAD> <BODY bgcolor="navyblue" text="yellow" link="pink" vlink="purple"><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> <H1><CENTER>Frame 1</CENTER></H1> <FORM name="form1"> <INPUT type="button" value="Change BG Frame 2" onClick="changeFrame2BG('pink','frame2')"> </FORM> </BODY> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </HTML> <!------------------------------------------------------------------------------------> <!HW5part3frame2.html Source Code> <!------------------------------------------------------------------------------------> <HTML> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD> <TITLE>Dynamic Frame 2 (Suzanne Stagel's JavaScript Assignment #5 Part III) </TITLE> <SCRIPT language="JavaScript"> function addTextToFrame3(text) { parent.frames.frame3.document.writeln(text); parent.frames.frame3.document.close(); } </SCRIPT> </HEAD> <BODY bgcolor="navyblue" text="yellow" link="pink" vlink="purple"><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> <H1><CENTER>Frame 2</CENTER></H1> <FORM name="form1"> <INPUT type="button" value="Add text to Frame 3" onClick="addTextToFrame3('<H1>This is the text added from Frame 2!</H1>')"> </FORM> </BODY> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </HTML> <!------------------------------------------------------------------------------------> <!HW5part3frame3.html Source Code> <!------------------------------------------------------------------------------------> <HTML> <!-- ARCHIVE by FORTUNECITY.ws --> <HEAD> <TITLE>Dynamic Frame 3 (Suzanne Stagel's JavaScript Assignment #5 Part III) </TITLE> <SCRIPT language="JavaScript"> function displayStatus(text) { parent.frames.frame1.status = text; } </SCRIPT> </HEAD> <BODY bgcolor="navyblue" text="yellow" link="pink" vlink="purple"><script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-47423994-1', 'fortunecity.ws'); ga('send', 'pageview'); </script> <center> <br> <div> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=728&height=90"></script> </div> </center> <H1 name="heading1"><CENTER>Frame 3</CENTER></H1> <FORM name="form1"> <INPUT type="button" value="Display text in Frame 1 status bar" onClick="displayStatus('This was placed by Frame 3!')" > </FORM> </BODY> <!-- ARCHIVE by FORTUNECITY.ws --> <center> <div> <br> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250&cache=0"></script> <script language="javascript" type="text/javascript" src="http://ad.broadcaststation.net/ads/show_ad.php?width=300&height=250"></script> </div> <br> <br> </center> </HTML>