<script src= ". /js/jquery-1.8.3.js "></script> <script type=" Text/javascript "> $(function(){ //1. Write the timed operation of the display adTime=setinterval ("Showadd ()", 3000); }); //2. Functions for displaying AD images functionShowadd () {//3. Get the ad image and let it show//$ ("#img2"). Show (1000);//Normal pop-up//$ ("#img2"). Slidedown (5000);//Swipe down$ ("#img2"). FadeIn (5000); //4. Clearly display the image of the timing operationclearinterval (time); //5. Set a timed action for a hidden pictureTime=setinterval ("Hiddenad ()", 3000); } functionHiddenad () {//6. Get your ad images and hide them//$ ("#img2"). Hide ();//Normal hidden//$ ("#img2"). Slideup (5000);//Hide up slowly$ ("#img2"). FadeOut (5000); //7. Clearly hide the image of the timing operationclearinterval (time); } </script>
<!-- timed pop-up ad image location - < src= ".. /img/f001a62f-a49d-4a4d-b56f-2b6908a0002c_g.jpg " width=" 100% " style = "Display:none" ID = "Img2" />
Use jquery to complete timed pop-up ad images