FrontPage 98: The Complete Reference Martin S. Matthews Erik B. Poulsen Osborne McGraw-Hill Berkeley New York St. Louis San Francisco Auckland Bogota Hamburg London Madrid Mexico City Milan Montreal New Delhi Panama City Paris Säo Paulo Singapore Sydney Tokyo Toronto
Contents Acknowledgments Introduction xvii xix 1 Designing and Creating Quality Web Applications... 1 The Internet and the World Wide Web 2 LANs and an Intranet 2 What Is a Web Page? 3 The Birth of the Internet 7 The World Wide Web 8 Designing for the Web 13 Monitor Resolution 13 Data Throughput 16 Web Browsers 17 Content 23 Community 24 Working with Graphics 24 GIF 25 JPEG 26 GIF or JPEG? 26 Multimedia Files 26
2 Exploring FrontPage 29 Creating a Web 31 FrontPage Modules 33 FrontPage Explorer 34 FrontPage Editor 39 Tasks List 61 Personal Web Server 62 FrontPage Server Extensions 63 3 Using Wizards and Themes 65 Web Wizards 66 Using the Corporate Presence Wizard 68 Working with the Discussion Web Wizard 84 Using the Import Web Wizard 87 Themes 89 Assigning Themes to FrontPage Webs 90 Assigning Themes to Web Pages 93 Shared Borders 95 Assigning Shared Borders to a FrontPage Web 96 Assigning Shared Borders to a Web Page 96 Editing the Content of Shared Borders 97 Editing Navigation Bars 98 4 Using Templates 103 Web Templates 104 Applying the Empty Web Template 104 Creating a Personal Web 106 Using the Project Web Template 109 Applying the Customer Support Web Template 113 Page Templates 115 Confirmation Form Template 116 Feedback Form Template 117 Search Page Template 118 Table of Contents Template 120 The Narrow, Right-aligned Body Page Template 120 Creating Your Own FrontPage Templates 121 Types of Templates 122 FrontPage Folder Structure 122 The INF (Setup Information) File 124 Building Templates 129 Creating Single-Page Templates 129 Constructing Web Templates 130
( 5 Using Microsoft Image Composer 139 The Image Composer Window 140 Image Composer Toolbar and Menus 141 Image Composer Toolbox and Palettes 141 Working with Image Objects or Sprites 148 Setting Up the Image Composer 148 Inserting Sprites 149 Selecting Sprites 150 Moving, Sizing, Duplicating, and Rotating Sprites... 153 Adding Text Sprites 157 Adding Shapes 162 Working with Other Tools 166 Animating Graphics with GIF Animator 170 6 Creating and Formatting a Web Page from Scratch.. 177 Planning a Web 178 What Are Your Goals? 178 What Is the Content? 179 How Is It Organized? 179 What Will It Look Like? 180 Starting a Web 182 Adding and Formatting Text 188 Entering the Footer 188 Creating the Home Page Title 191 Listing the Second-Level Content Areas 191 Building the Heading for Pages 2 and 3 193 Importing the Page Content 195 Obtaining and Working with Graphics 198 Colors on the Web 198 Adding a Background 199 Adding Horizontal Lines 205 Placing Clip Art 207 Using Scanned Images 208 7 Adding and Managing Hyperlinks and Hotspots... 211 Adding Hyperlinks to Text and Graphics 212 Assigning Hyperlinks to Text 213 Assigning Hyperlinks to a Graphic 230 Managing Hyperlinks 237 8 Using Tables and Frames 241 Designing with Tables 242 Displaying Tabular Data in a Table 243 Using a Table to Enhance a Layout 262
Laying Out with Frames 264 Frame Page Properties 275 9 Working with Forms 279 Using Forms 280 Creating Forms with the Form Page Wizard 280 Building Forms from Scratch 295 Handling Form Input 302 Other Form Formatting 306 10 Using FrontPage Components 311 Incorporating Components in Your Webs 312 Comment Component 313 Hit Counter Component 314 Confirmation Field Component 315 Include and Scheduled Include Page Components... 318 Scheduled Image Component 319 Page Banner Component 321 Substitution Component 322 Timestamp Component 325 Table of Contents Component 326 Search Form Component 327 11 Importing and Integrating Office and Other Files... 331 Importing Microsoft Office 97 and Other Productivity Files 332 Using Text from Microsoft Word and Other Word Processors 333 Drag and Drop 346 Bringing Files from Other Productivity Applications... 348 Using Legacy Files on an Intranet 354 Looking at Imported Files in a Browser 354 Importing Multimedia Files 358 Importing Hyperlinks 358 12 Working with HTML 361 Introducing HTML 362 Using Basic Tags 363 Setting Paragraph Styles 365 Applying Character Styles 368 Displaying Characters 368 Stylesheets 371 Working with Images and Image Maps 376 \
Adding Hyperlinks and Bookmarks 379 Defining Forms 381 Creating Tables 384 Incorporating Frames 384 Using Multimedia 391 Understanding FrontPage-Generated HTML 394 How to Look at FrontPage HTML 394 Looking at a Simple HTML Example 397 Looking at Moms Online HTML 398 Looking at the Corporate Presence HTML 401 Adding Capability to a FrontPage Web with HTML 405 How to Add HTML to FrontPage 405 Inserting HTML to Display a Floating Frame 406 Inserting HTML to Modify a Table 409 HTML Authoring Resources 410 13 Web Scripting Languages 413 JavaScript 415 Form Validation with JavaScript 415 The JavaScript Form Validation Script 420 VBScript 425 The FrontPage Script Wizard 429 The Microsoft Script Debugger 430 14 Active Server Pages 433 Active Server Pages Overview 434 Virtual Directories 435 ASP Objects 442 Application and Session Objects 443 Request Object 449 Response Object 460 Server Object 470 ASP Components 474 The Advertisement Rotator Component 475 The Browser Capabilities Component 482 The Database Access Component 487 The Content Linking Component 488 The TextStream Component 490 The Server-Side Include Statement 492 15 Working with Databases 493 Understanding Databases on the Web 494 Microsoft Access 497
Microsoft SQL Server 497 Structured Query Language Statements 498 Open Database Connectivity (ODBC) 499 How the Web Server Handles a Request 499 The FrontPage Database Region Wizard 500 Defining a System Data Source Name 501 Creating a Web Page from a Database 504 Using the SQL Where Statement 508 Formatting a Database Page 510 The ASP Database Access Component 515 The Connection Object 516 The Command Object 518 The Recordset Object 519 Using ASP to Create Web Database Pages 524 Creating a Parameterized Query 527 Writing to a Database 533 16 Activating Your Webs 537 Active Browser Features 538 Adding a Scrolling Marquee 539 Dynamic HTML 540 Java 546 Object-Oriented Programming 546 Finding Java Applets 548 Creating a Hover Button 550 Installing the Java Development Kit 552 Working with Java 557 Compiling Java Applets 564 ActiveX 568 ActiveX and FrontPage 570 17 Security on the Web 577 Areas Where Security Is Needed 578 Controlling Access 581 Securing Transmission 593 Authenticating People, Servers, and Data 596 Bibliography 599 18 Setting Up an Intranet Web Site 601 What Is an Intranet? 602 Why Have an Intranet? 604 Communication 604
Productivity 605 Cost Reduction 606 Employee Involvement 606 What Do You Put on an Intranet? 606 Conducting a Needs Analysis 606 Types of Intranets 607 Decentralized Intranets 607 Centralized Intranets 608 Getting Buy-in from Users 608 Building Your Infrastructure 609 Setting Up and Configuring Your Environment 609 Installing TCP/IP on Your Network 609 Configuring TCP/IP 612 Using Your FrontPage Intranet 614 Security and Firewalls 617 Building Your Intranet 618 Overview 618 Creating an Intranet from Scratch 619 Adding Content to Your Intranet 630 Managing Content on Your Intranet 632 Web Page Version Control with Visual SourceSafe 638 Intranet Case Study 640 Locating Resources 640 Planning and Design 641 Implementation 642 Testing 642 Training 643 Technologies and Tools Used 643 Conclusion 643 Publishing and Promoting Webs on the Internet... 645 Publishing Your Web Pages 646 FrontPage Server Extensions 647 Posting to a Host with FrontPage Server Extensions... 650 Posting to a Host Without FrontPage Server Extensions 654 Promoting Your Web Site 656 Case Study: Promoting The BookBay 659 Installing FrontPage 98 665 What You Need to Install FrontPage 98 667 Installing a Personal Web Server 668
Installing FrontPage 98 672 Performing a Typical Installation 673 Performing a Custom Installation 675 Installing the Microsoft Image Composer 678 Installing Internet Explorer 3.02 678 Checking Your Network Setup 681 В Using the Companion CD-ROM 685 Book Material 686 Software Programs 686 Bookmark Magician 687 EasyHelp/Web 688 Flash 2Demo 690 GoldWave v3.24 690 HTMLib 691 HVS ColorGIF 2.0 Demo 691 HVS JPEG 2.0 Demo 693 Jamba 693 Java Perk 696 JDesigner Pro 697 Multiquence vl.02 697 Paint Shop Pro 698 Selena Sol's Scripts 698 SitePadPro 701 Thumbs+Plus 3.0 702 WebFerret 703 WebForms 704 WebMania! 706 Web Weaver 97 707 Web Works Publisher 708 WinZip 709 Index 711