Jump to content



Welcome to KnowledgeSutra - Dear Guest , Please Register here to get Your own website. - Ask a Question / Express Opinion / Reply w/o Sign-Up!
- - - - -

About Springing The Making Of The Window


No replies to this topic

#1 hulunes

    .::UniCorN::.

  • Kontributors
  • PipPipPipPipPipPipPipPipPip
  • 973 posts
  • Location:Dalian CHN
  • Interests:basketball &drawing,digital pro.

Posted 19 September 2004 - 02:37 PM

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




Reply to this topic


This post will need approval from a moderator before this post is shown.

  


1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users