OpenCores
URL https://opencores.org/ocsvn/cpu65c02_true_cycle/cpu65c02_true_cycle/trunk

Subversion Repositories cpu65c02_true_cycle

[/] [cpu65c02_true_cycle/] [branches/] [avendor/] [doc/] [HTML/] [R65C02_TC/] [fsm_nmi/] [fsm_sm_csmContentFrame0.htm] - Rev 15

Compare with Previous | Blame | View Log

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
   <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 
   <!-- Generated by HDL Designer -->
<!--    at 18:06:08 on 01.12.2008 -->
 
</head>
 
<script language='javascript'>
<!--
var pageWindow;
var currentPanel = 0;
var currentPageWindow = 0;
var panelWindow;
 
var areas0 = new Array();
 
 
//Select panel code
function panelmenu() {
  return ''
}
 
 
function changepanel(jpgfile, panelindex, width, height) {
   uart_topImage.width=width;
   uart_topImage.height=height;
   uart_topImage.src=jpgfile;
  currentPanel = panelindex;
  var setArea = eval('setArea' + currentPanel);
  setArea();
  zoomOutInEl()
  if (pageWindow && !pageWindow.closed) { viewpages(); }
}
 
function openPanelWindow(width, height) {
  if (panelWindow && !panelWindow.closed) {
    panelWindow.close();
  }
  if (height > 0 && width > 0) {
    panelWindow=window.open('', 'panelwin', 'height=' + height + ',width=' + width + ',toolbar=no,scrollbars=yes,menubar=no,resizable=yes');
  }
}
 
 
function addPanel(jpgfile, name, panelindex, width, height) {
   var str;
   str = "<TR><TD><A HREF='javascript:opener.changepanel(\"" + jpgfile + "\"," +
         panelindex + "," + width + "," + height + ")'>";
   str += name;
   str += "</A>";
   str += "</TD></TR>";
   return str;
}
 
function viewpanels() {
  openPanelWindow(100, 200);
  if (panelWindow && panelWindow.closed) {
    return;
  }
  with (panelWindow.document) {
    write('<TITLE>Select Page</TITLE>')
    write('<BODY BGCOLOR=' + (is.ie4up ? 'menu' : '#D4D0C8')  + '>')
    write('<TABLE>')
    addPanels();
    write('</TABLE>');
    write('</BODY>')
    write('</HTML>')
    close()  
  }
  // Make sure popup window is brought to the front
  panelWindow.focus();
}
 
function changepage(jpgfile, pageIndex, width, height) {
   uart_topImage.width=width;
uart_topImage.height=height;
uart_topImage.src=jpgfile;
areas = eval('areas' + pageIndex);
zoomOutInEl()
 
}
 
function addImg(thumbjpg, thmbWidth, thmbHeight, jpgfile, pageIndex, width, height) {
   var str;
   str = "<A HREF='javascript:opener.changepage(\"" + jpgfile + "\"," +
         "\"" + pageIndex + "\"," + width + "," + height + ")'>";
   str += "<IMG SRC='" + thumbjpg + "' ";
   str += "Height=" + thmbHeight + " Width=" + thmbWidth + ">";
   str += "</A>";
   return str;
}
 
function doOpenPageWindow(panel, width, height) {
  if (panel != currentPageWindow && pageWindow && !pageWindow.closed) {
    pageWindow.close();
  }
  currentPageWindow = panel;
  if (height > 0 && width > 0) {
    pageWindow=window.open('', 'newwin', 'height=' + height + ',width=' + width + ',toolbar=no,scrollbars=no,menubar=no');
  }
}
 
//
function openPageWindow0() {
  doOpenPageWindow(0, 0, 0)
}
function addPages0() {
  with (pageWindow.document) {
    }
}
 
function setArea0() {
  areas = new Array();
}
 
 
function viewpages() {
//  Page select code
  var openPageWindow = eval('openPageWindow' + currentPanel);
  openPageWindow();
  if (pageWindow && pageWindow.closed) {
    return;
  }
  with (pageWindow.document) {
    write('<TITLE>Select Page</TITLE>')
    write('<BODY BGCOLOR=' + (is.ie4up ? 'menu' : '#D4D0C8')  + ' ALINK="gray" LINK="gray" VLINK="gray">')
    var addPages = eval('addPages' + currentPanel);
    addPages();
    write('</BODY>')
    write('</HTML>')
    close()  
  }
  // Make sure popup window is brought to the front
  pageWindow.focus();
}
 
function pagesBtn() {
  return '';
 
}
 
function closeSubWindows() {
  if (pageWindow && !pageWindow.closed) {
     pageWindow.close();
  }
  if (panelWindow && !panelWindow.closed) {
     panelWindow.close();
  }
}
 
//-->
</script>
 
<body onLoad=zoomOutInEl() onUnload='closeSubWindows();return false'>
 
<SCRIPT SRC="../../scripts/is.js">
</SCRIPT>
 
<SCRIPT SRC="../../scripts/imageFunctions.js">
</SCRIPT>
 
<SCRIPT LANGUAGE="javascript">
<!--
 
uart_topImage = new hdsImage(1238,804,'fsm_sm_csm.jpg', 'uart_top');
 
// State Diagram hot spots
  areas = areas0
 
 
//-->
</SCRIPT>
 
 
 
<SCRIPT SRC="../../scripts/imageFrame.js">
</SCRIPT>
 
</body>
</html>
 
 
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.