summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle Kaminski <kyle@xenomedia.com>2014-03-23 17:49:51 -0500
committerKyle Kaminski <kyle@xenomedia.com>2014-03-23 17:49:51 -0500
commit9104c7c3b155a0c9d7dbefffd71987c4cc14182a (patch)
tree149c2ede02db2e42ecf3e9f342ce1b0d12c61b55
parentd410bd790c6af1676fda59be7e096782799475e0 (diff)
downloadwebsandbox-9104c7c3b155a0c9d7dbefffd71987c4cc14182a.tar.gz
websandbox-9104c7c3b155a0c9d7dbefffd71987c4cc14182a.tar.bz2
websandbox-9104c7c3b155a0c9d7dbefffd71987c4cc14182a.zip
sharethis test
-rw-r--r--html-sharethis.xhtml31
-rw-r--r--notes.txt4
2 files changed, 35 insertions, 0 deletions
diff --git a/html-sharethis.xhtml b/html-sharethis.xhtml
new file mode 100644
index 0000000..4474f07
--- /dev/null
+++ b/html-sharethis.xhtml
@@ -0,0 +1,31 @@
+<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
+"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+<title>hello, world!</title>
+<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+<script type="text/javascript" src="jquery-2.0.2.js"></script>
+<script type="text/javascript">
+<![CDATA[
+ $("document").ready(function() {
+ $("p:last").css("border", "2px solid green");
+ });
+]]>
+</script>
+<script type="text/javascript">var switchTo5x=true;</script>
+<script type="text/javascript" src="http://w.sharethis.com/button/buttons.js"></script>
+<script type="text/javascript">stLight.options({publisher: "86b1cca2-7deb-4b53-a1ec-91207544337c", doNotHash: false, doNotCopy: false, hashAddressBar: false});</script>
+</head>
+<body>
+<h1>hello, world!</h1>
+<p>goodbye, world!</p>
+
+<span class='st_email_large' displayText='Email'></span>
+<span class='st_googleplus_large' displayText='Google +'></span>
+<span class='st_linkedin_large' displayText='LinkedIn'></span>
+<span class='st_twitter_large' displayText='Tweet'></span>
+<span class='st_facebook_large' displayText='Facebook'></span>
+
+</body>
+</html>
+
diff --git a/notes.txt b/notes.txt
new file mode 100644
index 0000000..b9516a9
--- /dev/null
+++ b/notes.txt
@@ -0,0 +1,4 @@
+[jquery]
+- $(function() {} is same as $(document).ready(function() {},
+ $(window).load(function () {} comes later in rendering process when all
+ tags are ready such as images