Visualizzazione dei risultati da 1 a 3 su 3

Discussione: popup

  1. #1
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    555

    popup

    Ciao,
    perchè il codice qui sotto funziona e mi apre una popup
    • <td width="30%"><A href="#" onClick="window.open ('dettaglioprodotti.php?idprod=<?php print $righe['tb_prodotti_id'] ; ?>','',
      'top=10,left=10,width=500,height=400,scrollbars=ye s ');"><?php print $righe['tb_prodotti_descr'] ; ?></a></td>


    mentre questo qui sotto non mi apre niente
    Codice PHP:
    $html .= "<tr>
                <td width=\"10%\">
    $righe[tb_prodotti_id]</td>
        <td width=\"30%\"><A href=\"#\" \"onClick=window.open ('dettaglioprodotti.php?idprod=
    $righe[tb_prodotti_id];','',
        'top=10,left=10,width=500,height=400,scrollbars=yes');\">
    $righe[tb_prodotti_descr]</a></td>" 
    grazie

  2. #2
    Codice PHP:
    $html .= "<tr>
                <td width=\"10%\">
    $righe[tb_prodotti_id]</td>
        <td width=\"30%\"><A href=\"#\" onClick=\"window.open ('dettaglioprodotti.php?idprod=
    $righe[tb_prodotti_id];','',
        'top=10,left=10,width=500,height=400,scrollbars=yes');\">
    $righe[tb_prodotti_descr]</a></td>" 

    avevi messo le virgolette prima dell'onclick
    Kaworu.it
    Bookmarks on line i tuoi preferiti ovunque
    il tempo è il miglior dottore.....solo che è parecchio lento ...troppo lento
    wxKonTEXT Editor di testi(linux, win e mac), new version

  3. #3
    Utente di HTML.it
    Registrato dal
    Jul 2003
    Messaggi
    555
    Grazieeeeeeeeeee.
    Una mattina che sbatto la testa.

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.