In order to make web browsing faster, sometimes Flash animation has to be used instead of Gif animation, but not all people have installed its plug-in. To solve this problem, a good website generally provides two versions, Flash version and Html version, but we need to choose which version to enter. With the popularity of the Internet, not all people know what Flash and Html are. How do these Internet users choose? We can let you choose which version of your web page should be included, so you don’t have to worry about it. This is the main content we are going to talk about in this section - Check Plugin.
1. Get to know the Check Plugin editing window.
Press F8 in the DW editing box to bring up the Behaviors panel. Click to select Check Plugin. The following window will appear immediately:
Plugin: The first Select option selects several plug-in options it provides. Commonly used ones include Flash and Shockwave. ,Quick Time. The second item is to directly enter plug-ins not listed in the first item, which is generally rarely used.
If Found,Go To URL: Open the current page if the plug-in is found. Otherwise, Go To URL: Open the current location when no plug-in is found.
Always go to first URL if detection is not possible: This option is generally not selected. It means that if the plug-in detection cannot be performed, go to the first page.
Second, the common application of Check Plugin (check plug-in)
is not very large in its application space. Generally, the event that triggers it is OnLoad, so this section will not introduce other events. I will give a brief introduction to this application:
1. When using this behavior, you need to prepare a total of two pages, one is the page that supports your plug-in, and the other is the page that does not support the plug-in.
2. Use the mouse to click on the blank space at the beginning of the page, otherwise there will be no OnLoad event for you to choose from.
3. After adding the Check Plugin behavior, change the Events to OnLoad.
A Check Plugin behavior only provides detection of one plug-in. What if the web page is required to check the Flash plug-in and Shockwave plug-in at the same time and enter different pages respectively? It's very simple. You just need to add a Check Plugin behavior, which is supported by DW. However, you have to make a version of the page. Of course, you can also add more plug-in checks. One thing I want to remind you is that that will affect you. Web browsing speed.