Permalink
Browse files

website update

  • Loading branch information...
1 parent 3b182dc commit 6431214de2c52ec52173e1936f6ca1d4858aad9a @niklasvh committed Mar 1, 2012
Showing with 3,563 additions and 13,008 deletions.
  1. +1 −1 about.html
  2. +45 −17 build.xml
  3. +6 −0 css/site.css
  4. +1 −2,373 demo.html
  5. +1 −186 demo2.html
  6. +1 −72 demo3.html
  7. +1 −1 documentation.html
  8. +1 −1 examples.html
  9. +1 −8 examples/arrangement/index.html
  10. +2 −9 examples/artificial/index.html
  11. +131 −138 examples/combination/index.html
  12. +2 −10 examples/dusky/index.html
  13. +1 −8 examples/facing/index.html
  14. +126 −133 examples/flowermum/index.html
  15. BIN examples/img/10.jpg
  16. BIN examples/img/11.jpg
  17. BIN examples/img/6.jpg
  18. BIN examples/img/7.jpg
  19. BIN examples/img/8.jpg
  20. BIN examples/img/9.jpg
  21. +108 −115 examples/palmtrees/index.html
  22. +1 −8 examples/projection/index.html
  23. +27 −0 examples/test.js
  24. +1 −1 index.html
  25. +2,475 −0 js/html2canvas.js
  26. +51 −0 js/html2canvas.min.js
  27. +4 −0 js/jquery-1.7.1.min.js
  28. +1 −0 js/jquery.history.js
  29. +91 −0 js/jquery.plugin.html2canvas.js
  30. +2 −2 js/prettify.js
  31. +1 −1 js/site.js
  32. +2 −34 readme.md
  33. +1 −345 screenshots.html
  34. +5 −9,270 script.js
  35. +114 −0 script.min.js
  36. +3 −1 src/about.html
  37. +24 −39 src/documentation.html
  38. +42 −15 src/examples.html
  39. +1 −1 src/footer.html
  40. +21 −19 src/header.html
  41. +9 −9 src/index.html
  42. +206 −0 src/screenshots.html
  43. +1 −0 style.css
  44. +1 −13 tests/background.html
  45. +1 −13 tests/borders.html
  46. +2 −11 tests/external-content.html
  47. +1 −8 tests/forms.html
  48. +18 −14 tests/images.html
  49. +3 −10 tests/lists.html
  50. +1 −10 tests/overflow.html
  51. +5 −11 tests/proxy.html
  52. +3 −3 tests/test.js
  53. +6 −17 tests/text-linethrough.html
  54. +3 −13 tests/text-underline-lineheight.html
  55. +3 −14 tests/text-underline.html
  56. +1 −9 tests/text.html
  57. +1 −9 tests/visible-elements.html
  58. +1 −12 tests/z-index1.html
  59. +1 −12 tests/z-index2.html
  60. +1 −12 tests/z-index3.html
View
@@ -1 +1 @@
-<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>html2canvas - Screenshots with JavaScript</title> <meta name=viewport content="width=device-width, initial-scale=1.0"> <meta name=description content="Screenshot creation with JavaScript"> <meta name=author content="Niklas von Hertzen"> <link href="css/bootstrap.css" rel=stylesheet> <style type="text/css">body{padding-top:60px;padding-bottom:40px}</style> <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--> </head> <body> <div class="navbar navbar-fixed-top"> <div class=navbar-inner> <div class=container> <a class="btn btn-navbar" data-toggle=collapse data-target=".nav-collapse"> <span class=icon-bar></span> <span class=icon-bar></span> <span class=icon-bar></span> </a> <a class=brand href="index.html">html2canvas</a> <div class=nav-collapse> <ul class=nav> <li class=active><a href="index.html">Home</a></li> <li><a href="about.html">About</a></li> <li><a href="documentation.html">Documentation</a></li> <li><a href="examples.html">Examples</a></li> <li><a href="https://github.com/niklasvh/html2canvas/downloads">Download</a></li> </ul> <p class="navbar-text pull-right" style="padding-top:5px;margin-bottom:-5px;"> <a href="http://twitter.com/share" class=twitter-share-button data-url="http://html2canvas.hertzen.com/" data-text="html2canvas - screenshots with #JavaScript" data-count=horizontal data-via=niklasvh>Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <g:plusone size=medium annotation=inline href="http://html2canvas.hertzen.com" width=250></g:plusone> </p> </div> </div> </div> </div> <a href="http://github.com/niklasvh/html2canvas"><img style="position: fixed; top: 0; right: 0; border: 0;z-index:9999;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> <div class=container> <h1>About</h1> <h3>JavaScript HTML renderer</h3> <p>This script allows you to take "screenshots" of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.</p> <h3>Contributors</h3> <ul> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=niklasvh">niklasvh</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=cobexer">cobexer</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=cthackers">cthackers</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=gatapia">gatapia</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=oleksiy-nesterov">oleksiy-nesterov</a></li> </ul> <hr> <footer> <p> Created by <a href="http://hertzen.com">Niklas von Hertzen</a> <a href="https://twitter.com/Niklasvh" class=twitter-follow-button data-show-count=false>Follow @Niklasvh</a> <script>!function(e,a,f){var c,b=e.getElementsByTagName(a)[0];if(!e.getElementById(f)){c=e.createElement(a);c.id=f;c.src="//platform.twitter.com/widgets.js";b.parentNode.insertBefore(c,b)}}(document,"script","twitter-wjs");</script> </p> </footer> </div> <script src="script.js"></script> <script>var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-188600-10"]);_gaq.push(["_trackPageview"]);(function(){var b=document.createElement("script");b.type="text/javascript";b.async=true;b.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)})();(function(){var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="https://apis.google.com/js/plusone.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();</script> </body> </html>
+<!DOCTYPE html> <html lang=en> <head> <meta charset=utf-8> <title>About - html2canvas - Screenshots with JavaScript</title> <meta name=viewport content="width=device-width, initial-scale=1.0"> <meta name=description content="Screenshot creation with JavaScript"> <meta name=author content="Niklas von Hertzen"> <link href="style.css" rel=stylesheet> <style type="text/css">body{padding-top:60px;padding-bottom:40px}</style> <!--[if lt IE 9]><script src="//html5shim.googlecode.com/svn/trunk/html5.js"></script><![endif]--> </head> <body> <div class="navbar navbar-fixed-top"> <div class=navbar-inner> <div class=container> <a class="btn btn-navbar" data-toggle=collapse data-target=".nav-collapse"> <span class=icon-bar></span> <span class=icon-bar></span> <span class=icon-bar></span> </a> <a class=brand href="index.html">html2canvas</a> <div class=nav-collapse> <ul class=nav> <li class=""><a href="index.html">Home</a></li> <li class=active><a href="about.html">About</a></li> <li class=""><a href="documentation.html">Documentation</a></li> <li class=""><a href="examples.html">Examples</a></li> <li><a href="https://github.com/niklasvh/html2canvas/downloads">Download</a></li> </ul> <p class="navbar-text pull-right" style="padding-top:5px;margin-bottom:-5px;"> <a href="http://twitter.com/share" class=twitter-share-button data-url="http://html2canvas.hertzen.com/" data-text="html2canvas - screenshots with #JavaScript" data-count=horizontal data-via=niklasvh>Tweet</a> <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <g:plusone size=medium annotation=inline href="http://html2canvas.hertzen.com" width=250></g:plusone> </p> </div> </div> </div> </div> <a href="http://github.com/niklasvh/html2canvas"><img style="position: fixed; top: 0; right: 0; border: 0;z-index:9999;" src="http://s3.amazonaws.com/github/ribbons/forkme_right_darkblue_121621.png" alt="Fork me on GitHub"></a> <div class=container> <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script> <script>window.jQuery||document.write('<script src="js/jquery-1.7.1.min.js"><\/script>');</script><h1>About</h1> <h3>JavaScript HTML renderer</h3> <p>This script allows you to take "screenshots" of webpages or parts of it, directly on the users browser. The screenshot is based on the DOM and as such may not be 100% accurate to the real representation as it does not make an actual screenshot, but builds the screenshot based on the information available on the page.</p> <h3>Contributors</h3> <ul id=contributors> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=niklasvh">niklasvh</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=cobexer">cobexer</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=cthackers">cthackers</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=gatapia">gatapia</a></li> <li><a href="https://github.com/niklasvh/html2canvas/commits/master?author=oleksiy-nesterov">oleksiy-nesterov</a></li> </ul> <hr> <footer> <p> Created by <a href="http://hertzen.com">Niklas von Hertzen</a> <a href="https://twitter.com/Niklasvh" class=twitter-follow-button data-show-count=false>Follow @Niklasvh</a> <script>!function(e,a,f){var c,b=e.getElementsByTagName(a)[0];if(!e.getElementById(f)){c=e.createElement(a);c.id=f;c.src="//platform.twitter.com/widgets.js";b.parentNode.insertBefore(c,b)}}(document,"script","twitter-wjs");</script> </p> </footer> </div> <script src="script.min.js"></script> <script>var _gaq=_gaq||[];_gaq.push(["_setAccount","UA-188600-10"]);_gaq.push(["_trackPageview"]);(function(){var b=document.createElement("script");b.type="text/javascript";b.async=true;b.src=("https:"==document.location.protocol?"https://ssl":"http://www")+".google-analytics.com/ga.js";var a=document.getElementsByTagName("script")[0];a.parentNode.insertBefore(b,a)})();(function(){var a=document.createElement("script");a.type="text/javascript";a.async=true;a.src="https://apis.google.com/js/plusone.js";var b=document.getElementsByTagName("script")[0];b.parentNode.insertBefore(a,b)})();</script> </body> </html>
View
@@ -9,11 +9,7 @@
<property name="JS_NAME_MIN" value="html2canvas.min.js"/>
<property name="JQUERY_PLUGIN_NAME" value="jquery.plugin.html2canvas.js"/>
- <fileset id="index" dir="${src.dir}">
- <include name="header.html"/>
- <include name="index.html"/>
- <include name="footer.html"/>
- </fileset>
+
@@ -24,48 +20,82 @@
<file name="index.html"/>
<file name="footer.html"/>
</filelist>
+
</concat>
+ <replaceregexp match="@TITLE@" replace="Home" flags="g" byline="true" file="index.html" />
+ <replaceregexp match="@LINK1@" replace="active" flags="g" byline="true" file="index.html" />
+ <replaceregexp match="@LINK\d@" replace="" flags="g" byline="true" file="index.html" />
- <concat destfile="documentation.html">
+
+ <concat destfile="about.html">
<filelist dir="${src.dir}">
<file name="header.html"/>
- <file name="documentation.html"/>
+ <file name="about.html"/>
<file name="footer.html"/>
</filelist>
</concat>
+ <replaceregexp match="@TITLE@" replace="About" flags="g" byline="true" file="about.html" />
+ <replaceregexp match="@LINK2@" replace="active" flags="g" byline="true" file="about.html" />
+ <replaceregexp match="@LINK\d@" replace="" flags="g" byline="true" file="about.html" />
- <concat destfile="about.html">
+ <concat destfile="documentation.html">
<filelist dir="${src.dir}">
<file name="header.html"/>
- <file name="about.html"/>
+ <file name="documentation.html"/>
<file name="footer.html"/>
</filelist>
</concat>
-
+ <replaceregexp match="@TITLE@" replace="Documentation" flags="g" byline="true" file="documentation.html" />
+ <replaceregexp match="@LINK3@" replace="active" flags="g" byline="true" file="documentation.html" />
+ <replaceregexp match="@LINK\d@" replace="" flags="g" byline="true" file="documentation.html" />
+
+
+
<concat destfile="examples.html">
<filelist dir="${src.dir}">
<file name="header.html"/>
<file name="examples.html"/>
<file name="footer.html"/>
</filelist>
</concat>
-
-
+ <replaceregexp match="@TITLE@" replace="Examples" flags="g" byline="true" file="examples.html" />
+ <replaceregexp match="@LINK4@" replace="active" flags="g" byline="true" file="examples.html" />
+ <replaceregexp match="@LINK\d@" replace="" flags="g" byline="true" file="examples.html" />
+
+
+ <concat destfile="screenshots.html">
+ <filelist dir="${src.dir}">
+ <file name="header.html"/>
+ <file name="screenshots.html"/>
+ <file name="footer.html"/>
+ </filelist>
+ </concat>
+ <replaceregexp match="@TITLE@" replace="Screenshot console" flags="g" byline="true" file="screenshots.html" />
+
+
<concat destfile="script.js">
<filelist dir="${js.dir}">
- <file name="jquery-1.7.1.js"/>
<file name="bootstrap.js"/>
<file name="prettify.js"/>
+ <file name="jquery.history.js"/>
<file name="site.js"/>
</filelist>
</concat>
+
+ <concat destfile="style.css">
+ <filelist dir="css">
+ <file name="bootstrap.css"/>
+ <file name="prettify.css"/>
+ <file name="site.css"/>
+ </filelist>
+ </concat>
</target>
<target depends="build" name="min">
<apply parallel="false" force="true" dest="." executable="java">
- <fileset dir="." includes="*.html" />
+ <fileset dir="." includes="*.html,*.css" />
<arg value="-jar"/>
<arg path="${lib.dir}/htmlcompressor-1.5.2.jar"/>
<arg line="--remove-quotes"/>
@@ -77,9 +107,7 @@
<targetfile/>
</apply>
- <jscomp compilationLevel="simple" warning="verbose"
- debug="false"
- output="script.min.js">
+ <jscomp compilationLevel="simple" warning="verbose" debug="false" output="script.min.js">
<externs dir="${lib.dir}">
<file name="${jquery-externs}"/>
</externs>
View
@@ -0,0 +1,6 @@
+
+
+#template-thumbs span {
+ width: 100px;
+ display:inline-block;
+}
Oops, something went wrong.

0 comments on commit 6431214

Please sign in to comment.