Visualizzazione dei risultati da 1 a 4 su 4

Discussione: [frameset]

  1. #1

    [frameset]

    Salve ragazzi, mi spiegate perchè questi due script in html non mi funzionano?Sembrano così banali eppure...

    index.html
    codice:
    <html>
    <body>
    <FRAMESET ROWS="30%,40%,30%">
    <frame name="primo" SRC="image.htm">
    <frame name="secondo" SRC="image2.html">
    <frame name="terzo" SRC="image3.html">
    </FRAMESET>
    </body>
    </html>
    image.htm
    codice:
    <html>
    <body>
    [img]logo.jpg[/img]
    </body>
    </html>
    logo.jpg



    In sostanza al primo frame dovrebbe caricarmi l'immagine logo.jpg e lasciare gli altri due vuoti.
    Premesso che i tre files stanno tutti nella stessa cartella e quindi hanno lo stesso path, quando apro l'index.html nel browser non mi visualizza proprio niente...
    Qual'è il problema?

  2. #2
    non inserire il frameset nel body.

    codice:
    <html>
    <FRAMESET ROWS="30%,40%,30%">
    <frame name="primo" SRC="image.htm">
    <frame name="secondo" SRC="image2.html">
    <frame name="terzo" SRC="image3.html">
    </FRAMESET>
    </html>
    http://embracesblog.mine.nu
    http://wiki.ubuntu-it.org/AndreaOlivato

  3. #3
    ricorda anche i tag <noframes></noframes> che verranno visualizzati da coloro che hanno un browser così vecchio da non riconoscere i frames.
    GdR Online - http://lenar.it/
    Yesterday is history. Tomorrow is mystery.
    Today is a gift. That's why it's called the present

  4. #4
    Ottimo ragazzi grazie mille...a presto.

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.