-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
61 lines (57 loc) · 1.63 KB
/
index.html
File metadata and controls
61 lines (57 loc) · 1.63 KB
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
<!DOCTYPE html>
<html>
<head>
<!-- <meta http-equiv="Content-Type" content="text/html;charset=utf-8"/> -->
<link type="text/css" rel="stylesheet" href="style/main.css"/>
<style type="text/css">
body > header {
height: 150px;
background-color: #343434;
color: #fff;
padding: 25px 50px;
}
body > header input {
width: 100%;
}
</style>
<!--<script src="//ajax.googleapis.com/ajax/libs/jquery/2.0.3/jquery.min.js"></script> -->
<script>
if (!window.jQuery) {
document.write('<script src="javascript/jquery-2.0.3.min.js"><\/script>');
}
</script>
</head>
<body>
<header>
<h1>Hello Feeders!</h1>
<section>
<form action="javascript: test($('#rss-input').val())">
<label for="rss-link"></label>
<input type="text" id="rss-input" name="rss-input" value="" placeholder="Input rss link" autofocus />
<!-- <button>Fetch RSS!</button> -->
</form>
<section>
</header>
<nav></nav>
<section>
</section>
<footer></footer>
<script type="text/javascript">
// var rss = function() {
// var sites = [];
// var
// }
var test = function(testi) {
// e.preventDefault();
console.log('test', testi);
$.ajax({
url: 'http://stackoverflow.com/feeds/tag/javascript',
dataType: 'jsonp',
success: function(data){
console.log('success?', data);
}
});
}
</script>
</body>
</html>