Permalink
Browse files

Create gh-pages branch via GitHub

  • Loading branch information...
1 parent 3e4d349 commit a2678d71ac691b9cf23326fd1d37a61fe37adc5a @annavester committed Mar 2, 2013
Showing with 18 additions and 23 deletions.
  1. +17 −22 index.html
  2. +1 −1 params.json
View
@@ -3,20 +3,16 @@
<head>
<meta charset='utf-8'>
<meta http-equiv="X-UA-Compatible" content="chrome=1">
-
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<link href='https://fonts.googleapis.com/css?family=Architects+Daughter' rel='stylesheet' type='text/css'>
<link rel="stylesheet" type="text/css" href="stylesheets/stylesheet.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/pygment_trac.css" media="screen" />
<link rel="stylesheet" type="text/css" href="stylesheets/print.css" media="print" />
+
<!--[if lt IE 9]>
- <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
+ <script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<![endif]-->
- <link rel="stylesheet" href="tooltip.css" media="screen" />
- <style>
- .hide{display:none;}
- </style>
<title>JsTooltip by annavester</title>
</head>
@@ -40,15 +36,16 @@ <h2>Two ways to make it work:</h2>
<h3>Example 1:</h3>
-<p>This is a <a class="tooltip" data-tt-type="attr" title="Text Tooltip Content">tooltip</a>.</p>
+<p>This is a <a title="Text Tooltip
+Content">tooltip</a>.</p>
<div class="highlight"><pre><span class="nt">&lt;p&gt;</span>This is a <span class="nt">&lt;a</span> <span class="na">class=</span><span class="s">"tooltip"</span> <span class="na">data-tt-type=</span><span class="s">"attr"</span> <span class="na">title=</span><span class="s">"Text Tooltip </span>
<span class="s">Content"</span><span class="nt">&gt;</span>tooltip<span class="nt">&lt;/a&gt;</span>.<span class="nt">&lt;/p&gt;</span>
</pre></div>
<p>Example 2:</p>
-<p>This is a <a class="tooltip" data-tt-type="element">tooltip</a>.</p>
+<p>This is a <a>tooltip</a>.</p>
<div>
<h2>HTML Tooltip Content</h2>
@@ -81,19 +78,17 @@ <h2>HTML Tooltip Content</h2>
</aside>
</div>
</div>
- <script src="tooltip.js"></script>
- <script>
- window.onload = function() {
-
- var tt = new Tooltip();
- tt.init({
- "opacity":".95",
- "bgColor":"#333",
- "txtColor": "#fff",
- "height": "auto",
- "customCSS": "border-radius:5px;"
- });
- }
- </script>
+
+ <script type="text/javascript">
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+ </script>
+ <script type="text/javascript">
+ try {
+ var pageTracker = _gat._getTracker("UA-38923836-1");
+ pageTracker._trackPageview();
+ } catch(err) {}
+ </script>
+
</body>
</html>
View
@@ -1 +1 @@
-{"name":"JsTooltip","tagline":"A simple javascript tooltip widget","body":"# JS Tooltip.\r\nNo extra libraries required.\r\n\r\n## Two ways to make it work:\r\n\r\n### Example 1:\r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"attr\" title=\"Text Tooltip \r\nContent\">tooltip</a>.</p>\r\n\r\n\r\n````html \r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"attr\" title=\"Text Tooltip \r\nContent\">tooltip</a>.</p>\r\n````\r\n\r\nExample 2:\r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"element\">tooltip</a>.</p>\r\n<div class=\"hide\">\r\n <h2>HTML Tooltip Content</h2>\r\n <p>Pellentesque erat hendrerit eu. Nam et justo nunc. Mauris fringilla \r\nipsum at orci blandit tristique.</p>\r\n</div>\r\n\r\n````html \r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"element\">tooltip</a>.</p>\r\n<div class=\"hide\">\r\n <h2>HTML Tooltip Content</h2>\r\n <p>Pellentesque erat hendrerit eu. Nam et justo nunc. Mauris fringilla \r\nipsum at orci blandit tristique.</p>\r\n</div>\r\n````","google":"","note":"Don't delete this file! It's used internally to help with page regeneration."}
+{"name":"JsTooltip","tagline":"A simple javascript tooltip widget","body":"# JS Tooltip.\r\nNo extra libraries required.\r\n\r\n## Two ways to make it work:\r\n\r\n### Example 1:\r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"attr\" title=\"Text Tooltip \r\nContent\">tooltip</a>.</p>\r\n\r\n\r\n````html \r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"attr\" title=\"Text Tooltip \r\nContent\">tooltip</a>.</p>\r\n````\r\n\r\nExample 2:\r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"element\">tooltip</a>.</p>\r\n<div class=\"hide\">\r\n <h2>HTML Tooltip Content</h2>\r\n <p>Pellentesque erat hendrerit eu. Nam et justo nunc. Mauris fringilla \r\nipsum at orci blandit tristique.</p>\r\n</div>\r\n\r\n````html \r\n<p>This is a <a class=\"tooltip\" data-tt-type=\"element\">tooltip</a>.</p>\r\n<div class=\"hide\">\r\n <h2>HTML Tooltip Content</h2>\r\n <p>Pellentesque erat hendrerit eu. Nam et justo nunc. Mauris fringilla \r\nipsum at orci blandit tristique.</p>\r\n</div>\r\n````","google":"UA-38923836-1","note":"Don't delete this file! It's used internally to help with page regeneration."}

0 comments on commit a2678d7

Please sign in to comment.