KitCAD225 with a very basic 3D option allows users to load single KPD files that each contain KitCAD1 items onto a single page for display. Each KPD file can be viewed in 3D lines within limits.
The JSON version of this example is found at KitCAD225_kgc_exploit_array_json
See the KitCAD22x_KGraphicControl.htm examples page for details and links to this and other live working demostrations.
NOTE: Links above are disabled.
The example above is created using the following 3.2 Hypertext markup language:
The above can be 3.2 Hypertext markup language Elements which are described as follows:
A grid of [TABLE] Element is defined which contains a [TabRETURN] Element to describe vertical returns, and of each contains characters of horizontal text defined by [TabDETERMINER] to describe white-space/s
that encloses a [DIV] Element named 'KGraphicControl0'.
Within the [DIV] Element named 'KGraphicControl0' in the example above contains [SCRIPT] Element Nodes that write values onto the [DIV] Element at the [COMMENT] markup.
The example uses the default KGraphicControl.js to write load scripts required to operate 2D views before the whitespace infront of [COMMENT] or other markup above, followed by an addition of KGraphicControl_3d_cpp.js which adds 3D line renderings to and kgc_exploit.js scripts functions within load to runtime phrase. After the whitespace [COMMENT] markup is the runtime example function caller for the file named kgc_exploit.js which in this case is the runtime required to produce the above result rendering. An extra script for 3D is written but can only be accessed by calls after the runtime phrase has finished.
kgc_exploit_link is the function where the default values for 3.2 Hypertext markup language are defined, after which the script writes the values onto the [DIV] Element.
function i3foie(e) is simply a VOID function which is called by a user clicking on the 3.2 Hypertext markup [ANCHOR] Element that was written onto the [DIV] Element. The value of e is '0' while the VOID aka ball is returned to the webbrowser at end of i3foie function.
NOTE: Advanced users and web pages may create further nesting of [TABLE] and [DIV] style of Elements is used to display the text of '3D Ads by KitCAD', and is not included in the Hypertext markup language used as the description above.
NOTE: kgc_exploit.js supports Netscape Communicator browsers by 3rd party script/s. See jsdhtml32 subdirectory for more information.
NOTE: This page when viewed with IE 8 or better - will be rendered using IE 7 stardards compatability.
JSON version, see JSON Array Script example
To create ARRAY Script see the Make Array Script example
To change ARRAY run-time result see the Array Script play-thing
This page was written for KitchenPages.com and offline uses. (C)Copyright 2006-2007. All rights reserved.
Updated 2010 for IE8 compatability setting to IE7 Standards.