MICROBIANS CHROMELESS WINDOWS 3.5


 HOW TO USE IT  
 

In order to generate a Chromeless window, the first step is to add in the Head of your HTML document, the following line of script:


<script src="js/chromeless_35.js"></script>


This sentence must be added between the <HEAD> </HEAD>tags of the html page that will launch the Chromeless Window. This feature assures that all the necessary code will be preloaded and ready for use when called upon.

After that line is added in the Head section, the "openIT" function can be employed. Please see the example included in the ZIP file.

An "openIT" function is a simplified JavaScript programming service that will launch the Chromeless Window.

As in any coding, an “openIT” function looks difficult until you carefully read the functions and visualize how changes to each function result in a corresponding change to a feature of Chromeless Windows.

Within the openIT function are definable fields that give Chromeless Window its flexibility, beauty and robustness. Those functions are:



BUTTONS

cU   | gif for close on normal state.
cO   | gif for close on mouseover.
cL   | gif for loading indicator.
mU   | gif for minimize to taskbar on normal state.
mO   | gif for minimize to taskbar on mouseover.
xU   | gif for maximize normal state.
xO   | gif for maximize on mouseover.
rU   | gif for minimize on normal state.
rO   | gif for minimize on mouseover.


TITLE

tH   | title for the title bar in html format.
tW   | title for the task bar of Windows.


COLORS

wB   | Border color.
wBs  | Border color on window drag.
wBG  | Background of the title bar.
WBGs | Background of the title bar on window drag.


COMPATIBILITY

wNS  | Html parameters for Netscape.
fSO  | Html parameters for main content frame.


EXTRA PARAMETERS

brd  | Extra border size.
max  | Maxzimize option (true|false).
min  | Minimize to taskbar option (true|false).
res  | Resizable window (true|false).
tsz  | Height of title bar.


OPENIT FUNCTION

This information is only for 'openIT' included on the 'test_html.html' example that make easy to use the main 'chromeless' function. For other uses or fx is better if you make your own 'openIT' as your needs.

openIT(u,W,H,X,Y,n,b,x,m,r)

u    | html page we want to open in the window.
W    | Width of the window content size.
H    | Height of the window content size.
X    | Horizontal position (null=center).
Y    | Vertical position (null=center).
n    | Window name (handler).
b    | Extra border size
x    | Maximize (true|false).
m    | Minimize to taskbar (true|false).
r    | Resize (true|false).


OPENIT EXAMPLE

<a href="#" onclick="mywindow=openIT('mypage.html',200,200,null,null,'mywindowname')"> OPEN CHROMELESS</a>

This would open a Chromeless Window with mypage.html as the subject and 200x200 pixels of content size, in the center of the screen. Please make sure that the page to be opened is in the same folder as the calling page; if (for some reason it is not) provide a complete URL to the page.