Report page integration weather, simple three-step, a look to understand

Source: Internet
Author: User

is the reporting page boring? Try adding "new ideas" to the page!

Before the array, when looking at the weather forecast, found the call code for free weather forecast, instantly thought can give me the development of the report "embellish."

A total of three steps to teach you extremely easy

The first step

First go to the weather resource provider (self-Baidu) to select the appropriate forecast for their own page

Step Two

The IFRAME label in the Copy box.

JS Code:

Document.writeln ("<iframe name=\" weather_inc\ "src=\" http:\/\/i.tianqi.com\/index.php?c=code&id=1\ "width= \ "330\" height=\ "35\" frameborder=\ "0\" marginwidth=\ "0\" marginheight=\ "0\" scrolling=\ "no\" ><\/iframe> ") ;

This code can be based on IP automatically determine the location of the display, or according to actual needs , appropriate adjustment width, height.

Adding allowtransparency= "true" to your code also gives you a background transparency effect.

650) this.width=650; "src=" http://img.blog.csdn.net/20160707092237477 "style=" Border:none;color:rgb (85,85,85); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:35px;white-space:normal;background-color:rgb ( 255,255,255); "/>

Step Three

called in Report Designer Finereport

650) this.width=650; "src=" http://img.blog.csdn.net/20160707092305665 "style=" Border:none;color:rgb (85,85,85); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:35px;white-space:normal;background-color:rgb ( 255,255,255); "/>

All done, here's the next one!

650) this.width=650; "src=" http://img.blog.csdn.net/20160707092344651 "style=" Border:none;color:rgb (85,85,85); font-family: ' Microsoft Yahei '; Font-size:15px;line-height:35px;white-space:normal;background-color:rgb ( 255,255,255); "/>


Report page integration weather, simple three-step, a look to understand

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.