|
|
|
|
![]() ![]() |
Sep 19 2004, 02:37 PM
Post
#1
|
|
|
.::UniCorN::. ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 973 Joined: 19-September 04 From: Dalian CHN Member No.: 1,192 |
Some friends often surfs the Net may been to some such websites , the entry homepage will spring a window at once, or press a connection or the button to spring, usually will show some precautions in this window, copyright information , or information which the author wants to especially point out warned , welcomed to be patronized etc.. The ones that in fact made such a page result very are easy, so long as join several sections of Javascript codes and can be realized to HTML of this page. I following lead you to analyze its secret.
Code: <script LANGUAGE="javascript"> <!-- window.open ('page.html') --> </SCRIPT> Because one section javascripts code,they should place on During(<script LANGUAGE="javascript"></SCRIPT>). Work with low browser of some editions , will not regard code in the label as the text display in these old browsers. Form this good habit . Window.open (' page.html ' ) is used for controlling and springing new window page.html, if page.html, under the same route with the main window, should indicate in the front route , whose name is absolute for route (http:// ) and the route not relative (../) will do. It is all all right to use single quotation marks and double quotation mark , but don't use with . This section of codes can join the wanton position of HTML , Sum Between all right, One All right, carry out early , especially the page code is long, want to make the page spring and try one's best to put forward early again |
|
|
|
![]() ![]() |
Similar Topics
|
Lo-Fi Version | Time is now: 22nd November 2008 - 01:41 AM |