Skip to content

Commit

Permalink
added qoute animation
Browse files Browse the repository at this point in the history
  • Loading branch information
r4nc0r committed May 17, 2017
1 parent 6b28a17 commit 0c3c49f
Show file tree
Hide file tree
Showing 49 changed files with 20,563 additions and 17 deletions.
22 changes: 22 additions & 0 deletions app.css
Original file line number Diff line number Diff line change
Expand Up @@ -62,3 +62,25 @@ span{
left:70%;
}

.test2{
position: absolute;
top:60%;
left:20%;
}

.fade-element-in.ng-enter {
transition: 0.8s linear all;
opacity: 0;
}

.fade-element-in.ng-enter.ng-enter-active {
opacity: 1;
}

.fade-element-in.ng-leave {
transition: 0.3s linear all;
opacity: 1;
}
.fade-element-in.ng-leave.ng-leave-active {
opacity: 0;
}
26 changes: 14 additions & 12 deletions app.js
Original file line number Diff line number Diff line change
@@ -1,24 +1,26 @@
(function() {
angular.module('myapp', ['ngRoute', 'ui.bootstrap', 'ngAnimate'])
.controller('myappController', function($timeout){
.controller('myappController', function($timeout, $q){
var vm = this;
vm.ShowDiv=showdiv;
vm.Init=init();
vm.$onInit=init(10000);
vm.Divs =[false, false,false,false,false];
vm.DivPosition=[,"div2","div3","div4","div5"];
vm.DivsClass=["fa-circle-o","fa-circle-o","fa-circle-o","fa-circle-o","fa-circle-o"];
vm.DivsConnector = [];
vm.Comments = [false];
vm.Comments = [false,false];

function init() {
$timeout(function () {
//init();
//var rnd=Math.floor(Math.random()*vm.Comments.length);
vm.Comments[0] = true;
/*$timeout(function () {
vm.Comments[0] = false;
},2000)*/
},3000)
function init(oldComment) {
$timeout(function () {
do
var rnd=Math.floor(Math.random()*vm.Comments.length);
while(rnd ===oldComment);
vm.Comments[rnd] = true;
$timeout(function () {
vm.Comments[rnd] = false;
init(rnd);
},5000);
},3000);
}

function showdiv(number)
Expand Down
Binary file added greensock/.DS_Store
Binary file not shown.
10 changes: 10 additions & 0 deletions greensock/docs.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<!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>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="refresh" content="0;URL=http://greensock.com/docs/#/HTML5/GSAP/" />
<title>JavaScript Documentation</title>
</head>
<body>
</body>
</html>
11 changes: 11 additions & 0 deletions greensock/getting_started.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
<!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>
<meta http-equiv="REFRESH" content="0;url=http://www.greensock.com/get-started-js/">
<title>Getting Started with the JavaScript Version of the GreenSock Animation Platform</title>
</head>
<body bgcolor="#EFEFEF" text="#333333" link="#71b200" leftmargin="20" topmargin="20" marginwidth="20" marginheight="20">
<div>REDIRECTING...</div>
<a href="http://www.greensock.com/get-started-js/">View the most recent "getting started" guide at greensock.com</a>
</body>
</html>
Binary file added greensock/src/.DS_Store
Binary file not shown.
Binary file added greensock/src/minified/.DS_Store
Binary file not shown.
12 changes: 12 additions & 0 deletions greensock/src/minified/TimelineLite.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions greensock/src/minified/TimelineMax.min.js

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions greensock/src/minified/TweenLite.min.js

Large diffs are not rendered by default.

17 changes: 17 additions & 0 deletions greensock/src/minified/TweenMax.min.js

Large diffs are not rendered by default.

Loading

0 comments on commit 0c3c49f

Please sign in to comment.