ÿþ<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Frameset//EN" "http://www.w3.org/TR/1999/REC-html401-19991224/frameset.dtd"> <html LANG=en> <head> <title>Creating Screen Capture Simulations</title> <meta http-equiv="content-type" content="text/html"/> <meta http-equiv="content-style-type" content="text/css"/> <meta name="generator" content="ReadyGo WCB, V8.1.3"/> <meta name="expires" content="Wed, 09 Aug 2000 08:21:57 GMT"/> <meta name="viewport" content="width=device-width"/> <meta name="Author" content="ReadyGo WCB: 1-0-1"/> <link rel="icon" href="images/rgicon-16.ico" type="image/ico"/> <link rel="shortcut icon" href="images/rgicon-16.ico" type="image/ico"/> <script type="text/javascript"> var course_name="simulation"; var Course_ID="simulation"; </script> <script type="text/javascript"> var iPg = 0; var iPgTot = 26; var iPg2 = 0; var iPg2Tot = 29; var iChPg = 0; var iChPgTot = 1; var iChPg2 = 0; var iChPg2Tot = 1; var iChapNum = 0; var sChapTit = ""; var sChapNam = ""; var iPgTyp = 10; var sNextUrl = ""; var bNextTest = false; var sPrevUrl = "../main.htm"; var bPrevTest = false; </script> <script type="text/javascript"> var tmp1 = ""; var indexstart= new Date(); // time on course tmp1 = unescape(document.location.toString()); if (student_id == null){ var student_id = ""; } var student_name = ""; var API; var scores = new Array(); var times = new Array(); var maxScores = new Array(); //Cookie script function getCookieVal(j) { var endstr = document.cookie.indexOf(";",j); if (endstr == -1) endstr = document.cookie.length; return unescape(document.cookie.substring(j, endstr)); } // Function to get a specific value from input URL function GetValue(inString, strVal) { i1 = inString.toLowerCase().indexOf(strVal.toLowerCase()); var value =""; if (i1 != -1) { var tmp1 = inString.substring(i1+strVal.length, inString.length); i1 = tmp1.indexOf("&"); if (i1 == -1) i1 = tmp1.length; value = tmp1.substring(tmp1.indexOf("=")+1, i1); } else { value = ""; } return RemBlanks(value); } function RemBlanks(inString) { i = 0; bFound = 0; iStart = 0; iLen = inString.length; while ((i < iLen) && (bFound == 0)) { if (inString.charAt(i) == " ") { iStart++; } else { bFound = 1; } i++; } if (bFound == 1) {inString = inString.substring(iStart,iLen);} bFound = 0; iLen = inString.length; i = iLen-1; while ((i > 0) && (bFound == 0)) { if (inString.charAt(i) != " ") {bFound = 1;} else {i--;} } if (bFound == 1) { inString = inString.substring(0,i+1); } return (inString); } </script> <script type="text/javascript"> /* For maxgrade & mastery so we can do percentages */ var bStopAudio = false; var bStopSlides = false; var bGlobal = new Array(20); var bNeedCertFrm = false; var iTstCnt = 0; var sGran = 0; var mastery = new Array(iTstCnt); var maxgrade = new Array(iTstCnt); var attemptCount = new Array(iTstCnt); var isSurvey = new Array(iTstCnt); var iTstNoTrack = new Array(iTstCnt); var iTstNotInCert = new Array(iTstCnt); var isRequired = new Array(iTstCnt); var szURL = new Array(iTstCnt); var iUnitPgTot = 26; var iUnitPg2Tot = 29; var iUnitMastery = 0; var iUnitMaxGrade = 0; var PageVis = new Array(iUnitPgTot); var Page2Vis = new Array(iUnitPg2Tot); for (i = 0; i < iUnitPgTot; i++) { PageVis[i] = 0; } for (i = 0; i < iUnitPg2Tot; i++) { Page2Vis[i] = 0; } var szRej = "You have not yet completed the requirements to view this portion of the content. You will be taken to the content that needs to be completed."; var iProgType = 0; // 0=no control, 1=tests taken, 2=tests passed // For progress control/calculations function GetCurrReqPts() { var total = 0; var i, i2, itot; var str = ""; for (i = 0; i < scores.length; i++) { if ((scores[i] != null)&&(iTstNoTrack[i] == 0) &&(isRequired[i]==1)) total += scores[i]; } return total; } // How many tests have they taken function GetCurrReqTaken() { var total = 0; var i, i2, itot; var str = ""; for (i = 0; i < scores.length; i++) { if ((scores[i] != null)&&(iTstNoTrack[i] == 0) &&(isRequired[i]==1)&&(isSurvey[i]==0)) total += 1; } return total; } function CalcJumpLoc(score) { // Calculate what test they need to go to with the current score var total = 0; var i, i2, itot; var str = ""; i = 0; // Jump over self-assessments and tests while ((i < mastery.length) && ((score >= total) || (isSurvey[i] != 0)) && (mastery[i]!=null)) { if ((mastery[i] != null)&&(iTstNoTrack[i] == 0)&&(isRequired[i]==1)&&(isSurvey[i]==0)) total += mastery[i]; if (score >= total) i++; } if (i == mastery.length) return null; return szURL[i]; } function CalcJumpLoc2(scTaken) { // Calculate what test they need to go to with the current number taken var total = 0; var i, i2, itot; var str = ""; var bDone = 0; i = 0; i2 = 0; while ((i < mastery.length) && (i2 <= scTaken)) { // skip over this if it is a survey/self-assessment if ((isSurvey[i] != 0) || (isRequired[i]==0)) { i++; //skip over this } else { if ((isSurvey[i] == 0) && (isRequired[i]==1)) { i++; i2++; } } } if (i == mastery.length) return null; return szURL[i-1]; } // For calculating what percentage of pages have been visited function CalcPageVis() { var tot = 0; for (i = 0; i < iUnitPgTot; i++) { tot += PageVis[i]; } return tot; } function CalcPage2Vis() { var tot = 0; for (i = 0; i < iUnitPg2Tot; i++) { tot += Page2Vis[i]; } return tot; } </script> <script type="text/javascript"> // To dynamically load a CSS file + vertical/horiz var css1 = GetValue(unescape(top.document.location.toString()), "css"); var iVert = GetValue(unescape(top.document.location.toString()), "iVert"); if (iVert.length < 1) iVert = 0; if (css1.length < 1) css1 = "contemporary.css"; document.writeln('<link rel="stylesheet" href="'+css1+'" type="text/css"/>'); </script> <script type="text/javascript"> /* To jump to a specific page from URL */ var loaded = 0; function loadstart(){ if (loaded == 0) { var tmp2 = unescape(document.location.toString()); var start_file = GetValue(tmp2, "start_file"); if (start_file.length < 1) start_file = "main.htm"; window.hub.location=start_file; loaded = 1; } } var aRes; function setaRes() { aRes = window.returns; } </script> <script type="text/javascript"> function doit() { var obj = document.getElementById('opener'); if (opened == 0) { awin = window.open('main.htm', 'course'); if (obj) { obj.innerHTML = 'Close'; } awin.focus(); opened = 1; awin.focus(); } else { awin.close(); if (obj) { obj.innerHTML = 'Open'; } opened = 0; } } // Launch separate opener frame for Android and for Blackberry // These don't navigate well from index.htm page if ((navigator.userAgent.indexOf('Android 2.1') != -1) || (navigator.userAgent.indexOf('Android 2.2') != -1) || (navigator.userAgent.toLowerCase().indexOf('blackberry') != -1)) { var awin; var opened = 0; if (bNeedCertFrm) { /* keep parent frame, launch child with course */ document.write('<body><div id="opener" OnClick="javascript:doit();awin.focus();" class="button2" style="text-align:center;margin-top:20%;padding:1em;font-size:140%;">Launch</div></body>'); } else { /* just load child */ location.href = 'main.htm'; } } else { } </script> </head> <frameset cols="128,*,0" border="0" framespacing="0" frameborder="no" OnLoad='javascript:loadstart();' > <frame src="sidebar.htm" name="sidebar" marginwidth="0" marginheight="0" scrolling="auto" /> <frameset rows="90,*,0" border="0" framespacing="0" frameborder="no" > <frame src="menu.htm" name="bottom" scrolling="no" marginwidth="0" marginheight="0"/> <frame src="main.htm" name="hub" marginwidth="0" marginheight="0" scrolling="auto"/><frame src="" name="returns" onload="setaRes();"/> </frameset> </frameset> <noframes><center><h3>No Frames ... <p><a accesskey="n" href="main.htm">Click </a></p></h3></center></noframes> </html>