Guest User

Untitled

a guest
Oct 28th, 2022
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.58 KB | None | 0 0
  1. function VideoHomeScreen() {
  2.  
  3. $('#progressBar').addClass('progressBar');
  4.  
  5. /* setTimeout(function () {
  6. $('#videoLavorazioni').hide();
  7. $('#videoSost').hide();
  8. $('#videoStoria').hide();
  9. }, 1000);*/
  10.  
  11. if ($(window).width() <= 480) {
  12. $('.barMobile2').hide();
  13. $('.barMobile3').hide();
  14. $('.barMobile4').hide();
  15. }
  16.  
  17. setTimeout(function () {
  18. $('#progressBar').removeClass('progressBar');
  19. $('.shadow').addClass('blackout');
  20. setTimeout(function () {
  21. $('#videoQualita').hide();
  22. $('.shadow').removeClass('blackout');
  23. }, 1000);
  24. $('#progressBar2').addClass('progressBar');
  25. $('#videoLavorazioni').show();
  26.  
  27. if ($(window).width() <= 480) {
  28. $('.barMobile1').fadeOut(1000);
  29. setTimeout(function () {
  30. $('.barMobile2').fadeIn('slow');
  31. }, 1000);
  32. }
  33. }, 15000);
  34. setTimeout(function () {
  35. $('#progressBar2').removeClass('progressBar');
  36. $('.shadow').addClass('blackout');
  37. setTimeout(function () {
  38. $('#videoLavorazioni').hide();
  39. $('.shadow').removeClass('blackout');
  40. }, 1000);
  41. $('#progressBar3').addClass('progressBar');
  42. $('#videoSost').show();
  43.  
  44. if ($(window).width() <= 480) {
  45. $('.barMobile2').fadeOut(1000);
  46. setTimeout(function () {
  47. $('.barMobile3').fadeIn('slow');
  48. }, 1000);
  49. }
  50. }, 30000);
  51. setTimeout(function () {
  52. $('#progressBar3').removeClass('progressBar');
  53. $('.shadow').addClass('blackout');
  54. setTimeout(function () {
  55. $('#videoSost').hide();
  56. $('.shadow').removeClass('blackout');
  57. }, 1000);
  58. $('#progressBar4').addClass('progressBar');
  59. $('#videoStoria').show();
  60.  
  61. if ($(window).width() <= 480) {
  62. $('.barMobile3').fadeOut(1000);
  63. setTimeout(function () {
  64. $('.barMobile4').fadeIn('slow');
  65. }, 1000);
  66. }
  67. }, 45000);
  68. setTimeout(function () {
  69. $('#videoQualita').show();
  70. $('.shadow').addClass('blackout');
  71. setTimeout(function () {
  72. $('#videoStoria').hide();
  73. $('.shadow').removeClass('blackout');
  74. }, 1000);
  75.  
  76. if ($(window).width() <= 480) {
  77. $('.barMobile4').fadeOut(1000);
  78. setTimeout(function () {
  79. $('.barMobile1').fadeIn('slow');
  80. }, 1000);
  81. }
  82.  
  83. }, 60000);
  84. };
Advertisement
Add Comment
Please, Sign In to add comment