JS picture up and down uninterrupted scrolling code

Source: Internet
Author: User
Keywords Web page production Ajax javascript
Tags ajax code default function http javascript logo speed

<div Id=link_logo style= "Overflow:hidden; width:282px; height:518px ""
<div id=link_logo1 style= "Overflow:hidden"
<table width= "282"   border= "0" cellpadding= "cellspacing=" "0" "
<tr><td><img src=" Http://www.jzread.com/skin/default/imga /logo.gif "border=" 0 "width=" 282 "height=" "/></TD></TR>
<tr><td><img src=" http ://www.jzread.com/skin/default/imga/logo.gif "border=" 0 "width=" 282 "height=" "/></TD></TR>
<tr><td><img src= "http://www.jzread.com/skin/default/imga/logo.gif" border= "0" width= "282" "/></td></tr>
<tr><td><img src=" http://www.jzread.com/skin/default/imga/ Logo.gif "border=" 0 "width=" 282 "height=" "/></TD></TR>
<tr><td><img src=" http:/" /www.jzread.com/skin/default/imga/logo.gif "border=" 0 "width=" 282 "height="/></TD></TR>
< Tr><td><img sRc= "Http://www.jzread.com/skin/default/imga/logo.gif" border= "0" width= "282" height= "the" "/></td></tr"
<tr><td><img src= "http://www.jzread.com/skin/default/imga/logo.gif" border= "0" width= "282" height= "/></td></tr>"
</table> 
</div>
<div id=link_logo2>< /div>
</div>

<script>
var speed=65
link_logo2.innerhtml=link_logo1.innerhtml
Function Marquee2 () {
if ( link_logo2.offsettop-link_logo.scrolltop<=0)
Link_logo.scrolltop-=link_logo1.offsetheight
else{
link_logo.scrolltop++
}
}
var mymar2=setinterval (marquee2,speed)
Link_logo.onmouseover=function () { Clearinterval (MYMAR2)}
Link_logo.onmouseout=function () {Mymar2=setinterval (marquee2,speed)}
</script

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.