Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function VideoHomeScreen() {
- $('#progressBar').addClass('progressBar');
- /* setTimeout(function () {
- $('#videoLavorazioni').hide();
- $('#videoSost').hide();
- $('#videoStoria').hide();
- }, 1000);*/
- if ($(window).width() <= 480) {
- $('.barMobile2').hide();
- $('.barMobile3').hide();
- $('.barMobile4').hide();
- }
- setTimeout(function () {
- $('#progressBar').removeClass('progressBar');
- $('.shadow').addClass('blackout');
- setTimeout(function () {
- $('#videoQualita').hide();
- $('.shadow').removeClass('blackout');
- }, 1000);
- $('#progressBar2').addClass('progressBar');
- $('#videoLavorazioni').show();
- if ($(window).width() <= 480) {
- $('.barMobile1').fadeOut(1000);
- setTimeout(function () {
- $('.barMobile2').fadeIn('slow');
- }, 1000);
- }
- }, 15000);
- setTimeout(function () {
- $('#progressBar2').removeClass('progressBar');
- $('.shadow').addClass('blackout');
- setTimeout(function () {
- $('#videoLavorazioni').hide();
- $('.shadow').removeClass('blackout');
- }, 1000);
- $('#progressBar3').addClass('progressBar');
- $('#videoSost').show();
- if ($(window).width() <= 480) {
- $('.barMobile2').fadeOut(1000);
- setTimeout(function () {
- $('.barMobile3').fadeIn('slow');
- }, 1000);
- }
- }, 30000);
- setTimeout(function () {
- $('#progressBar3').removeClass('progressBar');
- $('.shadow').addClass('blackout');
- setTimeout(function () {
- $('#videoSost').hide();
- $('.shadow').removeClass('blackout');
- }, 1000);
- $('#progressBar4').addClass('progressBar');
- $('#videoStoria').show();
- if ($(window).width() <= 480) {
- $('.barMobile3').fadeOut(1000);
- setTimeout(function () {
- $('.barMobile4').fadeIn('slow');
- }, 1000);
- }
- }, 45000);
- setTimeout(function () {
- $('#videoQualita').show();
- $('.shadow').addClass('blackout');
- setTimeout(function () {
- $('#videoStoria').hide();
- $('.shadow').removeClass('blackout');
- }, 1000);
- if ($(window).width() <= 480) {
- $('.barMobile4').fadeOut(1000);
- setTimeout(function () {
- $('.barMobile1').fadeIn('slow');
- }, 1000);
- }
- }, 60000);
- };
Advertisement
Add Comment
Please, Sign In to add comment