URL
From ActiveWiki
The URL command displays a web page in the integrated web browser. For example, you could have an object display the Activeworlds Inc. web page when clicked on by using the following action:
activate url http://www.activeworlds.com
You can also use URLs of the form ftp:// to allow people to download files, as well as mailto: to send email.
Also, not that if the Allow "create url" world option is disabled in the current world, you cannot combine the URL command with a create trigger on objects.
Contents |
[edit] Usage
url address [target=frame]
[edit] Description
[edit] Address
The address is the URL of the website you wish to show.
[edit] Target
The optional target argument allows you to specify the name of a target frame in the current web page to send the URL to. If the specified frame does not exist in the current web page, this will cause an external web window to be spawned to contain the new URL.
This argument only works in conjunction with the integrated web browser. It will not work with external web browsers such as Netscape, whose inter-process communication protocol does not support sending URLs to specific target frames.
[edit] AW_3D
You can specify the special target keyword aw_3d with the URL command which causes the triggered web page to replace the 3D window instead of being sent to a separate web window. For example:
activate url www.activeworlds.com target=aw_3d
Once the 3D window has been replaced with a web page, it can be restored by clicking on the large X button in the upper right corner of the new web page.
Also: The page can be closed by linking to "aworld:?close" in the webpage.
[edit] Local
Web page URLs can also read content from a local directory. Prefacing a URL with local: will cause the browser to look for content in the "/default/web" directory. For example:
activate url local:mypage.html
This will cause the browser to look for C:\Active Worlds\default\web\mypage.html. This is really only useful for universe admins who want to pre-load web content for users. This will not work if the URL attempts to access a directory outside of the Activeworlds /default directory. URL's attempting to access other paths will be ignored by the browser.
|
|
|
|
Triggers: Create • Bump • Activate • Adone • Sdone • Enter Zone • Exit Zone
Commands: Animate • Astart • Astop • Camera • Color • Corona • Envi • Examine • Frame • Group • Light • Link • Lock • Matfx • Media • Midi • Move |
|
