Permalink
Browse files

fixed some display issues in examples

  • Loading branch information...
1 parent dc402ca commit e453bab7973582f345bb3cab3fc81e656f8e28f2 @janpaepke committed Apr 29, 2015
Showing with 8 additions and 8 deletions.
  1. +2 −2 css/examples.css
  2. +1 −1 examples/basic/scene_manipulation.html
  3. +2 −4 examples/expert/manipulating_tweens.html
  4. +3 −1 js/examples.js
View
@@ -53,7 +53,7 @@ section#titlechart {
min-width: 100%;
height: 100vh;
}
-.horizontal section {
+.horizontal section, .horizontal section#titlechart{
display: inline-block;
vertical-align: top;
height: 100%;
@@ -519,7 +519,7 @@ ul#menu ul li a:hover {
min-height: 51px;
border-bottom-left-radius: 8px;
border-bottom-right-radius: 8px;
- z-index: 998;
+ z-index: 99999;
text-align: center;
transition: top 0.5s;
-webkit-transition: top 0.5s; /* Safari */
@@ -188,4 +188,4 @@ <h1 class="badge gsap">Scene Manipulation</h1>
</div>
<script type="text/javascript" src="../../js/tracking.js"></script>
</body>
-</html>
+</html>
@@ -48,12 +48,12 @@ <h1 class="badge gsap">Manipulating Tweens</h1>
<div>
<label for="scaleX">scaleX</label>
<div class="slider liveupdate"></div>
- <input type="text" id="scaleX" size="3" value="1" min="0.1" max="3" step="0.1">
+ <input type="text" id="scaleX" size="3" value="1.0" min="0.1" max="3" step="0.1">
</div>
<div>
<label for="scaleY">scaleY</label>
<div class="slider liveupdate"></div>
- <input type="text" id="scaleY" size="3" value="1" min="0.1" max="3" step="0.1">
+ <input type="text" id="scaleY" size="3" value="1.0" min="0.1" max="3" step="0.1">
</div>
</fieldset>
</form>
@@ -78,8 +78,6 @@ <h1 class="badge gsap">Manipulating Tweens</h1>
.addIndicators() // add indicators (requires plugin)
.addTo(controller);
- $("div.slider+input").change(); // trigger change to init sliders.
-
$("#tweenparams input").on("change", function () {
var params = {css: {
scaleX: parseFloat($("input#scaleX").val()),
View
@@ -289,7 +289,9 @@ $(document).ready(function () {
})
.prev()
.append("<div class=\"trackbar\"></div>")
- .append("<div class=\"handle\"></div>");
+ .append("<div class=\"handle\"></div>")
+ .end()
+ .change(); // trigger to init
// add tooltips to badges

0 comments on commit e453bab

Please sign in to comment.