On The Move UI
How do I make an on the move ui?
What is a on the move ui? How do you make a on the move ui? This script and codes were developed by Chris Boon on 16 November 2022, Wednesday.
On The Move UI - Script Codes HTML Codes
<!DOCTYPE html>
<html >
<head> <meta charset="UTF-8"> <title>On The Move UI</title> <script src="https://s.codepen.io/assets/libs/modernizr.js" type="text/javascript"></script>
<meta name="viewport" content="width=device-width"> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/meyer-reset/2.0/reset.min.css"> <link rel="stylesheet" href="css/style.css">
</head>
<body> <script class="mustache-template2" type="text/html"> <div class= "unit-complete-text"> completed {{activityCompleteCount}} of {{activityCount}} activities </div>
</script>
<script class="mustache-template3" type="text/html"> <ul class= "unit-activities-ul"> {{#activityList}} <li class= "unit-activities-li"> <div class="activity-info"> <h1>{{name}}</h1> <p class= "engine-info"> <span class="engine-type">{{engineType}}</span> {{#requiresAudio}}<span class="icon-requires-audio"></span>{{/requiresAudio}} {{#isTimed}}<span class="icon-is-timed"></span>{{/isTimed}} </p> </div> <div class="activity-score-data {{awardClass}}"> {{#highScore}}<div class="activity-score">{{highScore}}</div>{{/highScore}} {{#award}}<svg class='award-icon-svg' height='40' viewBox='0 0 530 530' width='40' x='0px' y='0px'><use xlink:href='{{award}}'</use></svg>{{/award}} {{#notTried}}<div>Try now</div>{{/notTried}} </div> </li> {{/activityList}} </ul>
</script>
<script class="mustache-template" type="text/html"> {{#info}} <li class='unit-li' data-unit='{{unitName}}'> <div class='unit-info'> <h1 class='unit-title'>{{unitName}}</h1> <div class='unit-progressbar-container'> <div class='unit-progressbar' style='width:{{progress}}%'></div> </div> </div> <div class='unit-trophy'> {{#trophy}} <svg class='award-icon-svg' height='40' viewBox='0 0 530 530' width='40' x='0px' y='0px'><use xlink:href="#award-trophy"</use> </svg> {{/trophy}} {{#goldStar}} <svg class='award-icon-svg' height='40' viewBox='0 0 530 530' width='40' x='0px' y='0px'> <use xlink:href="#award-star"</use> </svg> {{/goldStar}} {{#silverStar}} <svg class='award-icon-svg' height='40' viewBox='0 0 530 530' width='40' x='0px' y='0px'> <use xlink:href="#award-star2"</use> </svg> {{/silverStar}} {{#bronzeStar}} <svg class='award-icon-svg' height='40' viewBox='0 0 530 530' width='40' x='0px' y='0px'> <use xlink:href="#award-star3"</use> </svg> {{/bronzeStar}} {{#noAward}} <div class="noAward"></div> {{/noAward}} </div> </li> {{/info}}
</script>
<div class='hidden-svg-stuff'> <svg height='0' viewBox='0 0 60 60' width='0'> <defs> <path class='check-mark' d='M23.4,45.2l-8.5-11.1c-1-1.5-0.8-3.5,0.7-4.6c1.4-1.1,3.5-0.9,4.6,0.7l5.6,7.3l14-22.4c0.9-1.5,2.9-2,4.5-1 c1.5,0.9,2,2.9,1,4.5L28.7,44.9c-0.6,0.9-1.5,1.5-2.6,1.5c0,0.1-0.1,0.1-0.1,0.1C25,46.5,23.9,46,23.4,45.2z' fill='#fff' id='check-mark'></path> <path class='cross-mark' d='M41.6,42.9c-1.3,1.2-3.3,1.2-4.6,0l-7-8.1l-7,8.1c-1.3,1.2-3.3,1.2-4.6,0c-1.2-1.3-1.2-3.3,0-4.6l7.3-8.3 l-7.3-8.4c-1.2-1.3-1.2-3.3,0-4.6c1.3-1.2,3.3-1.2,4.6,0l7,8.1l7-8.1c1.3-1.2,3.3-1.2,4.6,0c1.3,1.3,1.3,3.3,0,4.6l-7.3,8.4 l7.3,8.3C42.8,39.6,42.8,41.7,41.6,42.9z' fill='#fff' id='cross-mark'></path> </defs> </svg> <svg class='award-icons' height='0' viewBox='0 0 530 530' width='0' x='0px' y='0px'> <defs> <linearGradient id='award-grad1' x1='0%' x2='100%' y1='0%' y2='0%'> <stop offset='0%' style='stop-color:#f7ab1b;stop-opacity:1'></stop> <stop offset='100%' style='stop-color:#f7ab1b;stop-opacity:0'></stop> </linearGradient> <linearGradient id='award-grad2' x1='0%' x2='100%' y1='0%' y2='0%'> <stop offset='0%' style='stop-color:#b5b0b0;stop-opacity:1'></stop> <stop offset='100%' style='stop-color:#b5b0b0;stop-opacity:0'></stop> </linearGradient> <linearGradient id='award-grad3' x1='0%' x2='100%' y1='0%' y2='0%'> <stop offset='0%' style='stop-color:#94513a;stop-opacity:1'></stop> <stop offset='100%' style='stop-color:#94513a;stop-opacity:0'></stop> </linearGradient> <g class='award-star' id='award-star'> <polygon class='star-background' fill='#fcc419' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3'></polygon> <polygon class='star-gradient' fill='url(#award-grad1)' points='265,15 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3 '></polygon> <polygon class='star-background' fill='transparent' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3' stroke-linejoin='miter' stroke-width='15' stroke='#e39b00'></polygon> </g> <g class='award-star-silver' id='award-star2'> <polygon class='star-background' fill='#d6d3d3' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3'></polygon> <polygon class='star-gradient' fill='url(#award-grad2)' points='265,15 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3 '></polygon> <polygon class='star-background' fill='transparent' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3' stroke-linejoin='miter' stroke-width='15' stroke='rgb(150,150,150)'></polygon> </g> <g class='award-star' id='award-star3'> <polygon class='star-background' fill='#bf8863' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3'></polygon> <polygon class='star-gradient' fill='url(#award-grad3)' points='265,15 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3 '></polygon> <polygon class='star-background' fill='transparent' points='265,15 197.8,206.3 15,206.3 164.2,316.9 111.6,515 265,397.5 417.3,515 364.7,316.9 515,206.3 332.2,206.3' stroke-linejoin='miter' stroke-width='15' stroke='#94513a'></polygon> </g> <g class='award-trophy' id='award-trophy'> <path class='trophy-background' d="M50.6,127.3h53.1c8.1,72.9,28.6,136.6,57,182.1C95.2,273.7,50.7,205.5,50.6,127.3z M479.7,127.3 c-0.1,78.2-44.5,146.4-110.1,182.1c28.4-45.5,49-109.3,57-182.1H479.7L479.7,127.3z M323.1,361.9C431.7,336.4,512.4,241,512.4,127.2 c0-11-0.8-21.8-2.3-32.5h-80.8c0.7-11.9,1-24,1-36.2c0-14.8-0.5-29.3-1.5-43.5H101.5c-0.9,14.2-1.5,28.7-1.5,43.5 c0,12.3,0.4,24.3,1.1,36.2H20.3c-1.5,10.6-2.3,21.5-2.3,32.5C18,241.1,98.7,336.5,207.4,362c12.6,9.3,26,15.6,39.9,18.5v48.9 c0,38.6-101.2,52.8-101.2,52.8c-9,0-16.3,7.3-16.3,16.4c0,9,7.3,16.3,16.3,16.3h238.3c9,0,16.3-7.3,16.3-16.3s-7.3-16.4-16.3-16.4 c0,0-104.4-14.3-104.4-52.8v-48.3C295,378.5,309.5,371.9,323.1,361.9" fill='#fcc419'></path> <path class='trophy-gradient' d="M323.1,361.9C431.7,336.4,512.4,241,512.4,127.2c0-11-0.8-21.8-2.3-32.5h-80.8c0.7-11.9,1-24,1-36.2 c0-14.8-0.5-29.3-1.5-43.5H265.2v500h119.1c9,0,16.3-7.3,16.3-16.3s-7.3-16.4-16.3-16.4c0,0-104.4-14.3-104.4-52.8v-48.3 C295,378.5,309.5,371.9,323.1,361.9z M426.6,127.3h53.1c-0.1,78.2-44.5,146.4-110.1,182.1C398.1,264,418.6,200.2,426.6,127.3z" fill='url(#award-grad1)'></path> <path class='trophy-background' d="M50.6,127.3h53.1c8.1,72.9,28.6,136.6,57,182.1C95.2,273.7,50.7,205.5,50.6,127.3z M479.7,127.3 c-0.1,78.2-44.5,146.4-110.1,182.1c28.4-45.5,49-109.3,57-182.1H479.7L479.7,127.3z M323.1,361.9C431.7,336.4,512.4,241,512.4,127.2 c0-11-0.8-21.8-2.3-32.5h-80.8c0.7-11.9,1-24,1-36.2c0-14.8-0.5-29.3-1.5-43.5H101.5c-0.9,14.2-1.5,28.7-1.5,43.5 c0,12.3,0.4,24.3,1.1,36.2H20.3c-1.5,10.6-2.3,21.5-2.3,32.5C18,241.1,98.7,336.5,207.4,362c12.6,9.3,26,15.6,39.9,18.5v48.9 c0,38.6-101.2,52.8-101.2,52.8c-9,0-16.3,7.3-16.3,16.4c0,9,7.3,16.3,16.3,16.3h238.3c9,0,16.3-7.3,16.3-16.3s-7.3-16.4-16.3-16.4 c0,0-104.4-14.3-104.4-52.8v-48.3C295,378.5,309.5,371.9,323.1,361.9" stroke-linejoin='miter' stroke-width='15' stroke='#e39b00' fill='transparent'></path> </g> </defs> </svg>
</div>
<div class='activities-navigation-page $c-otm-main'> <div class='header-bar'> <div class='header-bar__btn header-bar__btn--back'> <svg height='32px' viewBox='0 0 48 48' width='32px' x='0px' y='0px'> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='36.9' y1='24' y2='24'></line> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='23.1' y1='24' y2='12'></line> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='23.1' y1='24' y2='36'></line> </svg> </div> <div class='header-bar__title'>Activities</div> <div class='header-bar__btn header-bar__btn--overflow-menu'> <svg height='32px' viewBox='0 0 48 48' width='32px' x='0px' y='0px'> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='36.9' y1='24' y2='24'></line> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='36.9' y1='14' y2='14'></line> <line fill='none' stroke-linecap='round' stroke-width='4' stroke='#FFFFFF' x1='11.1' x2='36.9' y1='34' y2='34'></line> </svg> </div> </div> <div class='activities-navigation-container'> <div class='unit-list-container'> <ul class='unit-list'> </ul> </div> </div>
</div> <script src='http://cdnjs.cloudflare.com/ajax/libs/jquery/2.1.3/jquery.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/gsap/1.16.1/TweenMax.min.js'></script>
<script src='http://cdnjs.cloudflare.com/ajax/libs/mustache.js/0.8.1/mustache.min.js'></script> <script src="js/index.js"></script>
</body>
</html>
On The Move UI - Script Codes CSS Codes
.hidden-svg-stuff { height: 0; width: 0; position: absolute; visibility: hidden;
}
*, *:before, *:after { box-sizing: border-box;
}
html, body, .activities-navigation-page { height: 100%;
}
.activities-navigation-page { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
}
html { font-family: "Open Sans", "Roboto", "Helvetica Neue", sans-serif; font-size: 16px; line-height: 1.5; color: #444;
}
.header-bar { min-height: 48px; font-size: 18px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.activities-navigation-page .header-bar { background-color: #31b7bf; color: #fff;
}
.header-bar__btn { width: 48px; height: 48px; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; cursor: pointer; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; -webkit-transition: background-color 0.2s; transition: background-color 0.2s;
}
.header-bar__btn:active { background-color: rgba(0, 0, 0, 0.2);
}
.header-bar__title { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 8px;
}
.activities-navigation-container { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; overflow: auto; position: relative;
}
.user-profile-small-container { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; font-size: 14px; background: #555555; padding: 10.66667px 16px; display: -webkit-box; display: -ms-flexbox; display: flex;
}
.user-profile-small-container .user-thumb { background-image: url("https://lh3.googleusercontent.com/-ykoRJ5uc2EU/AAAAAAAAAAI/AAAAAAAAAAA/UE7oPc6cymI/s53-c/photo.jpg"); height: 48px; width: 48px; border-radius: 50%; margin-right: 16px;
}
.user-profile-small-container .user-profile-small-inner-container { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; color: #fff;
}
.user-profile-small-container .user-text { font-weight: 300;
}
.user-profile-small-container .user-name { margin-right: 0.25em;
}
.user-profile-small-container .user-level { color: #FFC400;
}
.user-profile-small-container .user-level-progressbar { height: 10px; width: 40%; background: #FFC400; border-radius: 5px 0 0 5px;
}
.user-profile-small-container .user-level-progressbar-container { height: 10px; background: #fff; margin-top: 5px; border-radius: 5px;
}
.user-profile-small-container .user-level-pts-to-next { -webkit-font-smoothing: antialiased; margin-top: 4px; text-align: right;
}
.unit-list-container { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column;
}
.unit-list { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; overflow: auto; -webkit-overflow-scrolling: touch;
}
.unit-li { display: -webkit-box; display: -ms-flexbox; display: flex; background: #fff; cursor: pointer; padding: 8px 16px;
}
.unit-li:not(:last-child) { border-bottom: 1px solid #eee;
}
.unit-info { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; padding-top: 8px; padding-bottom: 8px; padding-right: 16px;
}
.unit-progressbar { height: 12px; width: 40%; background: #fed900; border-radius: 6px 0 0 6px;
}
.unit-progressbar-container { height: 12px; background: #ccc; margin-top: 8px; border-radius: 6px; overflow: hidden;
}
.unit-trophy { height: 40px; -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; width: 40px; margin-left: 16px; -webkit-transition: background 0.5s; transition: background 0.5s;
}
.unit-trophy .noAward { background: #ddd; width: 4px; height: 4px; border-radius: 50%; margin: 18px;
}
.unit-panel { display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; position: absolute; width: 100%; background: #31b7bf; overflow: hidden;
}
.unit-panel .unit-overview { -webkit-box-flex: 0; -ms-flex: 0 0 auto; flex: 0 0 auto; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; background-color: rgba(9, 131, 143, 0.5); padding: 8px 16px;
}
.unit-panel .unit-info { padding-top: 0;
}
.unit-panel .unit-complete-text { color: #fff; -webkit-font-smoothing: antialiased; margin-top: 0.2em;
}
.unit-panel .unit-progressbar-container { background: #fff;
}
.unit-panel .unit-activities-ul { margin-top: 16px; padding: 0 16px;
}
.unit-panel .unit-activities-li { background: #fff; border-radius: 4px; margin-bottom: 16px; display: -webkit-box; display: -ms-flexbox; display: flex; box-shadow: 0 2px 2px rgba(0, 0, 0, 0.35);
}
.unit-panel .unit-activities-li > * { padding: 8px;
}
.unit-panel .activity-info { -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto;
}
.unit-panel .activity-info h1 { margin-bottom: 8px;
}
.unit-panel .activity-info .engine-info { color: rgba(68, 68, 68, 0.6); font-size: 14px;
}
.unit-panel .activity-score-data { background: #555555; border-radius: 0 4px 4px 0; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; min-width: 96px; -webkit-box-align: center; -ms-flex-align: center; align-items: center;
}
.unit-panel .activity-score-data.award-star { background: #ffedb3;
}
.unit-panel .activity-score-data.award-star2 { background: #ededec;
}
.unit-panel .activity-score-data.award-star3 { background: #ebdccf;
}
.unit-panel .activity-score-data.award-trophy { background: #ffedb3;
}
.unit-panel .activity-score { -webkit-box-ordinal-group: 2; -ms-flex-order: 1; order: 1; color: #666; font-weight: 700; font-size: 1.5em; padding-top: 8px;
}
On The Move UI - Script Codes JS Codes
$(document).ready(function(){
var menuData = {};
menuData.units = { info:[ { unitName: "Essential English", progress: 100, trophy: "true" }, { unitName: "How was your vacation?", progress: 84, goldStar: "goldStar" }, { unitName: "I think it's exciting!", progress: 100, goldStar: "goldStar" }, { unitName: "Do it before you're 30!", progress: 80, silverStar: "silverStar" }, { unitName: "Review units 1-3", progress: 50, bronzeStar: "bronzeStar" }, { unitName: "The best place in the world!", progress: 40, noAward: "noAward" }, { unitName: "Where's the party?", progress: 20, noAward: "noAward" }, { unitName: "You should try it!", progress: 0, noAward: "noAward" }, { unitName: "Review units 4-6", progress: 0, noAward: "noAward" }, { unitName: "There are too many stores!", progress: 0, noAward: "noAward" }, { unitName: "I like guys who are smart.", progress: 16, noAward: "noAward" }, { unitName: "What were you doing?", progress: 0, noAward: "noAward" }, { unitName: "Review units 7-9", progress: 0, noAward: "noAward" }, { unitName: "It must be an earthquake!", progress: 0, noAward: "noAward" }, { unitName: "I used to sing.", progress: 0, noAward: "noAward" }, { unitName: "Living in a pyramid", progress: 0, noAward: "noAward" }, { unitName: "Review units 10-12", progress: 0, noAward: "noAward" } ]
}
var template = $(".mustache-template").html(), templateData = menuData.units;
$(".unit-list").html(Mustache.render(template, templateData));
menuData.units.sampleUnit = { title: "I think it's exciting!", progress: 100, activityCount: 5, activityCompleteCount: 5, activityList: [ { name: "01 vocabulary activity", engineType: "Image match", highScore: "7/8", award: "#award-star", awardClass: "award-star" }, { name: "02 pedagogical name", engineType: "Engine type", requiresAudio: "true", highScore: "11", award: "#award-star2", awardClass: "award-star2" }, { name: "03 pedagogical name", engineType: "Engine type", highScore: "5/8", award: "#award-star3", awardClass: "award-star3" }, { name: "04 pedagogical name", engineType: "Engine type", isTimed: "true", highScore: "02:11", award: "#award-star", awardClass: "award-star" }, { name: "05 pedagogical name", engineType: "Engine type", highScore: "10/10", award: "#award-trophy", awardClass: "award-trophy" } ]
}
var unitOpen;
function fauxOpen($thisUnit){ var thisHtml = $thisUnit.html(), thisHeight = $thisUnit.outerHeight(), $parent = $(".activities-navigation-container"), parentHeight = $(".unit-list-container").outerHeight(), thisTop = $thisUnit.position().top, template2 = $(".mustache-template2").html(), template3 = $(".mustache-template3").html(), templateData2 = menuData.units.sampleUnit, $navBack = $(".header-bar__btn--back"), thisUnitData = $thisUnit.data("unit"); unitOpen = thisUnitData; $parent.prepend("<div class='unit-panel'><div class='unit-overview'>"+thisHtml+"</div></div>"); var $panel = $(".unit-panel"), $panelInfo = $panel.find(".unit-info"), $panelTitle = $panel.find(".unit-title"); $panelInfo.append(Mustache.render(template2, templateData2)); $panel.append(Mustache.render(template3, templateData2)); var tl = new TimelineLite(); tl .set($panel,{ zIndex:"-1", height:thisHeight, top: thisTop}) .set($panelTitle,{display:"none"}) .to($thisUnit, 0.3, {backgroundColor:"#31B7BF"}) .set($panel,{ zIndex:"1"}) .set($parent, {overflow:"hidden"}) .set($panel,{ height:thisHeight, top: thisTop}) .to($panel,0.75,{ease: Elastic.easeOut.config(1, 1), height:parentHeight,top:0},"start") .to($panelTitle,0.3,{scale:0, transformOrigin:"0 0", opacity:0},"start") .set($parent, {overflow:"auto"}) .set($panel, {minHeight:"100%",overflow:"visible"}) .timeScale(1) $navBack.addClass("faux-close");
}
function fauxClose($this){ $(".unit-list-container").show(); //close unit here var listItemName = unitOpen, $listItem = $('[data-unit="'+unitOpen+'"]'), listItemTop = $listItem.position().top, listItemHeight = $listItem.outerHeight(), $panel = $(".unit-panel"), $panelInfo = $panel.find(".unit-info"), $panelTitle = $panel.find(".unit-title"), $panelCompleteTxt = $panel.find(".unit-complete-text"), $panelTrophy = $panel.find(".unit-trophy"); function wipePanel(){ $panel.remove(); } var tl2 = new TimelineLite(); tl2 .set($panel,{ overflow:"hidden", minHeight:0,height:"100%"}) .set($panelTitle, {color:"rgb(255,255,255)"}) .to($panel,0.4,{ height:listItemHeight, top:listItemTop},"start") .to($panelTitle,0.3,{scale:1, transformOrigin:"0 0", opacity:1, paddingTop:"16px"},"start") .to($panelCompleteTxt,0.3,{scale:0, transformOrigin:"0 0", opacity:0},"start") .set($listItem, {backgroundColor:"#fff"}) .to($panel,0.5,{opacity:0,onComplete: wipePanel});
}
function setPageTitle(text){ $(".header-bar__title").html(text);
}
$("html").on( "click", ".unit-li", function() { fauxOpen( $(this) ); setPageTitle(unitOpen);
});
$("html").on( "click", ".faux-close", function() { fauxClose( $(this) ); setPageTitle("Activities");
});
});
Developer | Chris Boon |
Username | chrisboon27 |
Uploaded | November 16, 2022 |
Rating | 3 |
Size | 8,412 Kb |
Views | 12,144 |
Find the perfect freelance services for your business! Fiverr's mission is to change how the world works together. Fiverr connects businesses with freelancers offering digital services in 500+ categories. Find Developer!
Name | Size |
DDCP homepage tiles | 3,686 Kb |
Temporary example for Julie | 2,388 Kb |
Alter bg opacity on hover... | 2,054 Kb |
Text-transform is presentational | 2,700 Kb |
Pan image on mousemove | 3,048 Kb |
Cursor transitions on click | 2,775 Kb |
Chrome flexbox bug - not redrawing when window height reduces | 2,368 Kb |
Response to stack-overflow question | 1,654 Kb |
Scaling Enumeration | 3,565 Kb |
Moving background-image on mousemove | 2,040 Kb |
Jasper is the AI Content Generator that helps you and your team break through creative blocks to create amazing, original content 10X faster. Discover all the ways the Jasper AI Content Platform can help streamline your creative workflows. Start For Free!
Name | Username | Size |
Google Fonts Sass Mixin | HugoGiraudel | 4,237 Kb |
IE11 Test | Boostnewmedia | 4,998 Kb |
Flexbox Grid - equal height | DaveOrDead | 2,855 Kb |
SnappySnippet Test | Elmsoftware | 8,385 Kb |
CSS3 iPad | Vikvarg | 1,766 Kb |
Animated rainbow wave on canvas | Icodeforlove | 2,777 Kb |
Wavy Road with Dashes | Jonobr1 | 2,679 Kb |
About Mazano | Kiti | 2,585 Kb |
This in constructor context | _shree33 | 1,718 Kb |
Improved Page Flipping Effect | Usaphp | 5,201 Kb |
Surf anonymously, prevent hackers from acquiring your IP address, send anonymous email, and encrypt your Internet connection. High speed, ultra secure, and easy to use. Instant setup. Hide Your IP Now!