Home  >  Article  >  Web Front-end  >  Call 265 weather forecast, no link is displayed_Experience exchange

Call 265 weather forecast, no link is displayed_Experience exchange

WBOY
WBOYOriginal
2016-05-16 12:10:061557browse

1. First make a 5*5 transparent GIF file and save it in the "image" folder

2. Create a "weather" HTM file with the following code:




Weather forecast
Call 265 weather forecast, no link is displayed_Experience exchange








<script> <BR>document.oncontextmenu=new Function('event.returnValue=false;'); <BR>document.onselectstart=new Function('event.returnValue=false;'); <BR>//以上是禁止鼠标右键 <BR><!-- <BR>function MM_reloadPage(init) { //reloads the window if Nav4 resized <BR> if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) { <BR> document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} <BR> else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload(); <BR>} <BR>MM_reloadPage(true); <BR>//--> <BR></script> 3. Calling code: This is OK. . . .
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn