Ana səhifə

Microsoft FrontPage to Expression Web


Yüklə 1.85 Mb.
səhifə6/7
tarix18.07.2016
ölçüsü1.85 Mb.
1   2   3   4   5   6   7

Dynamic Effects


The Dynamic Effects component type included Marquee and Interactive Button.

Marquee


The Marquee component simply added the tag by using a dialog box that let you insert text and define attributes. The MARQUEE element was introduced by Microsoft as an extension to the HTML 3.2 specification, and is not included in any of the W3C’s HTML or XHTML recommendations (meaning that it is not standards compliant). You can use still use the tag, but your page won’t be valid, and the text may not scroll as expected in browsers other than Internet Explorer.

There are also ways to create a similar scrolling effect by using a combination of HTML and JavaScript. Use your favorite search engine and use a key phrase such as “scrolling text.” You will find that there are many free JavaScript sites that not only give you the script, but also give you instructions on how to implement the script in your site.


Interactive Button


Expression Web includes Interactive Button functionality. (On the Insert menu, click Interactive Button.) As with FrontPage, the Expression Web implementation of interactive buttons relies on images and JavaScript to implement the rollover effect. You can also create the same effect by using CSS, eliminating the need for additional images and script. For more information on how to use CSS to create your own interactive “buttons,” see Appendix B: Using CSS to Style Text Links, and Appendix C: Formatting a bulleted list of links with CSS.

Web Search


The Web Search component type included Current Web and Full-Text Search.

Current Web


The Current Web Web search component allowed you to create a search form that then allowed users to search your entire site using keywords. In addition to relying on FPSEs, this component also required special implementation on the part of your server administrator. Many search engines now offer the ability to add “search this site” functionality to your current Web site. You can use your favorite search engine and use a key phrase such as “add site search” or “build your own search engine.”

To add Live.com site search functionality to your Web site, see Add Windows Live Search to your Web site. To add Google site search functionality to your Web site, see Google Custom Search Engine.


Full-Text Search


Full-Text Search Web component required Windows® SharePoint Services. For more information on Microsoft Windows SharePoint Services, see Windows SharePoint Services or Microsoft Office SharePoint Server 2007.

Spreadsheets and Charts


The Spreadsheets and charts option embedded a Microsoft Office component into a Web site to display Microsoft Excel® spreadsheets or Office charts. Expression Web is not a part of the Office family of products. If you want to use an Office product to build Office-based information solutions, see if SharePoint Designer and either SharePoint Server or Windows SharePoint Services would better suit your needs.

Hit Counter


The FrontPage Hit Counter Web component inserted a component that tallied and displayed the number of times the page was visited. If you have a FrontPage Hit Counter component in your site, you can still modify it by using Expression Web and double-clicking on the component. However, you cannot add a new hit counter component to a page.

It is worth noting that all standard hit counters, not just the FrontPage hit counters, are notoriously unreliable when it comes to getting accurate information about the number of visits to your site. The solutions below are more likely to provide you with more accurate information about traffic to your Web site.

Many hosting providers will provide some sort of server statistics tracking service. Contact your hosting provider to see if they have something that will allow you to keep track of page views and Web site use over time.

If your hosting provider doesn’t have anything that allows you to track statistics, there are many other third-party providers that allow you to insert a small amount of code on your pages that then allow you to track stats through their service. You can use your favorite search engine and use a key phrase such as “hit counter” or “site statistics.” Some examples include:



  • Statcounter

  • Shinystat

  • Tinycounter

Photo Gallery


The FrontPage Photo Gallery component provided an easy way to insert a photo gallery with clickable thumbnails into a page. Existing photo galleries can be modified in Expression Web by double-clicking on the component.

The Photo Gallery Web component, in addition to being dependent on FrontPage Server Extensions, also generated invalid markup, and it was difficult to customize the display beyond a few built-in layout options.

Instead of using the Photo Gallery Web component, you can create your own photo gallery by optimizing the photographs for the Web yourself and creating a custom layout in Expression Web. You can also download a trial version of the soon-to-be-released Expression Media and create your own photo gallery, or you can select from the other popular photo gallery services and solutions, including but not limited to:


  • Flickr: A free online photo gallery service. You can store your photos online and add information about each photo, which you can then display on your site.

  • Gallery: A free, open–source application that allows you to manage digital images and publish them to the Web.

You can also use your favorite search engine and use a key phrase such as “online photo album” or “Web site photo gallery.”

Included Content


The Included Content Web component enabled the inclusion of specific content based on certain conditions. These included:

  • Substitution Inserted a component that showed the author, description, last changed date, or URL.

  • Page Inserted a component that displayed the contents of one page on another page.

  • Page Based on Schedule Inserted a component that displayed the contents of another page on the active page at specified times.

  • Picture Based on Schedule Inserted a component that displayed a picture on the active page at specified times.

  • Page Banner Inserted a page banner that was displayed as a graphical title based on the page theme or as text.

Replacements for the Substitution, Page Based on Schedule, and Picture Based on Schedule components require scripting or server-side programming.

Page Included Content


The Page Included Content Web component is a design-time component that made it easy to include the same content on multiple pages. As a design-time component, the component does not rely on FrontPage Server Extensions.

If you have existing Include Pages, double-click the component to access the Include Page Properties dialog box. Since the FrontPage code is not dependent on FrontPage Server Extensions, you can also use the same code to create new include pages in Expression Web.

You can easily create an Include Page code snippet for easy reuse later on.

To create the code snippet:


  1. On the Tools menu, click Page Editor Options.

  2. In the Page Editor Options dialog box, on the Code Snippets tab, click Add.

  3. In the Add Code Snippet dialog box, in the Keyword box, type a unique keyword for the code snippet (Include Page, for example), which you can subsequently use to select the code snippet in the list of code snippets.

  4. In the Description box, type a description to identify the code snippet. In the Text box, type or copy and paste the following code:


To insert the Include Page code snippet:


  1. In Code view, place the insertion point where you want the included page to appear, and then press CTRL+ENTER.

  2. Select the Include Page keyword from the list of code snippet keywords, and then press ENTER.

  3. Double-click the Include Page placeholder. In the Include Page Properties dialog box, click Browse, and then select the page that you want to include in the current page. Click OK.

Once you’ve inserted the Include Page code snippet into your page, you can edit it by double-clicking the component in Design view, locating the page that you want to include in the Include Page Properties dialog box, and then clicking OK.

Page Banner Included Content


The Page Banner is a component that displays the page title, either as text or within a theme-based banner graphic. In FrontPage, the title can be changed in Navigation view or by double-clicking on the page banner. In Expression Web, existing page banners are editable. However, new pages will not display the title because the pages must be added to Navigation view before displaying the page banner text.

Instead of using the Page Banner component, simply type your page title directly into the page. For semantic markup, you will want to use the H1 element. You can then apply a style to the H1 element by using CSS. By defining a background image by using CSS, you can create a title that resembles a FrontPage page banner, but one that is more standards-compliant and completely customized!

In the following steps, you are going to create a new single page Web site, then create a new HTML page, copy and paste an image into the Web site, and then create a new CSS page.

Note: You will be using this practice Web site throughout the rest of the examples in this paper.

To create the HTML page:


  1. Create a new one page Web site by clicking File and then clicking New. In the New dialog box, click the Web Site tab, then click General, and then click One Page Web Site.

  2. Copy the following code by selecting it and then pressing CTRL+C.

1   2   3   4   5   6   7


Verilənlər bazası müəlliflik hüququ ilə müdafiə olunur ©atelim.com 2016
rəhbərliyinə müraciət