Basic Main Functions

From WinLIKE Wiki

Jump to: navigation, search

WinLIKE.version()

Retrieves the used WinLIKE version.

Look at hlp-info.html (winlike/winedit/).


WinLIKE.ie

Is true if WinLIKE is loaded into an Internet Explorer and false if a Mozilla based browser is used. Is null when the page is loaded into a incompatible browser.

See files of 50_develop_scripts.html (samples/script/).


WinLIKE.browsersize.Height/Width()

Retrieves the size of the actual browser canvas.

See files of 13_sample_relative.html (samples/relative/).


WinLIKE.errorpage

Specify the errorpage of WinLIKE in the case an unsupported browser is used. This is not optional but can be set to null.

See files of 12_sample_skins.html (samples/skins/).


WinLIKEfilepath/skinpath

Specify the paths of the WinLIKE folders. Don't forget to change the path in the skin definiton.

See 11_sample_properties.html.


WinLIKE.definewindows

Defines the function for the windows definitions.

See files of 12_sample_skins.html (samples/skins/).


WinLIKE.init()

Starts WinLIKE from the Body-onLoad-Function.

See files of 12_sample_skins.html (samples/skins/).


WinLIKE.onload

Defines the function which is called when WinLIKE loading process is completed.

See files of 28_sample_cookies.html (samples/cookies/).


WinLIKE.resizewindows()

Body-onResize-Function. Redraws windows with actual positions and sizes.

See files of 13_sample_relative.html (samples/relative/).


WinLIKE.window(window-name, x-pos, y-pos, width, height, z-index)

Creates a window. The last five values are only start values.

See files of 12_sample_skins.html (samples/skins/).


WinLIKE.addwindow(window-object)

Adds a window to WinLIKE. Returns the actual window number. This number changes after closing and reopening a window.

See files of 12_sample_skins.html (samples/skins/).

Personal tools