mirror of
https://github.com/faisalman/ua-parser-js.git
synced 2025-09-27 16:08:47 +03:00
Adding social buttons
This commit is contained in:
parent
306e48522b
commit
39db73a0a8
15
index.html
15
index.html
@ -1,7 +1,7 @@
|
|||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>UA-Parser.js</title>
|
<title>UA-Parser.js - JavaScript-based User-Agent Parser</title>
|
||||||
<meta name="author" content="Faisalman" />
|
<meta name="author" content="Faisalman" />
|
||||||
<meta name="description" content="Small script to extract system info (browser, engine, os) from user-agent string" />
|
<meta name="description" content="Small script to extract system info (browser, engine, os) from user-agent string" />
|
||||||
<meta name="keywords" content="user agent, parser, javascript, detect, details, new, browser, engine, mobile, device, operating system" />
|
<meta name="keywords" content="user agent, parser, javascript, detect, details, new, browser, engine, mobile, device, operating system" />
|
||||||
@ -17,12 +17,13 @@
|
|||||||
body {
|
body {
|
||||||
background: #fff;
|
background: #fff;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 40px 20px;
|
padding: 20px 20px;
|
||||||
width: 960px;
|
width: 960px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
header, section, footer {
|
header, section, footer {
|
||||||
padding: 40px 0 0;
|
padding: 40px 0 0;
|
||||||
|
position: relative;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
@ -55,6 +56,9 @@
|
|||||||
select, input {
|
select, input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
hr {
|
||||||
|
margin: 20px 0;
|
||||||
|
}
|
||||||
p {
|
p {
|
||||||
margin: 10px 0;
|
margin: 10px 0;
|
||||||
}
|
}
|
||||||
@ -95,6 +99,13 @@
|
|||||||
<input type="text" />
|
<input type="text" />
|
||||||
</section>
|
</section>
|
||||||
<footer>
|
<footer>
|
||||||
|
<g:plusone size="medium"></g:plusone>
|
||||||
|
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
|
||||||
|
<a href="http://twitter.com/share" class="twitter-share-button" data-count="horizontal" data-via="fyzlmn">Tweet</a>
|
||||||
|
<script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script>
|
||||||
|
<a name="fb_share" type="button_count" href="http://www.facebook.com/sharer.php" style="position:absolute;top:40px;">Share</a>
|
||||||
|
<script src="http://static.ak.fbcdn.net/connect.php/js/FB.Share" type="text/javascript"></script>
|
||||||
|
<hr />
|
||||||
<p>
|
<p>
|
||||||
UA-Parser.js © 2012 Faisalman - GPLv2 @
|
UA-Parser.js © 2012 Faisalman - GPLv2 @
|
||||||
<a href="https://github.com/faisalman/ua-parser-js">https://github.com/faisalman/ua-parser-js</a>
|
<a href="https://github.com/faisalman/ua-parser-js">https://github.com/faisalman/ua-parser-js</a>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user