Miscellaneous

AlertWindow

This command allows a user to view an alert window (confirm box) before viewing your web page.


Example:

AlertWindow "Display your message"


ButtonText

Used in conjunction with the OnButtonGoto command, this statement is used to display text within a button.


Example:

ButtonText "Visit Google"

OnButtonGoto (http://www.google.com)


#End

You can use this system command to stop compiling a web page at a given point within your program.


Example:

WriteText "Display some text"

#End

WriteText "Display some more text"


ExpandImageSize

This statement allows you to set the maximum size of an expanding image within your page.


Example:

ExpandImageSize (400, 266)

ExpmandImage (images/constitution.gif)


ExpandTextSize

This statement allows you to set the maximum size of expanding text within your page. Also see the Expanding text.web example.


Example:

ExpandTextSize (100)

ExpandingText "Welcome"


FileType

Used in conjunction with the ViewFiles command. This command allows you to set the file extension when displaying a list of files stored on your computer or server.


Example:

FileType (*.txt")

ViewFiles (doc)


HighlightColor

Used in conjunction with the HighlightText command to set the highlight text color.


Example

SetTextStyle (font-family:arial ; font-size: 24px)

HighlightColor (gold)

HighlightText "Display some text"


#Include

This command uses the HTML REL attribute to include an external stylesheet within your web page. This command must be placed within the <head> and </head> section of your programs.


Example:

#Include "style.css"


MessageButton

Used in conjunction with the ButtonText command this statement allows you to display a message button within your page.


Example:

ButtonText "Click here to be alerted"

MessageButton "Include your message here."


OpenWindow

Display a new window within your main browser. The window can be activated by clicking on a link setup with the LinkText command.


Example:

LinkText "Click on link to open a new window"

OpenWindow (https://www.google.co.uk/)


PrintButton

This command displays a print button, allowing you to print the contents of your web page. 


Example:

PrintButton "Print this page"


PrintPage

Use this command to display a link allowing you to print the contents of your web page. 


Example:

PrintPage "Click on link to print page"


RefreshButton

Similar to the RefreshLink command, this statement can be used to display a button that forces the browser to reload from the server.


Example:

RefreshButton "Refresh page"


SearchButton

This command allows you to include a Google search button within your page. This command will also display a search input field.


Example:

SearchButton "Search Google"


SetFormStyle

The SetFormStyle command allows you to visually enhance the style of forms within your web pages.


Example:

SetFormStyle (background-color:#f7f7f7 ; margin:auto ;)


SetPosition

The SetPosition command allows you to position text using exact co-ordinates. Used in conjunction with the PositionText command.


Example:

SetPosition (top: 120 ; left: 120)

PositionText "Display text"


ShowFileExtension

Show or hide the file extensions when using the ViewFiles command. Also see the FileType command.


Example:

ShowFileExtension (yes)

ViewFiles (sound)


ViewFiles

Display a list of files stored in a specific directory. All files are displayed as Hypertext links. Also see the FileType command.


Example:

ViewFiles (sound)




Copyright 2017 Iason Software. All right Reserved.