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

javascript random ad code (image ad)_advertising code

WBOY
WBOYOriginal
2016-05-16 18:47:361015browse

[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);
};
Statement:
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