Weitere ähnliche Inhalte
Ähnlich wie Exemplos Aula4
Ähnlich wie Exemplos Aula4 (20)
Kürzlich hochgeladen (20)
Exemplos Aula4
- 1. new 2 segunda-feira, 9 de fevereiro de 2009 11:13
INDEX.PHP
<!DOCTYPE html PUBLIC quot;-//W3C//DTD XHTML 1.0 Frameset//ENquot; quot;
http://www.w3.org/TR/xhtml1/DTD/xhtml1-frameset.dtdquot;>
<html xmlns=quot;http://www.w3.org/1999/xhtmlquot;>
<head>
<meta http-equiv=quot;Content-Typequot; content=quot;text/html; charset=iso-8859-1quot; />
<title>Untitled Document</title>
<style type=quot;text/cssquot;>
#topLayer {
position:absolute;
left:14px;
top:9px;
width:923px;
height:121px;
z-index:1;
}
#menuLayer{
position:absolute;
left:13px;
top:137px;
width:188px;
height:238px;
z-index:2;
}
#manageLayer{
position:absolute;
left:208px;
top:138px;
width:728px;
height:414px;
z-index:3;
}
</style>
</head>
<body>
<div id=quot;topLayerquot;>
<?php
include quot;topFrame.phpquot;;
?>
</div>
<div id=quot;menuLayerquot;>
<?php
include quot;menuFrame.phpquot;;
?>
</div>
<div id=quot;manageLayerquot;>
<?php
include quot;manageFrame.phpquot;;
?>
</div>
</body>
</html>
-1-
- 2. new 2 segunda-feira, 9 de fevereiro de 2009 11:13
TOPFRAME.PHP
<div id=quot;Layer1quot;>
<img src=quot;imagens/softeam.jpgquot; />
</div>
MENUFRAME.PHP
<div id=quot;mdiv1quot; >
<table border=quot;1quot;>
<tr><td id=quot;umquot; class=quot;itens_menuquot; ><a href=quot;?midle=homequot; class=quot;link_smenuquot; target=quot;quot;
>Home</a></td></tr>
<tr><td class=quot;itens_menuquot; ><a href=quot;?midle=cursosquot; class=quot;link_smenuquot; target=quot;quot;>
Cursos</a></td></tr>
<tr><td class=quot;itens_menuquot;><a href=quot;?midle=empresaquot; class=quot;link_smenuquot; target=quot;quot;>A
empresa</a></td></tr>
</table>
</div>
MANAGEFRAME.PHP
<?php
$midle=$_REQUEST[midle];
switch($midle){
case 'home' : include quot;homeFrame.phpquot;; break;
case 'cursos': include quot;cursosFrame.phpquot;; break;
case 'empresa' : include quot;empresaFrame.phpquot;; break;
default : include quot;homeFrame.phpquot;;
}
?>
HOMEFRAME.PHP
<div id=quot;Layer1quot;>
CURSOS DA SOFTEAM
</div>
CURSOSFRAME.PHP
<div id=quot;Layer1quot;>
CURSO DE PHP E MYSQL
</div>
EMPRESAFRAME.PHP
-2-
- 3. new 2 segunda-feira, 9 de fevereiro de 2009 11:13
<div id=quot;Layer1quot;>
SOFTWARE TEAM - EMPRESA JÚNIOR DE INFORMÁTICA DA UFS
</div>
-3-