Pagina 1 di 2 1 2 ultimoultimo
Visualizzazione dei risultati da 1 a 10 su 14

Discussione: detto e ridetto..ma...

  1. #1
    Utente di HTML.it
    Registrato dal
    Oct 2005
    Messaggi
    8

    detto e ridetto..ma...

    scusate ragazzi, lo so che è un argomento detto e ridetto...infatti è da due giorni che cerco l'asrgomento nel forum, ma comunque non sono capace!!

    ho bisogno semplicemente di far aprire una pop up di dimensioni fisse stabilite cliccando su una immagine, ho provato a guardare altri topic a riguardo, provo a mettere il codice da voi consigliato ma...non sono capace!

    dove devo inserire questo codice?? dopo il codice della immagine??

    non c'è un modo per farlo tramite la progettazione e non il codice di dreamweeaver?

    vi prego abbiate pazienza...aiutatemi!!

  2. #2
    fai così:


    codice:
     apre pop.html

    con questo codice apri un popup chiamato pop.html

    ciaux

  3. #3
    Utente di HTML.it
    Registrato dal
    Oct 2005
    Messaggi
    8
    ma dove lo devo inserire?
    questo è il mio codice:

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
    "http://www.w3.org/TR/html4/loose.dtd">
    <html>
    <head>

    <title>::design multimediale::</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <style type="text/css">
    <!--
    body,td,th {
    font-family: Swis721 Cn BT;
    }
    -->
    </style>

    </head>

    <body>
    <table width="690" height="50" border="0" align="center">
    <tr>
    <td>[img]img/tasti/nome.gif[/img][img]img/tasti/anna.jpg[/img]</td>
    </tr>
    </table>
    <table width="690" height="340" border="0" align="center">
    <tr>
    <td width="225" height="340" bgcolor="#FFFFFF"><table width="228" height="340" border="0" cellpadding="0" cellspacing="0" bordercolor="#FFFFFF" id="menù">
    <tr>
    <td width="35" height="45" bgcolor="#FF9900"></td>
    <td width="37" height="45" bgcolor="#FF9900"></td>
    <td width="143" height="45" bgcolor="#CCCCCC"></td>
    <td width="10" height="45" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18"></td>
    <td width="143" height="18" bgcolor="#FF9900"><div align="right">[img]img/tasti/curriculum01.gif[/img]</div></td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="35" bgcolor="#FF9900"></td>
    <td width="37" height="35" bgcolor="#FFFFFF"></td>
    <td width="143" height="35" bgcolor="#FFFFFF"></td>
    <td width="10" height="35" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18" bgcolor="#FFFFFF"></td>
    <td width="143" height="18" bgcolor="#FF9900"><div align="right">[img]img/tasti/prodotto01.gif[/img]</div></td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="35" bgcolor="#FF9900"></td>
    <td width="37" height="35" bgcolor="#FFFFFF"></td>
    <td width="143" height="35" bgcolor="#FFFFFF"></td>
    <td width="10" height="35" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18" bgcolor="#FFFFFF"></td>
    <td width="143" height="18" bgcolor="#CCCCCC"><div align="right">[img]img/tasti/multimediale02.gif[/img]</div></td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="35" bgcolor="#FF9900"></td>
    <td width="37" height="35" bgcolor="#FFFFFF"></td>
    <td width="143" height="35" bgcolor="#FFFFFF"></td>
    <td width="10" height="35" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18" bgcolor="#FFFFFF"></td>
    <td width="143" height="18" bgcolor="#FF9900"><div align="right">[img]img/tasti/grafica01.gif[/img]</div></td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="35" bgcolor="#FF9900"></td>
    <td width="37" height="35" bgcolor="#FFFFFF"></td>
    <td width="143" height="35" bgcolor="#FFFFFF"></td>
    <td width="10" height="35" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18" bgcolor="#FFFFFF"></td>
    <td width="143" height="18" bgcolor="#FF9900">[img]img/tasti/altri01.gif[/img]</td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="35" bgcolor="#FF9900"></td>
    <td width="37" height="35" bgcolor="#FFFFFF"></td>
    <td width="143" height="35" bgcolor="#FFFFFF"></td>
    <td width="10" height="35" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" height="18" bgcolor="#FF9900"></td>
    <td width="37" height="18" bgcolor="#FFFFFF"></td>
    <td width="143" height="18" bgcolor="#FF9900">[img]img/tasti/passioni01.gif[/img]</td>
    <td width="10" height="18" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="35" bgcolor="#FF9900"></td>
    <td width="37" bgcolor="#FF9900"></td>
    <td width="143" bgcolor="#CCCCCC"></td>
    <td width="10" bgcolor="#CCCCCC"></td>
    </tr>
    </table></td>
    <td width="10" height="340"></td>
    <td height="340"><table width="455" height="340" border="0" cellpadding="0" cellspacing="0">
    <tr bgcolor="#FF9900">
    <td width="10" height="45"></td>
    <td height="45"></td>
    <td width="10" height="45" bgcolor="#FF9900"></td>
    </tr>
    <tr>
    <td width="10" height="285" bgcolor="#FF9900"></td>
    <td height="285" bgcolor="#FFFFFF">

    </p> <table width="130" height="60" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
    <td width="60" height="60"><img src="img/moulinex/tasto.jpg" width="60" height="60" border="0"> </td>
    <td width="10" height="60"></td>
    <td width="60" height="60">[img]img/gildo/tasto.jpg[/img]</td>
    </tr>
    </table>


    </p></td>
    <td width="10" height="285" bgcolor="#CCCCCC"></td>
    </tr>
    <tr>
    <td width="10" height="10" bgcolor="#FF9900"></td>
    <td height="10" bgcolor="#CCCCCC"></td>
    <td width="10" height="10" bgcolor="#CCCCCC"></td>
    </tr>
    </table></td>
    </tr>
    </table>
    </body>
    </html>




    in grassetto ti ho evidenziato l'immagine alla quale ho collegato la finestra di pop up da dare le dimensioni...
    mi potresti inserire tu quello che mi hai suggerito, magari mettendolo in grassetto, così capisco...
    scusa ma sono una frana...

    grazie mille!

  4. #4
    Vi va di adottare una soluzione un po' più accessibile?
    codice:
    <a 
       href="pop.html" 
       onclick="window.open('pop.html','titolo','toolbar=no,menubar=no,location=no,scrol lbars=no,resizable=no,status=no,width=280,height=330,left=150,top=150'); return false;">
       apre pop.html
    </a>
    In questo modo, anche in caso di javascript disabilitato, la pagina rimane raggiungibile.

  5. #5
    Utente di HTML.it
    Registrato dal
    Oct 2005
    Messaggi
    8
    grazie anche a te pierofix, ma il discorso è uguale...
    dove lo devo scrivere??

  6. #6
    Quello proposto è il semplice codice che genera un link testuale, pertanto devi posizionarlo nel punto esatto in cui vuoi che tale link "apri-popup" compaia nel documento.

  7. #7
    al posto di:

    codice:
    <a href="progetti/moulinex.htm" target="_blank">

    metti:
    codice:
    <a href="#" onClick="window.open ('progetti/moulinex.htm', 'titolo',  'toolbar=no,menubar=no,location=no,scrol
     lbars=no,resizable=no,status=no,width=28
    0,height=330,left=150,top=150'); return falsE;">
    ciaux

  8. #8
    webdemo, ma per qual motivo inserisci un return false e poi non metti il percorso della pagina anche nell'href? A che pro?

  9. #9
    credo sia corretto così, anche se devo dire che il tuo mi piace di +.

    comunque funzionano bene entrambi.


    ciaux



    ps
    mi sono sbagliato la tua soluzione non va, mi da un errore.

  10. #10
    Utente di HTML.it
    Registrato dal
    Oct 2005
    Messaggi
    8
    webdemo, ho provato, ma mi apre una pagina intera modificabile anche in dimensioni....

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 © 2024 vBulletin Solutions, Inc. All rights reserved.