Flash + jQuery: allows you to close and repeat top ads, while jquery is used to top ads.
Special effects
On the home page of the imitation portal website, The flash + jQuery code for ads that can be closed and repeatedly played from the top are "pressed". When the ads are played, the whole page is under pressure (this requires you to put some html code at the top of your website, under the <body>.
Demo Diagram
Usage
1. Introduce css in the head.
2. It is recommended that you add the following code at the top of your website. In this way, the advertisement playback will press down all the content on your page, which is magnificent:
<Div class = "gg_full wrapfix"> <div class = "gg_fbtn"> <a style = "display: none "class =" gg_freplay "title =" replay "href =" # "> </a> <a class =" gg_fclose "title =" close "href =" # "> </a> </div> <div class = "gg_fcon"> </div> <! -- Js --> <script type = text/javascript src = "jquery/jquery-1.4.2.min.js"> </script> <script type = text/javascript src = "js/qpxl. js "> </script>
3. Modify the flash Address, size, and display time in the qpxl. js file.
Demo address
The above is all the content of this article. I hope you will like it.