Close Child Window Snippets

How to close child window when parent window is closed using JavaScript in application

18 September, 2012   

Attempts to close the current window. You can use it for popups

17 April, 2013   

In Firefox, Safari and Chrome, this script only works if the window was originally opened using Javascript ( function)

01 August, 2011   

Here is an example XML hit count

Sometimes it's desirable to change a style of the first and/or last elements in a container. You can do this by manually applying classes to your HTML elements: ("last-child" still not supported in IE8).

25 February, 2013   

AppleScript code example for clicking menu items

20 May, 2013   

Clicking menu items using AppleScript

17 July, 2013   

Using AppleScript Clicking menu items

15 December, 2011   

An Example Java Code for Composition with public objects

Delphi code example for Hide minimized MDI child windows

18 September, 2014   

Copying elements between frames

11 February, 2011   

Center DIV with Dynamic Height

Place the following JavaScript code into your HTML where you would like the button to appear:

22 August, 2011   

Here shown how to center an element on screen

02 August, 2015   

Useful and simple css navigation menu bar.

26 January, 2013   

jQuery code example to open link in a new window

09 November, 2013   

Use this snippet to determine the size of an open window. Can be used in many different situations, e.g., for setting the size of a div.

03 April, 2011   

If you're looking for a JavaScript code to enable you to create a first visit pop up window for your web site, you've come to the right place. Pop up windows can provide a great way to gain new subscribers to your publication and even increase your sales. However, they can also be very irritating to your visitors. For this reason, you may want...

Most today's web browsers like Firefox (Ctrl+D), Opera (Ctrl+T) and IE (Ctrl+D) provide a keyboard shortcuts to enable users bookmark their favorite pages. But if you want to provide your visitors with a "Bookmark this page" link they can click you may use the code below: It works in IE, FireFox and Opera. Clicking on the link prompts...

10 May, 2012   

CSS code example for Zebra Striping a Table