Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<style type="text/css">
#marqueecontainer{
position: relative;
width: 200px; /*нагласяш си width */
height: 200px; /*нагласяш си height */
background-color: #000000;
overflow: hidden;
border: 3px solid orange;
padding: 2px;
padding-left: 4px;
color: #fff;
}
</style>
<script type="text/javascript">
var delayb4scroll=2000 //По-добре не бутай(2000=2 seconds)
var marqueespeed=1 // от 1 до 10, но така е добре мисля - това е за бързината на текстовете (1 бавно и нагоре бързо до 10)
var pauseit=1 //Дали да има паулза между надписите и заглавията (0=no. 1=yes)
////ЯВНО Е ЧЕ НЕ РАЗБИРАШ ПО-ДОБРЕ НЕ БУТАЙ ПО-ДОЛУ////////////
var copyspeed=marqueespeed
var pausespeed=(pauseit==0)? copyspeed: 0
var actualheight=''
function scrollmarquee(){
if (parseInt(cross_marquee.style.top)>(actualheight*(-1)+8))
cross_marquee.style.top=parseInt(cross_marquee.style.top)-copyspeed+"px"
else
cross_marquee.style.top=parseInt(marqueeheight)+8+"px"
}
function initializemarquee(){
cross_marquee=document.getElementById("vmarquee")
cross_marquee.style.top=0
marqueeheight=document.getElementById("marqueecontainer").offsetHeight
actualheight=cross_marquee.offsetHeight
if (window.opera || navigator.userAgent.indexOf("Netscape/7")!=-1){ //if Opera or Netscape 7x, add scrollbars to scroll and exit
cross_marquee.style.height=marqueeheight+"px"
cross_marquee.style.overflow="scroll"
return
}
setTimeout('lefttime=setInterval("scrollmarquee()",30)', delayb4scroll)
}
if (window.addEventListener)
window.addEventListener("load", initializemarquee, false)
else if (window.attachEvent)
window.attachEvent("onload", initializemarquee)
else if (document.getElementById)
window.onload=initializemarquee
</script>
<body bgcolor="#FFF">
<div id="marqueecontainer" onMouseover="copyspeed=pausespeed" onMouseout="copyspeed=marqueespeed">
<div id="vmarquee" style="position: absolute; width: 98%;">
<h4>Музикални новини</h4>
<br>
<p>Новини около Шамара: <br>
<a href="#"> Без пари мога, без микрофон не</a><br>
Най-добрият рап изпълнител с нов албум,
нов лейбъл и нови клипове,
въвлечен в хубава благотворителна кауза..
Източник ..........
</p></br>
<br><br>
<P>Shakira - отново във порно филм</p>
</div>
</div>
</body>