Closing Event Snippets


06 November, 2013   

Example shows how to handle window closing events. This is a very basic event handling when you are working on a UI Application.

26 January, 2011   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

29 July, 2012   

The <!-- --> stuff is the HTML comment. It is a way to add notes into the code which will not display when the HTML is rendered by the browser. In the example above, to signify which opening div tag the closing tag was actually closing.

When a KeyboardEvent fires, you can test which key was pressed because that event contains information you can write logic against.

22 February, 2011   

Simple usage: var xmlLoader:LoadXMLUtil = new LoadXMLUtil("pathtoxml.xml"); xmlLoader.addEventListener(Event.COMPLETE, onLoaderComplete); private function onLoaderComplete(event:Event):void{ trace("Loaded XML: "); trace(xmlLoader.xml); }

14 May, 2014   

Html Code example for hCalendar

Tries to make out of the given string a xhtml-compatible string, that means that the return-string could be wrapped within a xml.

JavaScript Code example to protect Your Web Page Content

10 April, 2012   

Protect your web page content with JavaScript code

04 July, 2011   

Animation with threads by John E. Grayson

30 January, 2013   

JQueryUI Search Auto complete Jump Menu with data from remote URL

29 June, 2011   

There are times when you need to access the stage property before onCreationComplete. Here are two ways to do it.

06 November, 2013   

This Java code example on how to hide a frame when closed

26 November, 2015   

Show the currently active processes.

30 January, 2013   

jQuery code example for animated scroll

11 January, 2012   

An example MAXScript opening and closing Rollout

13 August, 2011   

Although there really isn't any foolproof way to protect your web page content, this JavaScript will discourage the more novice Internet users from copying your content. An alert box will appear displaying your copyright information when the right mouse button is clicked. However, this script will not completely protect your content from more...

22 August, 2012   

This JavaScript code within your web page HTML between your HEAD tags

07 September, 2019   

Normally the tab key moves to the next focusable thing. This inserts a tab character in instead.

Scribble an applet of intermediate complexity, used as an example in the introductory chapter. Click and scribble in the window.