You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Здравствуйте, подскажите какой тег использовать для увеличения значения, пример на картинке.
Вроде, про такой тег я слышала. Если есть тег прогресс бар, значит и такое должно быть.
Question
VTVTima
Как в данный java скрипт посставить свои переменные
http://jsfiddle.net/gvkXB/
[JS](function(){
var bar = document.getElementById('bar'),
text = document.getElementById('text'),
p = 0,
t;
t = setInterval(function(){
p += 1;
text.innerHTML = bar.style.width = p + '%';
if (p >= 100)
clearInterval(t);
}, 500);
})();[/JS]
[CSS].process {
border: #999 solid 1px;
background: #fff;
position: relative;
width: 200px;
}
.process .bar {
position: absolute;
left: 0;
top: 0;
bottom: 0;
width: 0;
background: #ccc;
}
.process .text {
position: relative;
line-height: 1.5em;
vertical-align: middle;
text-align: center;
}[/CSS]
надо что бы от изменения на этом "http://mix-servers.com/csmon/index.php" сайте менялась шкала
вот сам index.php
Link to comment
Share on other sites
0 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.