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

    apro popup da link.. chiudo popup da link e carico un altro genitore?come..

    Salve a tutti

    Ho un problemino:

    Come faccio a chiudere un pop-up da un link che chiude la pagina genitore , chiude il pop-up e carica un altra pagina equivalente al link.

    Ovviamente il link in questione č presente nel pop-up.

    la chiusura del pop-up e il reload della pagina genitore mi funziona solo se metto il pulsante input-type

    Es.
    <form action method="post" name="form"><input type="button" name="chiudi" onclick="window.opener.location.reload();window.cl ose();>

    Io invece vorrei che al posto del button sia possibile metterci un href e che oltre a chiudermi il pop-up mi carica la pagina che voglio io, tipo miapagina.php?id=3.

    Grazie a tutti .
    Ps spero di essere stato chiaro

    The Free Software Song -
    Join us now and share the software. You'll be Hoarders may get piles of money that is.When we have enough free software.At our free, hackers, you'll be free....... Richard Staltman

  2. #2
    Utente di HTML.it L'avatar di floyd
    Registrato dal
    Apr 2001
    Messaggi
    3,837
    <a href="javascriptpener.location.reload();window.close();void(0)">

  3. #3

  4. #4
    Grazie floyd e smal ma..



    <a href="javascriptpener.location.reload();window.close();void(0)">


    E la pagina che voglio che apra dove la metto? (miapagina.php)
    The Free Software Song -
    Join us now and share the software. You'll be Hoarders may get piles of money that is.When we have enough free software.At our free, hackers, you'll be free....... Richard Staltman

  5. #5
    Utente di HTML.it L'avatar di floyd
    Registrato dal
    Apr 2001
    Messaggi
    3,837
    se va in opener
    opener.location = 'miapagina.php';

  6. #6
    Ho provato cosė :



    <a href="javascriptpener.location='miapagina.php';window.close();void (0)">


    non funge!
    The Free Software Song -
    Join us now and share the software. You'll be Hoarders may get piles of money that is.When we have enough free software.At our free, hackers, you'll be free....... Richard Staltman

  7. #7


    che pirla! avevo sbagliato link di riferimento


    Funge bemissimo !!!

    Grazie floyd
    The Free Software Song -
    Join us now and share the software. You'll be Hoarders may get piles of money that is.When we have enough free software.At our free, hackers, you'll be free....... Richard Staltman

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.