<%@ Page Language="C#" Debug="true"%> Code Samples
Microsoft Office FrontPage 2003      
Developer's Toolkit
Resources | Links | Search
  extend design code  
             
  New Features
 
Microsoft® Windows® SharePoint Services
 
Microsoft® Office SharePoint Portal Server
 
Microsoft Office System
 
.NET Framework
 
 
Real world scenarios that fully expose great new functionality in FrontPage 2003 and Windows SharePoint Services.
 
 
  financial planning finance  
  sales & marketing sales & marketing  
  human resources human resources  
   
  FrontPage Customization Kit > Resources

Code Library

The scripts below can help improve your understanding of using code snippets with FrontPage 2003. You can also use them, "as is", to directly enhance your FrontPage 2003-based Web sites. These scripts are meant to demonstrate useful features, created with javascript and DHTML. These free of charge samples are offered without Microsoft support and are fully documented.

To use these scripts, you should already be familiar with editing the HTML code of your pages using the Split view pane, Code view pane, or Microsoft Script Editor- all of which are features of FrontPage 2003. You should also be familiar with the basics of javascript programming.

Contents:

About the Samples
 

 

News Scroller

The News Scroller display news items, with links to other web pages, within a small area by simulating a scrolling marquee-like display area.

^ Back to top 
 

 

FAQ Auto-Show/Hide

The News Scroller display news items, with links to other web pages, within a small area by simulating a scrolling marquee-like display area.

^ Back to top 
 

 

International Time Zone Clocks

The International Time Zone Clocks displays multiple real-time clocks (based on the local browser's computer clock), each of which can be adjusted to different time zones. For example, regardless of where in the world a page is being displayed, your page can show the current time in Tokyo, Japan.

^ Back to top 
 
 

Graphical Countdown Timer

The Graphical Countdown Timer enhances a countdown with graphics. The countdown could be over a period of several seconds or several weeks. As the countdown progresses toward zero, the colors or graphics of the countdown timer change to reflect the amount of time left in the countdown.

^ Back to top 
 
 

Popup Windows

Popup windows are already easily done in javascript, using the DHTML window object's open method. This sample shows how to display popup windows or popup dialogs for a limited period of time, or how to display a side-help popup window, similar to the way Microsoft Office applications or the msn.com website display side-help windows.

^ Back to top 
 
 

Fly-out Menus

The Fly-out Menu sample shows how to create a wide variety of fly-out menus (menus that appear when you click or hover over an area), to help navigate your web site. These menus feature hover style changes, highlights (to indicate the currently viewed page), horizontal or vertical orientation, graphic borders, child menu indicator graphics, the ability to process script on a click instead of linking to a new page, and smart positioning (which relocates a child menu so that it will try to display in the visible part of a page).

^ Back to top 
 
 

Drop-Down Navigation

This simple sample is a good place to start if you are somewhat new to scripting. This sample demonstrates a commonly found feature on many web sites: a drop-down combo box which, when an item is selected, automatically navigates to the page selected. It's a kind of "poor-man's fly-out menu." This is useful for sites where space for navigational control on a site is limited, or where navigation is not complex enough to warrant a full menu bar with fly-out menus.

^ Back to top 
 

 

Self-scoring Quiz

The Self-scoring Quiz sample shows how to create a wide variety of kinds of quizzes and score them. These quizzes support true/false, multiple choice, and "select all that apply" types of questions.

^ Back to top 
 
 

Frame Browser

One of the major disadvantages of using frames on your Web site is that there is no built-in way to send or save a link to a specific page that is displayed in a frame; instead, either the link to the main frameset page is displayed in the Address Bar (which always displays the same pages when it is first loaded), or a link to a page within a frames page does not automatically load the frames page. This sample overcomes this shortcoming, and makes it possible to send or save a link to a specific page within a frames page.

^ Back to top