Mast Links

Whiteboard

President’s Message

The Help Line

Regional

 National

Volume 21, Issue 2

STC: Designing the future of technical communication

Fall 2004 Edition

Go to the home page

The Help Line logo

Edit Content in a Web Page

-- Microsoft Insider Newsletter

• To increase the font size by 1 point, click CTRL+].

• To decrease the font size by 1 point, click CTRL+[ .

Do a quick test of a _JavaScript command in your browser's address bar

-- Elemenk K Tips Newsletter

When you're in a rush, sometimes every second makes a difference. Creating a new Web page and testing it in different browsers--just to make sure you have the right syntax--can get wearisome when you're under a lot of pressure. However, most modern Web browsers allow you to test a limited amount of
_JavaScript right in the address bar where you normally type a URL. Just type the word "_JavaScript" followed by a colon, and experiment to your heart's content. You can even use semicolons to write multiple lines of code. For example, the following typed in the address bar gives you a dialog box that says 3:

_JavaScript:var x = 3;alert(x)

You can also write to the screen, using window.status. (Even though that property normally writes to the status bar, it writes to the screen when you execute code from the address bar.) For instance, the following code in the address bar writes a bold number 4 on the screen:

_JavaScript:var x=4;window.status = "<b>" + x + "</b>"

One last thing to keep in mind is that Gecko-based browsers (e.g., Netscape and Mozilla) and Opera leave your code in the address bar as is, whereas IE converts your spaces to "%20"--so it may be a little harder for you to see what you've typed.

Determining whether the FrontPage Server Extensions are installed (FrontPage 2000/2002/2003)

--Elemenk K Tips Newsletter

You can easily determine whether a given site has the FrontPage Server Extensions installed. Just open the site for editing and choose Web Settings (or Site Settings) from the Tools menu. The resulting Web Settings/Site Settings dialog box indicates the version of the server extensions installed, if any, as well as the server type being used.

If you don't want to launch FrontPage, try this technique: Launch Internet Explorer and load the site's _vti_inf.html file. This file should be in the site's root directory, so the complete URL would be http://domain/_vti_inf.html, where domain is the domain or server name. If the FrontPage Configuration Information page appears, the server extensions have probably been installed. If the page doesn't appear (and you get a 404 error), they haven't been installed.


Do you have a favorite tip, trick or helpful suggestion you can share with your fellow members?

Share Your knowledge!

Send it to me at newsletter@neostc.org and I will put it in the next issue of The Help Line.