To determine whether a page is opened

2010-12-01  来源:本站原创  分类:Web  人气:57 

Page 1 Code:



<TITLE> Stock List </ TITLE>

<script language="javascript">

function reOpen () {

if (window.child & & & &! window.child.closed)


window.child.focus ();

window.child.callback ();

} Else {

window.child = ('2. html ',' CIDAS_MAIN ');



</ Script>

</ HEAD>



my h text </ a>

</ BODY>

</ HTML>

Page 2 Code:



<TITLE> Stock List </ TITLE>


function callback () {

alert ("call from b");


</ Script>

</ HEAD>


<textarea col="20" row="20"> </ textarea>

</ Body>

</ HTML>

  • To determine whether a page is opened 2010-12-01

    Page 1 Code: <HTML> <HEAD> <TITLE> Stock List </ TITLE> <script language="javascript"> function reOpen () { if (window.child & & & &! window.child.closed) { window.child.focus (); w

  • To determine whether a page is updated 2010-11-10

    Basics 1) What is "Last-Modified"? In the browser first request a particular URL, the server-side return status is 200, the content that you requested resource, while there is a Last-Modified attribute tag file in the service of the client was l

  • Determine whether the page is loaded 2010-03-22

    document.onreadystatechange = function () ( if (document.readyState == "complete") ( alert ('loaded'); ) )

  • With document.readyState == "complete" to determine whether a page is loaded. 2010-12-14

    Returns the current status of XML documents. Basic Syntax intState = xmlDocument.readyState; Help This property is read-only, the return value has the following possibilities: 0-UNINITIALIZED: XML object is generated, but no files are loaded. 1-LOADI

  • To determine whether a page has changed little experience 2011-09-05

    initilize a variable: isChanged: Boolean change the flag where you do some thing.

  • Analysis using the hta page, and upload the results to the FTP 2011-05-28

    HTA description see This three-part, record problems and solutions encountered A, HTA write. Use of HTA information to parse web pages, similar tools should be a lot of the reason was mainly due to use ht

  • Struts2 determine page is POST or GET form submission to submit 2010-06-03

    In the project development process, found that pages will be submitted twice, has not been the cause, and was later found to produce because of the UI Bug in the JSP page designer to add the following the code: <style> body {background:#ffffff url()

  • Use webview.copyBackForwardList () to determine whether to open the link in the current page 2010-07-09

    This is only mandatory for hope in webview open a new link in a new tab. When using webview can WebviewClient class shouldOverrideUrlLoading way to get each time you open the page, if you want to know whether this page by adding the target = "_blank&

  • Determine the page encoding (transfer) 2010-12-04

    Determine the code page is our main page in order to resolve some garbled. Mainly use two jar package chardet.jar and cpdetector_1.0.7.jar. Specific use is as follows: public class BianMa { public static void main(String[] args){ String path="";

  • Lazy Strategy: Tapestry4 in removing cumbersome. Page file 2010-04-02

    Addressed to the lazy like me. /** * * Ô­ìûóé address: http :// * Reprint, you keep the author information * * @author Yangkai http :// * @author Hu http :// [email protected] QQ:37666

  • Discuz forum page to achieve the perfect form of paging class 2010-12-17

    Discuz forum page to achieve the perfect form of paging class Ideas: 1. Not the first and last page, there are left and right arrow <and>, that is, previous and next, where the arrow; 2. To determine the current page class for the current; 3. Total

  • Linux Learning Summary - page fault and switching technology 2011-05-18

    Third, Linux page fault handling 1. Demand paging interrupts: Process linear address space of the page to not have permanent memory, such as the allocation process to meet the request was understood, the space is only reserved vm_area_struct space, t

  • The value of the Internet page 2011-06-07

    Search engines every day to the hundreds of millions of queries, each query request on behalf of a user's specific needs for a resource. Most of the time, the web results returned by the query, these needs are met, we can consider some of the results

  • English configuration manual FckEditor details 2009-07-04

    Author: ruizhi date :2009-03-15 call javascript method: ------------------------------------ <script. type="text/javascript" src="FCKeditor/fckeditor.js"> </ scrīpt> <textarea name="content" cols="80"

  • ContenType type Daquan (including Office2007 documents solution to the problem) 2010-10-12

    Standard reference content-type is used to define the user's browser how to display or related equipment, the data will be loaded, or how the data will be loaded, the value of this property can be viewed MIME type. MIME (Multipurpose Internet Mail Ex

  • Linux environment, inter-process communication: shared memory 2010-12-10

    Description: Shared memory can be said to be the most useful means of communication between processes, but also the fastest form of IPC. Two different processes A, B shared memory means that the same piece of physical memory is mapped to the process

  • 39 hot spots of mobile Internet innovation 2011-07-17

    We can not predict who is the final winner, who is the next killer application, we can not guarantee that these are presented is the best application. However, these cut through the sky, "lightning", indeed indicates that the mobile Internet the

  • Oracle training materials 2011-01-27

    Oracle training some time ago to be a company, has been learning oracle, but they did not complete their order, the knowledge of Oracle to do a finishing: Oracle 1, system organization 1, memory system sga system program area Shared Pool: execution p

  • Search Engine Optimization Design Guide 2009-11-09

    Nearly 10% of people do not think the seo (search engine optimization) is the designer should shoulder responsibility. I am even more surprising is that even 24% do not know what is seo. If you do not know what is seo help seo, or do not understand w

  • showModalDialog reproduced 2009-08-13

    showModalDialog and showModelessDialog use of experiences 1, showModalDialog and showModelessDialog What is the difference? showModalDialog: is opened it will always maintain the input focus. Unless the dialog box is closed, otherwise the user can no