Home > Web Front-end > JS Tutorial > javascript random ad code (image ad)_advertising code

javascript random ad code (image ad)_advertising code

WBOY
Release: 2016-05-16 18:47:36
Original
1066 people have browsed it

[Ctrl A Select all Note: If you need to introduce external Js, you need to refresh to execute
]

There is a good one in this Random function code, I don’t understand the details. Friends who know can reply. The code is as follows:


function rnd() {
var ia=9301 ;
var ic=49297;
var im=233280;
sec = (sec*ia ic) % im;
return sec/(im*1.0);
};
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template