Update script to latest v2.0.0.beta-3

This commit is contained in:
Faisal Salman
2024-06-18 15:12:57 +07:00
parent 405b45183f
commit 0583464041
4 changed files with 72 additions and 66 deletions

View File

@@ -1,9 +1,9 @@
$(document)
.ready(function() {
var labels = ['browser.name', 'os.version', 'device.type', 'cpu.arch', 'device.model', 'browser.version', 'device.vendor', 'engine.name', 'engine.version'];
var labels = ['{ browser.name }', '{ os.version }', '{ device.type }', '{ cpu.arch }', '{ device.model }', '{ browser.version }', '{ device.vendor }', '{ engine.name }', '{ engine.version }'];
var counter = 0;
var rotateLabel = function () {
$('h2 .label').transition('fly down', function () {
$('.masthead h3 .label').transition('fly down', function () {
$(this).text(labels[counter++]).transition('fade up', 100, function (){
if(counter>=labels.length)counter=0;
$(this).transition('jiggle');

File diff suppressed because one or more lines are too long