dreamweaver| Tutorial Browser pattern is now two points world, one point is ie, another is Netscape, in the domestic IE has an absolute share, in this case we designed the Web page as long as compatible with it on the line, but Netscape in foreign countries or a lot of people use, After all, she is the elder of the browser. We can use the DW provided check Browser (check browser) behavior to make our website more affinity, according to the different client browser to choose a different page, please let me slowly.
One, know the Check Browser edit window
At first look at this edit window is also a bit afraid, there are many options, to understand the mechanism of this action do not have to be afraid, this action is a set of complex conditional statement completed, based on the results of the decision to make a choice, in three of the selection of Web pages. This behavior can be clearly judged by two browsers: Netscape and IE, not both of these browsers do other Browser processing. There are three options for each browser, go to URL (open a specified file), go to Alt url (open another specified page), Stay on the This page (stay on it). The URL and the alt URL are the pages that define the go to URL and the go to Alt URL.
Two. Common Application of check Browser (checking browser)
When you enable check browser, you need to prepare at least two pages, one that is normally browsed under IE, and one that is normally viewed under Netscape. If you want to make the most of this behavior, you have to prepare three pages to enable the third page when the Web page detects that the client browser type is not IE and Netscape. How to fill in these options, there is no need to speak too detailed, because he has a lot of flexibility, but it is necessary to put this behavior of the workflow in detail, according to the above option I said, first page to determine whether the browser is Netscape4.0 or later, if yes then open go to The page to which the URL points, if it is not (otherwise) Netscape4.0 or later but its previous version, also opens the page specified by the Go URL, and if the Web page determines that the browser is Ie4.0 or later, it stays on the current page if the version is more than the Ie4.0 The or later is also low, also stays on the current page, and if the Web page determines that the browser is another (other browsers), open the page specified by the go to Alt URL.
Finally, your check browser behavior should be added to the stay on the This page page.