Scroll code

time:11-03-14 forum:HTML web page, JS language and code
  Text horizontally rolling
[code].lt; marquee scrollamount=2 direction=left onmouseover=this.stop () onmouseout=this.start () width=.quot; 230.quot; height=.quot; 21.quot;.Gt; text, text content / >; Emo style=overflow:hidden; height:100; width:20;
background:#214984; color:#ffffff.gt;
.lt; div id=demo1.gt;
rolling screen content;
var speed=30
demo2.innerHTML=demo1.innerHTML / / cloned Demo1 is demo2
function Marquee () {/ / / / when rolling to the junction of Demo1 and speed=30 CrollTop
}
}
var MyMar=setInterval (Marquee, speed) / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / / mouse shift Mar=setInterval (Marquee, speed)}
.lt; /script.gt; [/code]
  • 2
  • 3
  • 4

prev:A review of the agency system of foreign... next:Campus parking is no longer available
post comment
Notice



approved   Where is the old Ji'nan? More than 3...   A small set of fingers can adjust th...   In the mountains, after 80 years hai...   The General Administration of food a...   She turned the "abnormal" into a win...
rand   The three way the mouse changes the ...   [CSS] three column layout (left and ...   Mobile page adaptive cell phone scre...   Page mouse click special effect   Dandelion fluttering in the lower le...
ads

other

Because all the contents of this site are reproduced from other media, the intention is to provide free services to the public, but it does not mean that this site agrees with its views, and can not be responsible for the authenticity of its verification, such as the copyright unit or individual of the manuscript does not want to publish on this site, please Contact me, I will immediately remove it, thank you. Contact: atseashawk@163.com