1 |
<html> |
2 |
<head> |
3 |
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
4 |
<link rel='stylesheet' href='iwf.css' /> |
5 |
|
6 |
<script type='text/javascript' src='../iwfcore.js'></script> |
7 |
<script type='text/javascript' src='../iwfgui.js'></script> |
8 |
<script type='text/javascript' src='../iwfxml.js'></script> |
9 |
<script type='text/javascript' src='../iwfajax.js'></script> |
10 |
|
11 |
<script type='text/javascript'> |
12 |
function iwfOnRequestError(code, msg, text){ |
13 |
alert('error= ' + code + '\nMessage=' + msg + '\n\n' + text); |
14 |
} |
15 |
|
16 |
|
17 |
var cur = null; |
18 |
|
19 |
function doRequest(url, tgt){ |
20 |
|
21 |
|
22 |
// begin requesting the data |
23 |
iwfRequest(url); |
24 |
|
25 |
cur = tgt; |
26 |
|
27 |
// align the outline box around the current item |
28 |
iwfAlignTo("mnuBlock", tgt, "tc", "tc", 15); |
29 |
|
30 |
// prevent browser from leaving focus on this guy. |
31 |
iwfGetById(tgt).blur(); |
32 |
|
33 |
|
34 |
} |
35 |
|
36 |
function hilite(tgt){ |
37 |
// align a shadow box near at the top center, but have it |
38 |
// delay a bit |
39 |
iwfDelay(50, iwfAlignTo, "mnuBlock2", tgt, "bc", "tc", 20); |
40 |
|
41 |
|
42 |
// align the other shadow box at the bottom center |
43 |
iwfDelay(50, iwfAlignTo, "mnuBlock3", tgt, "tc", "bc", 10); |
44 |
} |
45 |
|
46 |
function unhilite(){ |
47 |
if(cur){ |
48 |
hilite(cur); |
49 |
} |
50 |
} |
51 |
|
52 |
</script> |
53 |
|
54 |
</head> |
55 |
<body onload='javascript:iwfClickLink("mnuOverview");hilite("mnuOverview");'> |
56 |
|
57 |
<!-- logo --> |
58 |
<div id='logo'> |
59 |
<h1>IWF - Interactive Website Framework</h1> |
60 |
</div> |
61 |
|
62 |
<div id='mnuBlock' class='menuBlock'> |
63 |
</div> |
64 |
|
65 |
<div id='mnuBlock2' class='menuBlock2'></div> |
66 |
<div id='mnuBlock3' class='menuBlock2'></div> |
67 |
|
68 |
<!-- menu --> |
69 |
<div id='menu' class='menu'> |
70 |
<ul> |
71 |
<li><a href='javascript:doRequest("overview.xml", "mnuOverview");' onmouseover='javascript:hilite("mnuOverview");' onmouseout='javascript:unhilite();' id='mnuOverview'>Overview</a></li> |
72 |
<li><a href='javascript:doRequest("examples.xml", "mnuExamples");' onmouseover='javascript:hilite("mnuExamples");' onmouseout='javascript:unhilite();' id='mnuExamples'>Examples</a></li> |
73 |
<li><a href='javascript:doRequest("faq.xml", "mnuFaq");' onmouseover='javascript:hilite("mnuFaq");' onmouseout='javascript:unhilite();' id='mnuFaq'>FAQ</a></li> |
74 |
<li><a href='javascript:doRequest("download.xml", "mnuDownload");' onmouseover='javascript:hilite("mnuDownload");' onmouseout='javascript:unhilite();' id='mnuDownload'>Dowload</a></li> |
75 |
</ul> |
76 |
</div> |
77 |
|
78 |
<!-- bread crumb --> |
79 |
<div id='breadcrumb' /> |
80 |
|
81 |
<!-- main content --> |
82 |
<div id='iwfContent' class='content' /> |
83 |
|
84 |
<!-- footer --> |
85 |
<div id='footer'> |
86 |
</div> |
87 |
|
88 |
</body> |
89 |
</html> |