Back to top

Autore Topic: Come impostare un template con 2 visulaizzazioni  (Letto 1165 volte)

Offline lorenzo

  • Nuovo arrivato
  • *
  • Post: 23
    • Mostra profilo
Come impostare un template con 2 visulaizzazioni
« il: 22 Feb 2007, 08:50:50 »
Gentili tutti, mi complimento per il grandioso lavoro che fate.

Avrei questo problema: uso il template adventice di Dolmenir e vorrei impostarlo in modo da essere rimodellabile per chi usa 1024*768 oppure 1280*1024.
Mi dareste una mano?

Vi inserisco il codice per questo template?

<? echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!--
  Layout/Design: © 2004 Juan-Carlos Martin
  L'usage de ce template est soumis à condition.
  Détails sur le site : http://mambo.dolmenhir.com/
//-->
<title> <? echo $mosConfig_sitename; ?> </title>
<meta http-equiv="Content-Type" content="text/html; <? echo _ISO; ?>" />
<? include ("includes/metadata.php"); ?>
<? if ($my->id) {
   include_once ("editor/editor.php");
   initEditor();
}
 ?>
<script language="JavaScript" type="text/javascript">
<!--function MM_reloadPage(init) {  //reloads the window if Nav4 resized  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }} else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();} MM_reloadPage(true);//-->
</script>

<link rel="stylesheet" href="<? echo $mosConfig_live_site; ?>/templates/adventice/css/template_css.css" type="text/css">

</head>
<body>
  <table width="100%" celppadding="0" cellspacing="0">
    <tr valign="middle">
      <td width="350" class="namesite" nowrap><? echo $mosConfig_sitename; ?></td>
      <td width="100%" class="top"><div style="height:30"><form action="index.php" method="post" style="margin:0;padding:0">
  <div align="right">
    <input class="inputbox" type="text" name="searchword" size="15" value="<? echo _SEARCH_BOX; ?>"  onblur="if(this.value=='') this.value='<? echo _SEARCH_BOX; ?>';" onfocus="if(this.value=='<? echo _SEARCH_BOX; ?>') this.value='';" />&nbsp;<input name="OK" type="button" value="OK" />
    <input type="hidden" name="option" value="search" />
  </div>
</form>
</div><div><? mosLoadComponent( "banners" ); ?></div></td>
</tr></table>
<div id="pathway"><? include "pathway.php"; ?></div>
<table>
  <tr valign="top">
    <td width="200px" id="left">
   <div><? if (mosCountModules( "left" )) { mosLoadModules ('left'); } ?></div>
      <div><? if (mosCountModules( "user1" )) { mosLoadModules ('user1'); } ?></div>
</td>
    <td width="100%" id="main">
   <div><? if (mosCountModules( "top" )) { mosLoadModules ('top'); } ?></div>
   <div><? include ("mainbody.php"); ?></div>
   <div id="inset"><? if (mosCountModules( "inset" )) { mosLoadModules ('inset'); } ?></div>
   <div><? if (mosCountModules("bottom")) { mosLoadModules ('bottom'); } ?></div>
</td>
<td width="200px" id="right">
   <div style="width:170px"><? if (mosCountModules( "right" )) { mosLoadModules ('right'); } ?></div>
   <div><? if (mosCountModules( "user2" )) { mosLoadModules ('user2'); } ?></div>
</td>
</tr>
</table>
<div id="basdepage">Powered by <a href="http://wwww.mamboserver.com/" target="_blank">Mambo[/url]
  - Design : <a href="http://mambo.dolmenhir.com/" target="_blank">Dolmenhir[/url]</div>
</body>
</html>
Lorenzo Speranza
webmaster-responsabile EDP
M.A.F. Servizi Srl

 



Web Design Bolzano Kreatif