-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcode.html
executable file
·67 lines (60 loc) · 1.58 KB
/
code.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="GENERATOR" CONTENT="Mozilla/4.05 [en] (Win95; U) [Netscape]">
<TITLE>center2</TITLE>
</HEAD>
<BODY onLoad="update_anchors()" TEXT="#FFFF99" BGCOLOR="#000000" LINK="#FFFF00" VLINK="#FFCC33" ALINK="#FFFF00">
<SCRIPT language="JavaScript">
<!--
function update_anchors( )
{
c = top.center.document;
a = top.anchors.document;
a.clear();
a.open();
a.write("<HTML>");
a.write("<HEAD>");
a.write("<TITLE>anchors</TITLE>");
a.write("<BASE TARGET=\"center\">");
a.write("</HEAD>");
a.write("<BODY TEXT=\"#FCFC04\" BGCOLOR=\"#000000\" LINK=\"#FCFC04\" VLINK=\"#FCFC04\" ALINK=\"#FCFC04\">");
if( c.anchors )
{
nAnchors = c.anchors.length;
if( nAnchors > 0 )
{
pos = document.URL.lastIndexOf( "/" );
filename = document.URL.substring( pos + 1, document.URL.length );
pos = filename.indexOf( "#" );
if( pos > 0 )
{
filename = filename.substring( 0, pos );
}
i = 0;
while( i < nAnchors )
{
a.write( " " +
"<FONT FACE=\"Courier New,Courier\"><FONT SIZE=-1><A HREF=" +
filename + "#" + c.anchors[ i ].name + ">" +
c.anchors[ i ].name + "</A></FONT></FONT><BR>" );
i++;
}
}
}
a.write("</BODY>");
a.write("</HTML>");
a.close();
}
//-->
</script>
<table border="0" width="100%">
<tr>
<td>
<h1 align="center"><font face="Comic Sans MS"><u>Code Samples</u></font></h1>
</td>
<td width="140"> </td>
</tr>
</table>
</BODY>
</HTML>