Permalink
Browse files

put back (document).ready

  • Loading branch information...
1 parent f20736c commit ee71a34f10e04e7becdb54a4503b8657c46f655c @ded ded committed Jun 7, 2011
Showing with 10 additions and 8 deletions.
  1. +10 −8 examples/index.html
View
@@ -50,6 +50,16 @@
z-index: 1;
}
</style>
+ <script type="text/javascript">
+ $(document).ready(function () {
+ $('#plax-sphere-1').plaxify({"xRange":40,"yRange":40})
+ $('#plax-logo').plaxify({"xRange":20,"yRange":20})
+ $('#plax-sphere-2').plaxify({"xRange":10,"yRange":10})
+ $('#plax-sphere-3').plaxify({"xRange":40,"yRange":40,"invert":true})
+ $.plax.enable()
+ })
+ </script>
+
</head>
<body>
<div id="shell">
@@ -58,13 +68,5 @@
<img src="img/plax_sphere_large.png" width="215" height="215" id="plax-sphere-2"/>
<img src="img/plax_sphere_small.png" width="93" height="92" id="plax-sphere-3"/>
</div>
-
- <script type="text/javascript">
- $('#plax-sphere-1').plaxify({"xRange":40,"yRange":40})
- $('#plax-logo').plaxify({"xRange":20,"yRange":20})
- $('#plax-sphere-2').plaxify({"xRange":10,"yRange":10})
- $('#plax-sphere-3').plaxify({"xRange":40,"yRange":40,"invert":true})
- $.plax.enable()
- </script>
</body>
</html>

0 comments on commit ee71a34

Please sign in to comment.