1. Changing the IE default icon in front of the URL title in the favorites When collecting your website, you want to make it more cool and more attractive in the favorites, then try to change your URL title in front of your favorite. IE icon, make it a personalized icon, in fact, if the user's browser is IE5.0 (most nunwug should be IE5.0 or more), this is easy to do, please in front of head> Plus this sentence: , of which COOL.ico is the ICO icon you want to use, put the cool.ico and the homepage in the same directory of the server It is OK, after opening the page collection, you will find that the icon in front of your site has changed. When you open it later, you will find that the browser's address bar icon will also become COOL.ico, please pay attention to the test Place the page to execute on the server, and you can't double-click to open it to collect it.
2. Determine the user's screen resolution and turn to different web pages, please add the following code in front of head>, and change 640.htm, 800.htm, 1024.htm to the page you need to turn, run the test page You can also see that the turning page will become "first", that is, the back key of the browser is not available, which avoids the user to cause "dead loop" by pressing the back button.