M MAYSCRIPT (HTML Tag Attribute) MAYSCRIPT (HTML (Affordable web design)

M MAYSCRIPT (HTML Tag Attribute) MAYSCRIPT (HTML Tag Attribute) An attribute on the tag to allow Java to access the JavaScript object space. This is an HTML tag attribute that can significantly affect the success or failure to run applets and plugins properly. The MAYSCRIPT attribute must be present in the tag if you have applets that expect to communicate with JavaScript. This is a way of allowing applets to script under the behest of the web page author who may not be the person who programmed the applet. This way, the author has to know and expect the applet to connect to JavaScript before the applet is able to do so. Without this attribute, an applet is not able to access the JSObject class and communicate with the JavaScript environment. The MAYSCRIPT HTML tag attribute is not reflected into the JavaScript environment. See also: JavaScript embedded in Java, JSObject object Measurement units (Definition) Style position and size properties use measurement units to locate objects on the screen. Measurement units specify the units of measure of a quantity. These are typically used for length measurement but may also be used for time measurement in aural style sheet properties. The units include the following: 1425 Unit Description # A hash precedes hex color triplet values. % A percentage of the containing element’s value. cm Absolute measure of a centimeter. deg A value used for angular positioning of sound sources. em A floating point value indicating a fractional portion of the length of an em-dash in the current font. ex A floating point value used to multiply the height of a small x in the current font. Hz A frequency value for aural style sheets. in Absolute measure of an inch. kHz A frequency value for aural style sheets. mm Absolute measure of a millimeter. ms A value in milli-seconds (used for aural style durations). pc Absolute measure of a pica. pi Absolute measure of a pica (possibly a misprint in some documentation). pt Absolute measure using a font point size. px An integer value measured in pixels on the screen. s A value in seconds (used for aural style durations). Measurement units referring to a spatial distance on the page are sometimes called Length units.

Leave a Reply