How to Create a Generic Web Page Room

With a Generic Web Page Room, you can create a room that displays HTML code and brings the full power of the web into your MOO space. This "room" will display in the LINKS: portion of the Xpress side along with the entrances and exits to other rooms. If you would rather have this webpage display as an object in the room in the YOU SEE: part of the Xpress window, then follow the instructions for How to Create a Web Note. The advantage of creating the webpage as a room is that the entrance and exit serve as open and back buttons.

Since few verbs are programmed into a Generic Web Page Room, the focus for this help text will be on creating a web page through the MOO.

@examine Obvious Verbs

v*iew here
dis*play here
connect here to <anything>

Instructions

1) When you are ready to create a Web Page, click the Object button. In the Xpress Object Editor window that opens, then click CREATE OBJECT. You will see a window asking you to name your page and where you want to link it to.

***NOTE: The first time you create a web page room you will not be able to link it to any other room in the MOO. Instead, the MOO creates the room in a place called Limbo. To connect you room, contact a wizard and they will hook you up to the MOO. While you wait to be connected, you can still create the room and other rooms in this limbo land.

2) Once you have named and connected your room, the object is created. Next click EDIT OBJECT to include the HTML code in your room.

Write or copy in HTML code into the DESCRIPTION for the room.


Handy Tricks and reminders for HTML coding your room:

a) It is easier to write your HTML code in another web editor. When you have the web page complete, simply look at the code (view source), copy the code, and then paste it into the Description for the room. Dreamweaver is an editor that works very well, but you could use note pad or even MWWord.

b) Remember, that all graphics that are to be displayed in the web page (whether backgrounds, pictures, or icons) need to reside on a web server somewhere outside of the MOO. The <src img > tag needs to go to a complete web address where the graphic lives.

c) If you wish your web page to display in the viewing, Xpress portion of the MOO without the need for scrolling (that is, you can see the whole page in the MOO, not part of it), then you will need to make sure that you code the page with relative percentages and not absolute values. For instance, if you include a table, it should not define a fixed size in pixels for the table; instead, you should define the percentage of the page the table will use.

d) Whenever you need to edit your web page, click the EDIT button in the MOO, type in the object number of the room or find it in your list of objects, and then copy out the HTML code in the Description for the room. Go to your web editor and paste in the code. Make changes, then copy and paste out the new revised code back into the MOO.

Object Help Index