/
index.html
executable file
·65 lines (52 loc) · 2.57 KB
/
index.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>weCompare</title>
<link href="wecomparestyle.css" rel="stylesheet" type="text/css" />
</head>
<body>
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.5/jquery.min.js"></script>
<script>
$(document).ready(function(){
var randomnumber=Math.floor(Math.random()*9);
var url='images/start/startLine0'+randomnumber+'.gif';
document.getElementById('start').src = url;
randomnumber=Math.floor(Math.random()*3)+1;
url='images/wecompare/wecompareFont0'+randomnumber+'.gif';
document.getElementById('title').src = url;
$('#address').keypress(function(event) {
if ( event.which == 13 ) {
start();
}
});
$('#button').click(function(){start();});
});
function start() {
if ($('#address').val()=='http://') {
document.location.href = "wecompare.html?s="+'http://www.unifr.ch';
}
else {
document.location.href = "wecompare.html?s="+$('#address').val();
}
}
</script>
<div style="valign:middle;">
<center> <img id="title" src="images/wecompare/wecompareFont02.gif" width="600" style="margin-top: 30px;" /> <br />
<input id="address" type="text" size=100 value="http://www.unifr.ch" /> <br />
<a id="button" style="cursor: pointer"><img id="start" src="images/start/startLine07.gif" border="0" alt="Start here" width="300" style="margin-top: 100px;"></a>
</center>
<div class="info"style="margin-left:auto; margin-right:auto;">
<ul>
<li>The main page allows you to enter the website you want to use for your comparison.</li>
<li>Once this is done, you have an interface with your website in a browser on the left, from which you can get your information, and the information retrieval part on the right.
You also can change the website URL in the text area above of the browser.</li>
<li>The information retrieval part allows you to open a limited amount of tags. Each of these tags has to have a title; you can choose an already existing one or create a new one.
The system works with a database; if some content already exists for a given title for the current webpage, it will be automatically displayed in the tag. You can modify it if you want. Once you are done with the current website, you can open a new one or launch the comparison interface.</li>
<li>In the comparison interface, you will have all of your tags in an array to ease the comparison between each tags having the same title.</li>
</ul>
</div>
</div>
<span style="font-size: 8pt; bottom: 0px; right: 2px; position: absolute;">$Id$</span>
</body>
</html>