Technical Details
Forum version : #PunBB
Position : Founder
Concerned browser(s) : Mozilla Firefox, Google Chrome, Internet Explorer, Opera, Safari, Other
Who the problem concerns : All members
When the problem appeared : When I made the animation for the Logo
Forum link : http://onepiecegr.forum-pro.org/
Description of problem
Hey there!I've recently had an issue with my logo. You see I made the logo animation with css, the script for the logo is:
- Code:
#pun-intro.clearfix {
height: 260px;
width: auto;
padding-right: 300px;
margin-right: 0px;
background: url('http://orig14.deviantart.net/f27b/f/2016/099/0/8/full_op_story_by_patty110692-d9ya8vt.png') repeat-x;
-webkit-background-size: cover;
-moz-background-size: cover;
-o-background-size: cover;
background-size: cover;
-webkit-animation: backgroundScroll 200s linear infinite;
animation: backgroundScroll 200s linear infinite;
}
@-webkit-keyframes backgroundScroll {
from {background-position: 0px 0;}
to {background-position: -15600px 0;}
}
@keyframes backgroundScroll {
from {background-position: 0px 0;}
to {background-position: -15600px 0;}
}
Now some members complain about how this animation makes the forum much heavier than their oldy computers can handle (I too have the same problem with my old laptop too).
So, all I want is a button like a switch that will stop the animation of my logo until the user presses it again (just like pause and play buttons). Additionaly I'd like the script to remember whether the user had the animation turned on or off (via cache or cookies i suppose)
Thanks in advance
Last edited by Scarlet D. on October 24th 2016, 1:40 pm; edited 3 times in total