Punto informatico Network
Login Esegui login | Non sei registrato? Iscriviti ora (è gratuito!)
Username: Password:
  • Annuncio Pubblicitario

scroll con I-frame

Cerchi consigli per migliorare il tuo sito? Vuoi aprire un sito in poco tempo?
Discuti con altri webmaster, chiedi chiarimenti ed opinioni in tutta libertà.
Lo spam verrà cancellato.

scroll con I-frame

Messaggioda Krusty » sab feb 04, 2006 8:53 pm

Ciao, sto creando una pagina web con l'utilizzo di un'I-FRAME ma non riesco a risolvere un problema:

ecco il codice:

Codice: Seleziona tutto
<table width="100%" height="100%"  border="0" align="center">
          <tr>
            <td><div align="center">
     
        <p>
          <IFRAME src="profilo.htm" height="600" width="750" scrolling="Auto" frameborder="0" align="middle"></IFRAME>
        </p>
        </IFRAME>
              </p>
          </div></td>
          </tr>
        </table>


come potete vedere la pagina 'profilo.html' viene visualizzata all'interno di un'altra pagina web. Ho selezionato lo scrolling come 'Auto' perché vorrei mantenere lo scrolling verticale ma non quello orizzontale (mentre con Firefox Mozilla lo vedo correttamente, con IE mi compare sempre lo scroll sia orizzontale che verticale) come faccio?
"L’uovo ha una forma perfetta benchè sia fatto col posto dove non batte mai il sole" - Bruno Munari
Avatar utente
Krusty
Bronze Member
Bronze Member
 
Messaggi: 559
Iscritto il: sab lug 02, 2005 3:57 pm

Messaggioda Boo » dom feb 05, 2006 12:26 am

A me non esce lo scroll orizzontale in IE (risoluzione 1152 * 864)
Avatar utente
Boo
Silver Member
Silver Member
 
Messaggi: 1276
Iscritto il: sab dic 04, 2004 3:41 pm

Messaggioda Krusty » dom feb 05, 2006 11:30 am

a me usciva sempre....ma ho risolto così:

Codice: Seleziona tutto
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>title</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
body,td,th {
   font-family: Verdana, Arial, Helvetica, sans-serif;
   font-size:14px;
   color: #fff;
}
body {
   background-color: #660000;
   margin:0;
   background-image: url(img/lati.jpg);
   background-repeat: repeat-y;
   background-position: center;
   margin: 0px;
}
a {
   font-size:10px;
   color: #f00;
   text-decoration: none;
}

a:active, a:hover {
   color: #00f;
}
.cont{
width:700px;
text-align:left;
}
#container{
margin:0 auto;
width:760px;
border:0;
padding:0
}
.center{text-align:center}
-->
</style>

<script language="JavaScript">
<!--

function SymError()
{
  return true;
}

window.onerror = SymError;

var SymRealWinOpen = window.open;

function SymWinOpen(url, name, attributes)
{
  return (new Object());
}

window.open = SymWinOpen;

//-->
</script>

<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
  window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<div id="container">
<table width="760" border="0" bgcolor="#660000">
    <tr>
      <td><div align="center" width="760">
        <table width="760" border="0" class="center">
          <tr>
            <td width="760" height="100">BANNER</td>
          </tr>
          <tr>
            <td width="760" height="20"><div align="center">
<table width="100%"  border="0">
<tr>
  <td width="140" height="20"><span align="center"><a href="#">PROFILO</a></span></td>
  <td width="3" height="20"><span align="center">|</span></td>
  <td width="140" height="20"><span align="center"><a href="#">PRODOTTI</a></span></td>
  <td width="3" height="20"><span align="center">|</span></td>
  <td width="140" height="20"><span align="center"><a href="#">DOVE SIAMO </a></span></td>
  <td width="3" height="20"><span align="center">|</span></td>
  <td width="140" height="20"><span align="center"><a href="#">CONTATTI</a></span></td>
  <td width="3" height="20"><span align="center">|</span></td>
  <td width="140" height="20"><span align="center"><a href="#">LINK</a></span></td>
</tr>
</table>
</div>
</td>
</tr>
</table>
<table width="760" height="600" border="0">
<tr>
<td><div class="center">

<IFRAME src="profilo.htm" width="760" marginheight="0" marginwidth="0" height="600" scrolling="yes" frameborder="0" name="interno" align="middle" style="overflow-x:hidden"></IFRAME>
</div></td>
</tr>
</table>
<table width="760" height="10" border="0" class="center">
<tr>
<td><p class="center"> SiteMap | <a href="#" onClick="MM_openBrWindow('popup/copyright.htm','Copyright','width=300,height=150')">Copyright</a> | <a href="http://www.danielelocati.com" target="_blank">Credits</a><BR>2006 &copy; </p>
</td>
</tr>
</table>
</div>
</td>
</tr>
</table>
</div>
</body>
</html>

<script language="JavaScript">
<!--
var SymRealOnLoad;
var SymRealOnUnload;

function SymOnUnload()
{
  window.open = SymWinOpen;
  if(SymRealOnUnload != null)
     SymRealOnUnload();
}

function SymOnLoad()
{
  if(SymRealOnLoad != null)
     SymRealOnLoad();
  window.open = SymRealWinOpen;
  SymRealOnUnload = window.onunload;
  window.onunload = SymOnUnload;
}

SymRealOnLoad = window.onload;
window.onload = SymOnLoad;

//-->
</script>
"L’uovo ha una forma perfetta benchè sia fatto col posto dove non batte mai il sole" - Bruno Munari
Avatar utente
Krusty
Bronze Member
Bronze Member
 
Messaggi: 559
Iscritto il: sab lug 02, 2005 3:57 pm


Torna a Sviluppo Web

Chi c’è in linea

Visitano il forum: Nessuno e 1 ospite

Powered by phpBB © 2002, 2005, 2007, 2008 phpBB Group
Traduzione Italiana phpBB.it

megalab.it: testata telematica quotidiana registrata al Tribunale di Cosenza n. 22/09 del 13.08.2009, editore Master New Media S.r.l.; © Copyright 2008 Master New Media S.r.l. a socio unico - P.I. 02947530784. GRUPPO EDIZIONI MASTER Spa Tutti i diritti sono riservati. Per la pubblicità: Master Advertising