Adobe Extending Dreamweaver CS4 Manuel d'utilisateur Page 244

  • Télécharger
  • Ajouter à mon manuel
  • Imprimer
  • Page
    / 387
  • Table des matières
  • MARQUE LIVRES
  • Noté. / 5. Basé sur avis des utilisateurs
Vue de la page 243
238
EXTENDING DREAMWEAVER CS4
Behaviors
Create the HTML files to browse (deprecated)
Create the HTML files to browse, the file to go to if the browser is Internet Explorer, and the file to go to if the browser
is Netscape Navigator.
1 Create a file with the following content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Internet Explorer Only</title>
</head>
<body>
This is the page to go to if you are using Internet Explorer.
</body>
</html>
2 Save the file as iecontent.htm in a site on your computer.
3 Create another file with the following content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Netscape Navigator content</title>
</head>
<body>
This is the page to go to if you are using Netscape Navigator.
</body>
</html>
4 Save the file as netscapecontent.htm in the same folder as the iecontent.htm file.
5 Restart Dreamweaver.
6 Create an HTML file with the following content:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title>Which browser</title>
</head>
<body>
</body>
</html>
7 Save the file as whichbrowser.htm in the same folder as the iecontent.htm file.
8 Click the Plus (+) button on the Behaviors panel and select the Check Browser Band behavior.
9 Click the Browse button next to the Go to the URL option and select the netscapecontent.htm file, if the browser is
Netscape Navigator. If the browser is Internet Explorer, select the iecontent.htm file.
Vue de la page 243
1 2 ... 239 240 241 242 243 244 245 246 247 248 249 ... 386 387

Commentaires sur ces manuels

Pas de commentaire