As a result of the rapid growth of online number, the network is more and more crowded, accelerate to yield the browsing rate of the webpage a bit, we must be little as far as possible on the webpage place big picture and complex animation, the issuance of Flash brought good news for us, the animation that makes with it compares thin and small, but aught has sex of its two sides, flash animation needs plug-in unit to support ability to broadcast when browse, but not all person installed its plug-in unit, a good website is solve this problem, give out commonly two kinds of version, flash edition and Html edition, but need him caller chooses to entered that one version to increase a trouble to the person that pay a visit apparently, popularize not all person to know what is Flash as what get online in addition, what is Html, how does that this part netizen do? The Check Plugin movement of Behaviors can let your webpage measure the plug-in unit on user machine in the self che ck before loading, make a choice automatically present that kind of version, see trouble back at home. So Where is movement of to load Check Plugin?
1, be in in the blank of the webpage (emphasize again here: The blank that must be a webpage is in and not be layer of form, graph the blank place that wait) nod with the mouse, press face plate of F8 v Behaviors next, close on face plate " + " icon, check Plugin action chooses in the menu that pulls, shoot the dialog box of Check Plugin movement that gives following plan institute to show instantly:
Graph 1 Check Plugin touchs oppose word draw a frame round
2, I explain first above dialog box of movement of this Check Plugin:
Plugin: The choice should detect that kind of plug-in unit, check Plugin movement not only it is to detect Flash plug-in unit, still can detect other plug-in unit. Plugin shares two, the first Select chooses the option of a few kinds of plug-in unit that it offers, have Flash commonl y usedly commonly, shockwave, quick Time. And the 2nd is the plug-in unit that direct input did not list the first times, use rarely commonly.
If Found, go To URL: If detect when the page that discovered target plug-in unit wants to open.
Otherwise, go To URL: Did not discover when detect target plug-in unit wants the page that open.
Always Go To First URL If Detection Is Not Possible: This option does not want to choose commonly, it yes if means cannot undertake plug-in unit examination enters the first page.
3, assume we already prepared two pages, one is the page that supports your plug-in unit, file name: FlasHPAge.htm, another is the page that does not support plug-in unit, file name: Htmlpage. So the Select choice in dialog box of Check Plugin movement chooses in casing " Flash " ; In If Found, the input in casing of input of Go To URL " FlasHPAge.htm " , if opposite way wants to include opposite method; In Otherwise, the input in casing of input of Go To URL " Htmlpage.htm " , if have phase suit one,diameter should include opposite method. Return Behaviors face plate by OK.
4, the movement is clicked in the window of Behaviors face plate that triangle intermediate, in the list that draws the choice sparks incident is: OnLoad, with respect to success. If you are in incident list,did not find OnLoad incident, so explain you are in the blank place that of midpoint of the first pace is not a webpage. If you feel affirmatory to the blank place of the webpage has difficulty, also can consult so " choose a page with Behaviors opportunely " the alternative that one article introduces comes movement of to load Check Plugin. So far, this your webpage was had detect automatically the function that client plug-in unit chooses to open different version webpage as a result according to detecting. A bit ask you to notice: Check Plugin movement should that page that to load contacts in the super link of other webpage.
Behavior of a Check Plugin is offerred only detect a plug-in unit, if ask the webpage examines Flash plug-in unit and Shockwave plug-in unit at the same time, enter different page respectively, how to do? Very simple, need to sum action of a Check Plugin again only, also with respect to the operation above come again, just turn into parameter you want detected plug-in unit to go, this is Dreamweaver support. Want to notice additionally: The file name of the webpage did not make a mistake, for insurance a bit, choose with the file browser on the side of that! Of course you still can join more plug-in unit examinations, but one when I should remind is, automatic examination became much the browsing rate that can affect your webpage.
Thursday, October 22, 2009
Detect with Behaviors opportunely plug-in unit
Subscribe to:
Post Comments (Atom)

No comments:
Post a Comment