slotMachines
progressJs implementation
by dixalex
HTML
<script src="http://slotgamblers.com/winning//js/progress.min.js"></script>
<link rel="stylesheet" href="http://slotgamblers.com/winning//css/progressjs.min.css">
<h1>Online Slot Games and Machines in Online Casinos</h1><span>My top recommendation for playing on slot machines is Lucky Red Casino. It is one of the biggest online casinos in the world, which guarantees a fair and safe gaming experience. In addition, there is up to $4000 deposit bonus and everyday a different promotion!</span>
<p><strong><a href="http://slotgamblers.com/out/lucky" rel="Nofollow">Click here to profit from this exclusive offer!</a></strong></p>
<div class='progressShield'>
<iframe src=''>
</iframe>
</div>
<span>I am myself an enthusiastic casino player. Therefore, I thought about building a website for the most interesting game in my opinion, namely slot machines. On the other hand, it is not an easy subject since in the meantime there are approximately 5282
online casinos and even more slot machines. Not all of them are useful. Many online casinos don’t take it seriously, and they simply don’t offer a good playing experience. Therefore, some slot machines are not recommendable for that either; they have
too much house edge or they are simply boring. All of these things is possible in the world of online slots. Additionally, there is the very important sign up bonus, which you get when you make a deposit for the first time at an online casino. It
plays an important role in your percentage payout!</span>
CSS
body {
background-color: #FFF;
}
div.progressShield {
width: 100%;
clear: both;
height: 250px;
background-color: #ACE;
border: solid 1px #000;
}
a {
box-sizing: inherit;
background-color: transparent;
color: rgb(69, 108, 148);
text-decoration: none;
line-height: inherit;
cursor: pointer;
}
h1 {
box-sizing: inherit;
font-size: 2.625rem;
margin: 0px 0px 0.5rem;
padding: 0px;
font-family: arial;
font-weight: bold;
font-style: normal;
color: rgb(200, 0, 0);
text-rendering: optimizeLegibility;
line-height: 1.4;
font-variant-ligatures: normal;
font-variant-caps: normal;
letter-spacing: normal;
orphans: 2;
text-align: start;
text-indent: 0px;
text-transform: none;
white-space: normal;
widows: 2;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;
background-color: rgb(254, 254, 254)
}
Span {
color: rgb(105, 105, 105);
font-family: Arial;
font-size: 16px;
font-style: normal;
font-variant-ligatures: normal;
font-variant-caps: normal;
font-weight: normal;
letter-spacing: normal;
orphans: 2;
text-align: start;
text-indent: 0px;
text-transform: none;
white-space: normal;
widows: 2;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;
background-color: rgb(254, 254, 254);
display: inline !important;
float: none;
}
p {
box-sizing: inherit;
margin: 0px 0px 1rem;
padding: 0px;
font-size: 16px;
line-height: 1.6;
text-rendering: optimizeLegibility;
color: rgb(105, 105, 105);
font-family: Arial;
font-style: normal;
font-variant-ligatures: normal;
font-variant-caps: normal;
font-weight: normal;
letter-spacing: normal;
orphans: 2;
text-indent: 0px;
text-transform: none;
white-space: normal;
widows: 2;
word-spacing: 0px;
-webkit-text-stroke-width: 0px;
background-color: rgb(254, 254, 254);
text-align: center;
}
iframe {
width: 100%;
height: 100%;
display: none;
}
JavaScript
$('.progressShield').on('click', function() {
progressJs(".progressShield")
.setOptions({
overlayMode: true,
theme: 'blueOverlayRadiusWithPercentBar'
})
.start()
.autoIncrease(52.5, 500)
.onprogress(function(targetElm, percent) {
//targetElm.innerHTML = percent + '%';
if (percent === 100) {
progressJs(targetElm).end();
$('iframe').attr('src', 'http://slotgamblers.com/winning/').fadeIn(1150).show();
}
});
});