<script src="domain name/ggcj/module/Jack. js"></script> <!-- The js should be referenced to which page is advertising! --> <!-- Banner ad code start --> <div class="hengfu"> <iframe class="ggcj iframe" src="domain name/ggcj/engfugg. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- End of banner ad code --> <!-- Double column picture (small banner) advertising code start --> <div class="zuoyou"> <iframe class="ggcj iframe" src="domain name/ggcj/zuoyougg. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- Double column picture (small banner) end of advertisement code --> <!-- Text ad code start --> <div class="wenzi"> <iframe class="ggcj iframe" src="domain name/ggcj/wenzigg. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- End of text ad code -->
<style>.dnwu {display: none;}@media(max-width:520px) {.dnwu {display: block;}.sjwu {display: none;}}</style> <!-- Banner ad start --> <div class="hengfu sjwu"><!-- Banner computer end, mobile phone end does not display --> <iframe src="domain name/ggcj/hengfugg. php" frameborder=no width=100% height=260 scrolling=no></iframe> </div> <div class="hengfu dnwu"><!-- The banner is not displayed on the mobile phone side and the computer side --> <iframe src="domain name/ggcj/hengfugg. php" frameborder=no width=100% height=140 scrolling=no></iframe> </div> <!-- Banner ad end --> <!-- Double column picture (small banner) start --> <div class="zuoyou sjwu"><!-- Double column banner computer end, mobile phone end does not display --> <iframe src="domain name/ggcj/zuoyougg. php" frameborder=no width=100% height=146 scrolling=no></iframe> </div> <div class="zuoyou dnwu"><!-- Double column banner is not displayed on the mobile phone side, but on the computer side --> <iframe src="domain name/ggcj/zuoyougg. php" frameborder=no width=100% height=96 scrolling=no></iframe> </div> <!-- Double column picture (small banner) end --> <!-- Text Ad Start --> <div class="wenzi sjwu"><!-- Text ads are not displayed on the computer side, but on the mobile side --> <iframe src="domain name/ggcj/wenzigg. php" frameborder=no width=100% height=76 scrolling=no></iframe> </div> <div class="wenzi dnwu"><!-- Text ads are not displayed on mobile phones and computers --> <iframe src="domain name/ggcj/wenzigg. php" frameborder=no width=100% height=144 scrolling=no></iframe> </div> <!-- End of text advertisement -->
<!-- Banner ad code start --> <div class="hengfu"> <iframe id="myFrame hengfu" src="domain name/ggcj/hengfug. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- End of banner ad code --> <!-- Double column picture (small banner) advertising code start --> <div class="zuoyou"> <iframe id="myFrame zuoyou" src="domain name/ggcj/zuoyougg. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- Double column picture (small banner) end of advertisement code --> <!-- Text ad code start --> <div class="wenzi"> <iframe id="myFrame wenzi" src="domain name/ggcj/wenzigg. php" frameborder=no width=100% scrolling=no></iframe> </div> <!-- End of text ad code --> <script> var height = (window.innerWidth < 768) ? 140 : 260; //Determine the height according to the equipment width document.getElementById("myFrame-fengfu").height = height; var height = (window.innerWidth < 768) ? 96 : 146; //Determine the height according to the equipment width document.getElementById("myFrame-zuoyou").height = height; var height = (window.innerWidth < 768) ? 144 : 76; //Determine the height according to the equipment width document.getElementById("myFrame-wenzi").height = height; </script> In the js code, 140: 260, the former is the height of the mobile terminal, and the latter is the height of the PC terminal. You can set the height according to the number of your advertisements.