Visualizzazione dei risultati da 1 a 4 su 4
  1. #1

    modello dreamweaver non mi lascia aprire pop-up

    ho l'esigenza di ingrandire svariate anteprime di immagini
    in dei pop-up.se lo faccio con una pagina HTML normale,
    nessun problema.la stessa cosa però non mi riesce all'interno di una "cella modificabile"
    di un modello che ho creato.lo stesso vale per i vari documenti ad esso
    collegati.
    ho usato questo codice tra i tag <head>del docmento:

    <script type="text/javascript">
    function apri(url) {
    newin = window.open(url,'titolo','scrollbars=no,resizable= no, width=600,height=600,status=no,location=no,toolbar =no,top=50,left=200');
    }
    </script>

    e questo nella stringa dell'anteprima da ingrandire:

    javascript:apri('triumph.jpg');

    devo proprio rinunciare al modello per poter aprire sti benedetti pop-up?
    ciao,grazie.
    ho solo una cosa in mente e non è il calcio!

  2. #2
    scusate ho già risolto!..bastava mettere i file da aprire
    all'interno della stessa directory del modello oppure
    indicare il percorso esatto del file!..(a dire il vero era semplice..mi scuso.)
    ciao.buone ferie.
    ho solo una cosa in mente e non è il calcio!

  3. #3
    SEE..magari!
    chiedo scusa ancora.il discorso sopracitato funziona
    solo sul modello stesso!..nei documenti basati su di esso,
    non và!..sembra che cliccando sull'anteprima,la pagina sia
    sprovvista del codice javascript e non cè nessuna reazione.
    :master: ..aiutoo!
    posto di seguito il codice di una delle pagine create dal modello.

    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>

    <title>bikes</title>

    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">


    <link href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/stile1.css" rel="stylesheet" type="text/css">
    <link href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/stile%20aiuto.css" rel="stylesheet" type="text/css">
    <link href="tornahome.css" rel="stylesheet" type="text/css">
    <link href="consfondo.css" rel="stylesheet" type="text/css">
    <link href="lowspacestyle.css" rel="stylesheet" type="text/css">
    </head>

    <body background="images/varie/back.jpg" link="#000000" vlink="#666666" alink="#000066">
    <div align="center">
    <table width="700" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" class="consfondo">

    <tr>
    <td height="289" colspan="3" valign="top" class="tornahome">[img]images/loghi/bikelogo.jpg[/img]
    <map name="Map3">
    <area shape="rect" coords="19,165,268,269" href="home.htm" alt="torna all'home page">
    </map>
    </td>
    </tr>
    <tr>
    <td height="70" colspan="3" valign="top">[img]images/varie/menu.jpg[/img]</td>
    </tr>
    <tr>
    <td height="32" colspan="3" valign="top"><div align="center" class="tornahome">clicca
    sul logo per tornare all'home</div></td>
    </tr>
    <tr>
    <td width="50" height="41"></td>
    <td width="600" valign="top" class="consfondo">commento</td>
    <td width="50"></td>
    </tr>
    <tr>
    <td height="501"></td>
    <td valign="top" class="consfondo">[img]images/anteprime/triump_a.jpg[/img]</td>
    <td></td>
    </tr>
    <tr>
    <td height="32"></td>
    <td></td>
    <td></td>
    </tr>
    <tr>
    <td height="38" colspan="3" valign="top" class="lowspacestyle"> <div align="center">
    <p class="tornahome">

    webdesign by:info@madbrusher.it</p>
    </div></td>
    </tr>
    </table>
    </div>
    <map name="Map">
    <area shape="rect" coords="17,19,98,50" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/bike.htm">
    <area shape="rect" coords="114,21,193,49" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/car.htm">
    <area shape="rect" coords="209,18,289,48" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/helmet.htm">
    <area shape="rect" coords="308,19,387,49" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/tshirt.htm">
    <area shape="rect" coords="405,19,482,49" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/other.htm">
    <area shape="rect" coords="501,20,581,49" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/links.htm">
    <area shape="rect" coords="598,19,682,49" href="file:///C|/Documents%20and%20Settings/madbrusher/Desktop/hot.htm">
    </map>
    <map name="Map2">
    <area shape="rect" coords="17,19,96,49" href="bike.htm">
    <area shape="rect" coords="114,20,192,49" href="car.htm">
    <area shape="rect" coords="210,19,290,50" href="helmet.htm">
    <area shape="rect" coords="308,20,387,48" href="tshirt.htm">
    <area shape="rect" coords="404,18,483,48" href="other.htm">
    <area shape="rect" coords="500,19,581,47" href="links.htm">
    <area shape="rect" coords="597,19,681,47" href="hot.htm">
    </map>
    </body>
    </html>
    ho solo una cosa in mente e non è il calcio!

  4. #4
    ah!..ce l'ho fatta finalmente inserendo il codice javascript
    nella stringa della cella..ora FUNZIA!
    ho solo una cosa in mente e non è il calcio!

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.