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/] [scripts/] [imageFunctions.js] - Blame information for rev 15

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 fpga_is_fu
<!--
2
areas = new Array();
3
scale = 1;
4
 
5
function areaString(scale) {
6
  str = "<area shape='rect' coords='";
7
  str += this.x1*scale + ",";
8
  str += this.y1*scale + ",";
9
  str += this.x2*scale + ",";
10
  str += this.y2*scale;
11
  str += "' title='" + this.title + "' ";
12
  if (this.enabled)
13
  {
14
      str += "href='javascript:parent.location.href=\"" + this.href + "\"'";
15
  }
16
  str += ">";
17
  return str;
18
}
19
 
20
function hotArea(x1, y1, x2, y2, href, title, enabled) {
21
  this.x1 = x1;
22
  this.y1 = y1;
23
  this.x2 = x2;
24
  this.y2 = y2;
25
  this.href = href;
26
  this.title = title;
27
  this.areaString = areaString;
28
  this.enabled = enabled;
29
}
30
 
31
function areaStringCircle(scale) {
32
  str = "<area shape='circle' coords='";
33
  str += this.x1*scale + ",";
34
  str += this.y1*scale + ",";
35
  str += this.radius*scale;
36
  str += "' href='javascript:parent.location.href=\"" + this.href + "\"' title='" + this.title + "'>";
37
  return str;
38
}
39
 
40
function hotAreaCircle(x1, y1, radius, href, title) {
41
  this.x1 = x1;
42
  this.y1 = y1;
43
  this.radius = radius;
44
  this.href = href;
45
  this.title = title;
46
  this.areaString = areaStringCircle;
47
}
48
 
49
 
50
function hdsImage(width, height, src, name) {
51
  this.x = 0;
52
  this.y = 40;
53
  this.width = width;
54
  this.height = height;
55
  this.src = src;
56
  this.name = name;
57
}
58
 
59
//-->
60
 

powered by: WebSVN 2.1.0

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