1 |
dpavlin |
46 |
<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 |
|
|
var cur = null; |
17 |
|
|
|
18 |
|
|
function doRequest(url, tgt){ |
19 |
|
|
|
20 |
|
|
|
21 |
|
|
// begin requesting the data |
22 |
|
|
iwfRequest(url); |
23 |
|
|
|
24 |
|
|
cur = tgt; |
25 |
|
|
|
26 |
|
|
// align the outline box around the current item |
27 |
|
|
iwfAlignTo("mnuBlock", tgt, "tc", "tc", 15); |
28 |
|
|
|
29 |
|
|
// prevent browser from leaving focus on this guy. |
30 |
|
|
iwfGetById(tgt).blur(); |
31 |
|
|
|
32 |
|
|
|
33 |
|
|
} |
34 |
|
|
|
35 |
|
|
function hilite(tgt){ |
36 |
|
|
// align a shadow box near at the top center, but have it |
37 |
|
|
// delay a bit |
38 |
|
|
iwfDelay(50, iwfAlignTo, "mnuBlock2", tgt, "bc", "tc", 20); |
39 |
|
|
|
40 |
|
|
|
41 |
|
|
// align the other shadow box at the bottom center |
42 |
|
|
iwfDelay(50, iwfAlignTo, "mnuBlock3", tgt, "tc", "bc", 10); |
43 |
|
|
} |
44 |
|
|
|
45 |
|
|
function unhilite(){ |
46 |
dpavlin |
55 |
// move outline box back to current item |
47 |
dpavlin |
46 |
if(cur){ |
48 |
|
|
hilite(cur); |
49 |
|
|
} |
50 |
|
|
} |
51 |
|
|
|
52 |
|
|
</script> |
53 |
|
|
|
54 |
|
|
</head> |
55 |
dpavlin |
55 |
<body onload=''> |
56 |
dpavlin |
46 |
|
57 |
|
|
<!-- logo --> |
58 |
dpavlin |
55 |
<div> |
59 |
dpavlin |
46 |
<h1>IWF - Interactive Website Framework</h1> |
60 |
|
|
</div> |
61 |
|
|
|
62 |
dpavlin |
55 |
<!-- for menu animations --> |
63 |
|
|
<div id='mnuBlock' class='menuBlock'></div> |
64 |
dpavlin |
46 |
<div id='mnuBlock2' class='menuBlock2'></div> |
65 |
|
|
<div id='mnuBlock3' class='menuBlock2'></div> |
66 |
|
|
|
67 |
dpavlin |
55 |
|
68 |
dpavlin |
46 |
<!-- menu --> |
69 |
|
|
<div id='menu' class='menu'> |
70 |
|
|
<ul> |
71 |
dpavlin |
55 |
<li><a |
72 |
|
|
href='javascript:doRequest("overview.xml", "mnuOverview");' |
73 |
|
|
onmouseover='javascript:hilite("mnuOverview");' |
74 |
|
|
onmouseout='javascript:unhilite();' |
75 |
|
|
id='mnuOverview'>Overview</a></li> |
76 |
|
|
<li><a |
77 |
|
|
href='javascript:doRequest("examples.xml", "mnuExamples");' |
78 |
|
|
onmouseover='javascript:hilite("mnuExamples");' |
79 |
|
|
onmouseout='javascript:unhilite();' |
80 |
|
|
id='mnuExamples'>Examples</a></li> |
81 |
|
|
<li><a |
82 |
|
|
href='javascript:doRequest("faq.xml", "mnuFaq");' |
83 |
|
|
onmouseover='javascript:hilite("mnuFaq");' |
84 |
|
|
onmouseout='javascript:unhilite();' |
85 |
|
|
id='mnuFaq'>FAQ</a></li> |
86 |
|
|
<li><a |
87 |
|
|
href='javascript:doRequest("download.xml", "mnuDownload");' |
88 |
|
|
onmouseover='javascript:hilite("mnuDownload");' |
89 |
|
|
onmouseout='javascript:unhilite();' |
90 |
|
|
id='mnuDownload'>Download</a></li> |
91 |
dpavlin |
46 |
</ul> |
92 |
|
|
</div> |
93 |
|
|
|
94 |
dpavlin |
55 |
<!-- prepackaged window |
95 |
|
|
<div id='exampleWindow' iwfWindow='true' iwfWindowTitle='Content' style='width:400;height:300;top:200px;left:150px;border:1px solid black;'> |
96 |
|
|
</div> |
97 |
|
|
--> |
98 |
dpavlin |
46 |
|
99 |
dpavlin |
55 |
<!-- default target for IWF --> |
100 |
|
|
<div id='iwfContent' style='background-color:white;padding:5px 5px 5px 5px'></div> |
101 |
dpavlin |
46 |
|
102 |
dpavlin |
55 |
|
103 |
|
|
<!-- stuff at the bottom --> |
104 |
|
|
<div class='sidebar'> |
105 |
|
|
<p> </p> |
106 |
|
|
|
107 |
|
|
<!-- source forge links --> |
108 |
|
|
<a href="http://sourceforge.net"> <img src="http://sourceforge.net/sflogo.php?group_id=140835&type=5" width="210" height="62" border="0" alt="SourceForge.net Logo" /></a> |
109 |
|
|
<a href="http://sourceforge.net/donate/index.php?group_id=140835"><img src="http://images.sourceforge.net/images/project-support.jpg" width="88" height="32" border="0" alt="Support IWF" /></a> |
110 |
|
|
|
111 |
dpavlin |
46 |
</div> |
112 |
|
|
|
113 |
dpavlin |
55 |
<script type='text/javascript' src='../iwfconfig.js'></script> |
114 |
|
|
|
115 |
|
|
<script type='text/javascript'> |
116 |
|
|
// the source forge images sometimes take too long to come up, |
117 |
|
|
// so click the link and hilite the current menu item before the body onload event fires... |
118 |
|
|
iwfClickLink("mnuOverview"); |
119 |
|
|
hilite("mnuOverview"); |
120 |
|
|
</script> |
121 |
dpavlin |
46 |
</body> |
122 |
|
|
</html> |