Call 265 weather forecast, do not show link _ experience Exchange

Source: Internet
Author: User
1, first make a 5*5 transparent GIF file, saved in the "image" folder

2, the construction of a "weather" HTM file, the code is as follows:

<meta http-equiv= "Content-type" content= "text/html; charset=gb2312 ">
<title> Weather Forecast </title>
<style type= "Text/css" >
<!--
Body {
margin-left:0px;
margin-top:0px;
margin-right:0px;
margin-bottom:0px;
}
-->
</style>
<script language= "JavaScript" type= "Text/javascript" >
Document.oncontextmenu=new Function (' event.returnvalue=false; ');
Document.onselectstart=new Function (' event.returnvalue=false; ');
The above is to disable the right mouse button
<!--
function Mm_reloadpage (init) {//reloads the window if Nav4 resized
if (init==true) with (navigator) {if (appname== "Netscape") && (parseint (appversion) ==4)) {
Document. Mm_pgw=innerwidth; Document. Mm_pgh=innerheight; Onresize=mm_reloadpage; }}
else if (innerwidth!=document. MM_PGW | | Innerheight!=document. MM_PGH) location.reload ();
}
Mm_reloadpage (TRUE);
-->
</script>
<body bgcolor= "#FFF9EE" >
<div id= "Layer1" style= "Position:absolute; width:175px; height:54px; Z-index:1; left:0; top:0; " ></div>
<iframe src= "http://weather.265.com/weather.htm" width= "190" height= "si" frameborder= "0" marginwidth= "0" marginheight= "0" scrolling= "no" name= "I1" ></iframe>
</body>

3. Calling code:
<iframe src= "weather.htm" width= "190" height= "si" frameborder= "0" marginwidth= "0" marginheight= "0" scrolling= "no" ></iframe>


So it's ok ....

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.