Visualizzazione dei risultati da 1 a 7 su 7

Discussione: problema con frame

  1. #1

    problema con frame

    ciao a tutti!!
    ho un problema con i frame. Non li utilizzo molto e sinceramente non so più come risolvere questa cosa: andate a vedere all'indirizzo
    http://www.giangukai.com/temporary2/...no/index_I.htm
    come vedete ho un main frame ed un menu frame in basso.
    Ad una risoluzione 800x600 il frame in basso viene tagliato e mi compare lo scroll in quello principale.e questo è il primo problema.
    Se cambio risoluzione (maggiore di 1024) il frame menu rimane staccato dal main frame e non so proprio come fare. Potete aiutarmi?
    spero che sia abbastanza chiaro il problema.
    grazie ragazzi
    ciao e buon lavoro

  2. #2
    Scusa l'ignoranza ma non ho capito che intendi x staccato....
    La più grande forza a disposizione dell'umanità è la non violenza (Ghandi).
    (15/06/2003 - 16 points, 17 rembounds and 1 standing ovation x Admiral David Robinson ... San Antonio Spurs~ 2003/5 NBA champions)

  3. #3

    Re: problema con frame

    Originariamente inviato da vinciovince
    Se cambio risoluzione (maggiore di 1024) il frame menu rimane staccato dal main frame e non so proprio come fare. Potete aiutarmi?
    nn è molto comune che un utente abbia una risoluzione maggiore a 1024 quindi...

  4. #4
    Utente di HTML.it L'avatar di medorex
    Registrato dal
    Apr 2002
    Messaggi
    252

    penso che questo è il massimo che puoi ottenere...

    cartina.htm
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    
    <HTML><HEAD><TITLE>:: :: :: GIANGUKAI - LINKING SCHOOLS AROUND THE WORLD :: :: ::</TITLE><LINK 
    href="cartina_file/style.css" type=text/css rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <SCRIPT language=JavaScript type=text/JavaScript>
    <!--
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    
    function MM_openBrWindow(theURL,winName,features) { //v2.0
      window.open(theURL,winName,features);
    }
    //-->
    </SCRIPT>
    
    <META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
    <BODY bottomMargin=0 bgColor=#122b7c leftMargin=0 topMargin=0 
    onload="MM_preloadImages('../images/02_ita_over.gif','../images/02_eng_over.gif','../images/03-ita_sen_over.gif','../images/03-eng_india_over.gif')" 
    rightMargin=0 marginheight="0" marginwidth="0">
    <TABLE width=760 border=0 cellPadding=0 cellSpacing=0 background=cartina_file/fondino_big.gif>
      <TBODY>
      <TR>
    <TD vAlign=top>[img]cartina_file/01.gif[/img][img]cartina_file/02.gif[/img][img]cartina_file/03.gif[/img][img]cartina_file/04.gif[/img][img]cartina_file/05.gif[/img]</TD></TR></TBODY></TABLE><MAP name=Map><AREA 
      onmouseover="MM_swapImage('Image1','','../images/03-ita_sen_over.gif',1)" 
      onclick="MM_openBrWindow('scuolegemellate.asp?N=ITALIA','SCUOLEGEMELLATE','width=330,height=370,top=100,left=250')" 
      onmouseout=MM_swapImgRestore() shape=RECT alt=ITALIA coords=77,64,106,100 
      href="http://www.giangukai.com/temporary2/italiano/cartina.htm#"><AREA 
      onmouseover="MM_swapImage('Image1','','../images/03-ita_sen_over.gif',1)" 
      onclick="MM_openBrWindow('scuolegemellate.asp?N=SENEGAL','SCUOLEGEMELLATE','width=330,height=370,top=100,left=250')" 
      onmouseout=MM_swapImgRestore() shape=RECT alt=SENEGAL coords=12,160,47,188 
      href="http://www.giangukai.com/temporary2/italiano/cartina.htm#"><AREA 
      onmouseover="MM_swapImage('Image1','','../images/03-eng_india_over.gif',1)" 
      onclick="MM_openBrWindow('scuolegemellate.asp?N=ENGLAND','SCUOLEGEMELLATE','width=330,height=370,top=100,left=250')" 
      onmouseout=MM_swapImgRestore() shape=RECT alt=INGHILTERRA coords=42,32,71,58 
      href="http://www.giangukai.com/temporary2/italiano/cartina.htm#"><AREA 
      onmouseover="MM_swapImage('Image1','','../images/03-eng_india_over.gif',1)" 
      onclick="MM_openBrWindow('scuolegemellate.asp?N=INDIA','SCUOLEGEMELLATE','width=330,height=370,top=100,left=250')" 
      onmouseout=MM_swapImgRestore() shape=RECT alt=INDIA coords=199,94,241,205 
      href="http://www.giangukai.com/temporary2/italiano/cartina.htm#"></MAP></BODY></HTML>
    menu.htm
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    
    <HTML><HEAD><TITLE>:: :: :: GIANGUKAI - LINKING SCHOOLS AROUND THE WORLD :: :: ::</TITLE><LINK 
    href="style.css" type=text/css rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <SCRIPT language=JavaScript type=text/JavaScript>
    <!--
    function MM_swapImgRestore() { //v3.0
      var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }
    
    function MM_preloadImages() { //v3.0
      var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
        var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
        if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }
    
    function MM_findObj(n, d) { //v4.01
      var p,i,x;  if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
        d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
      if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
      for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
      if(!x && d.getElementById) x=d.getElementById(n); return x;
    }
    
    function MM_swapImage() { //v3.0
      var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
       if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </SCRIPT>
    
    <META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
    <BODY bottomMargin=0 bgColor=#122b7c leftMargin=0 topMargin=0 
    onload="MM_preloadImages('images/progetto_on.gif','images/gemellaggi_on.gif','images/partner_on.gif','images/forum_on.gif','images/english_on.gif','images/francais_on.gif')" 
    rightMargin=0 marginheight="0" marginwidth="0">
    <TABLE height=107 cellSpacing=0 cellPadding=0 width=780 
    background=menu_file/fondo-menu.gif border=0>
      <TBODY>
      <TR>
        <TD width=207>
          <TABLE cellSpacing=0 cellPadding=0 border=0>
            <TBODY>
            <TR>
              <TD>
    [img]menu_file/spaziatore.gif[/img][img]menu_file/progetto_off.gif[/img] [img]menu_file/spaziatore.gif[/img][img]menu_file/gemellaggi_off.gif[/img] </TD></TR>
            <TR>
              <TD>[img]menu_file/spaziatore.gif[/img][img]menu_file/partner_off.gif[/img] 
                [img]menu_file/spaziatore.gif[/img][img]menu_file/forum_off.gif[/img] </TD></TR></TBODY></TABLE></TD>
        <TD width=41>
          <TABLE cellSpacing=0 cellPadding=0 border=0>
            <TBODY>
            <TR>
              <TD>
    [img]menu_file/foglidilavoro.gif[/img]</TD></TR></TBODY></TABLE></TD>
        <TD vAlign=center width=56>
          <TABLE cellSpacing=0 cellPadding=0 border=0>
            <TBODY>
            <TR>
              <TD>
    [img]menu_file/italiano_on.gif[/img]</TD></TR>
            <TR>
              <TD>[img]menu_file/english_off.gif[/img]</TD></TR>
            <TR>
              <TD>[img]menu_file/francais_off.gif[/img]</TD></TR></TBODY></TABLE></TD>
        <TD vAlign=baseline width=230>
          <TABLE cellSpacing=0 cellPadding=0 border=0>
            <TBODY>
            <TR>
              <TD>[img]menu_file/spaziatore.gif[/img][img]menu_file/cesvi_home.gif[/img][img]menu_file/stc_home.gif[/img]</TD></TR></TBODY></TABLE></TD>
    <TD align=right width=246>[img]menu_file/logo.gif[/img]</TD></TR></TBODY></TABLE></BODY></HTML>
    index.htm
    codice:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Frameset//EN">
    
    <?xml version="1.0" encoding="iso-8859-1"?><HTML 
    xmlns="http://www.w3.org/1999/xhtml"><HEAD><TITLE>:: :: :: GIANGUKAI - LINKING SCHOOLS AROUND THE WORLD :: :: ::</TITLE><LINK 
    href="style.css" type=text/css rel=stylesheet>
    <META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
    <META content="MSHTML 6.00.2800.1170" name=GENERATOR></HEAD>
    <FRAMESET border=0 frameSpacing=0 rows=419,40% frameBorder="no" cols=*>
    <FRAME id=mainFrame name=mainFrame marginWidth=0 marginHeight=0 src="GIANGUKAI - LINKING SCHOOLS AROUND THE WORLD_file/cartina.htm" frameborder="no" noresize scrolling="no">
    <FRAME id=bottomFrame name=bottomFrame marginWidth=0 marginHeight=0 src="GIANGUKAI - LINKING SCHOOLS AROUND THE WORLD_file/menu.htm" noResize scrolling="no"></FRAMESET>
    <noframes></noframes></HTML>
    Qua hai dimenticato svariate virgolette...:quote:
    Ma quando impareremo mai ??

  5. #5

    problema con frame

    scusate se mi faccio vivo solo ora...
    grazie per l'aiuto, proverò ad utilizzare il codice e ti farò sapere.
    Per quanto riguarda "cosa intendo con staccato" ad una risoluzine maggiore di 1024 il frame menu risulta nella parte bassa del monitor mentre il main frame rimane nella parte alta e quindi si forma uno spazio tra i due frame, mentre invece dovrebbero costituire una pagina unica. E comunque credo che un sito web debba essere correttamente visualizzabile a qualsiasi risoluzione e piattaforma. A questo proposito riscontro dei problemi di visualizzazione con i Mac. Sapete dirmi come è possibile risolvere anche questo piccolo particolare?
    grazie ancoraa presto

  6. #6
    Io uso IE 6.0 ma non mi fa quell'effetto di stacco che dici tu!!!

    Ho dato 1 okkiata :quipy: a 1024x768 e 800x600 ed è perfetto!!! :metallica

    La più grande forza a disposizione dell'umanità è la non violenza (Ghandi).
    (15/06/2003 - 16 points, 17 rembounds and 1 standing ovation x Admiral David Robinson ... San Antonio Spurs~ 2003/5 NBA champions)

  7. #7
    grazie
    ora ci lavoro un po sopra, devo sistemare alcune cose altrimenti mi tagliano le gambe.
    se ho problemi mi rifaccio vivo!!
    cieuz

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.