Home > Article > Web Front-end > jquery picswitch picture focus map display effect_jquery
The effect is as follows:
The key point of this plug-in is the application of the new function data added with the release of JQuery-1.4.2.js, so the jquery library must be version 1.4.2
On the other hand is the writing of css, the usage of setInterval and setTimeout. The former is executed every time, and the latter is executed every time;
There are two forms of usage of setTimeout 1 setTimeout( The code in code,interval) is the string
2 The func in setTimeout(func,interval,args) is the function
implementation code