Fixed layouting of the future project site
[Yara.git] / doc / index.html
blobd2031df88910d3ad201ab21cb5649d62a62c286f
1 <?xml version="1.0" encoding="iso-8859-1"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <title>Yara: Yet Anoter RSS Aggregator</title>
6 <meta name="description" content="Yara: Yet Another RSS Aggregator" />
7 <meta name="keywords" content="Yara, RSS, RSS Aggregator, parser, renderer" />
8 <meta name="Generator" content="Hand-written in VIM" />
9 <meta name="robots" content="index, follow" />
10 <link rel="shortcut icon" href="Yara.ico" />
11 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
12 <link href="index.css" rel="stylesheet" type="text/css"/>
13 <script type="text/javascript">
15 /***********************************************
16 * IFrame SSI script II- © Dynamic Drive DHTML code library (http://www.dynamicdrive.com)
17 * Visit DynamicDrive.com for hundreds of original DHTML scripts
18 * This notice must stay intact for legal use
19 ***********************************************/
21 //Input the IDs of the IFRAMES you wish to dynamically resize to match its content height:
22 //Separate each ID with a comma. Examples: ["myframe1", "myframe2"] or ["myframe"] or [] for none:
23 var iframeids=["main_frame"]
25 //Should script hide iframe from browsers that don't support this script (non IE5+/NS6+ browsers. Recommended):
26 var iframehide="yes"
28 var getFFVersion=navigator.userAgent.substring(navigator.userAgent.indexOf("Firefox")).split("/")[1]
29 var FFextraHeight=parseFloat(getFFVersion)>=0.1? 64 : 0 //extra height in px to add to iframe in FireFox 1.0+ browsers
31 function resizeCaller() {
32 var dyniframe=new Array()
33 for (i=0; i<iframeids.length; i++){
34 if (document.getElementById)
35 resizeIframe(iframeids[i])
36 //reveal iframe for lower end browsers? (see var above):
37 if ((document.all || document.getElementById) && iframehide=="no"){
38 var tempobj=document.all? document.all[iframeids[i]] : document.getElementById(iframeids[i])
39 tempobj.style.display="block"
44 function resizeIframe(frameid){
45 var currentfr=document.getElementById(frameid)
46 if (currentfr && !window.opera){
47 currentfr.style.display="block"
48 if (currentfr.contentDocument && currentfr.contentDocument.body.offsetHeight) //ns6 syntax
49 currentfr.height = currentfr.contentDocument.body.offsetHeight+FFextraHeight;
50 else if (currentfr.Document && currentfr.Document.body.scrollHeight) //ie5+ syntax
51 currentfr.height = currentfr.Document.body.scrollHeight;
52 if (currentfr.addEventListener)
53 currentfr.addEventListener("load", readjustIframe, false)
54 else if (currentfr.attachEvent){
55 currentfr.detachEvent("onload", readjustIframe) // Bug fix line
56 currentfr.attachEvent("onload", readjustIframe)
61 function readjustIframe(loadevt) {
62 var crossevt=(window.event)? event : loadevt
63 var iframeroot=(crossevt.currentTarget)? crossevt.currentTarget : crossevt.srcElement
64 if (iframeroot)
65 resizeIframe(iframeroot.id);
68 function loadintoIframe(iframeid, url){
69 if (document.getElementById)
70 document.getElementById(iframeid).src=url
73 if (window.addEventListener)
74 window.addEventListener("load", resizeCaller, false)
75 else if (window.attachEvent)
76 window.attachEvent("onload", resizeCaller)
77 else
78 window.onload=resizeCaller
80 </script>
81 </head>
82 <body>
83 <div class="container">
84 <div class="container_lhs">
85 <img src="Yara.png" style-"margin: 0 auto;"/>
86 <div class="buttons">
87 <a class="button" href="javascript:loadintoIframe('main_frame', 'main.html')"><div class="button">Main</div></a>
88 <a class="button" href="javascript:loadintoIframe('main_frame', 'doxygen/index.html')"><div class="button">Documentation</div></a>
89 </div>
90 </div>
91 <div class="container_center">
92 <iframe id="main_frame" src="main.html" scrolling="no" marginwidth="0" marginheight="0" frameborder="0" vspace="0" hspace="0" style="overflow:visible; width:100%; display:none"></iframe>
93 </div>
94 </div>
95 </body>
96 </html>