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

    pop up e passaggio variabile

    Dovrei far aprire un pop up e passare a questa nuova pagina una variabile (Lang = it), nel primo frame ho questo codice(per centrare il poup):

    Movieclip.prototype.centra = function(nome,titolo,lar,alt,feat){
    getURL("javascript:var x = Math.round((screen.width/2)-(" + lar + "/2));var y=((screen.height/2)-(" + alt + "/2));window.open('" + nome + "','" + titolo + "','width=" + lar + ",height=" + alt + ",screenX=' + x + ',left=' + x + ',screenY=' + y + ',top=' + y + '," + feat + "');void(0);");
    }

    nel pulsante ho messo questo:
    on (release) {
    Lang = it;
    loadVariablesNum("contact.jsp", it, "POST");
    centra('contact.jsp','titolo',400,300,'status=yes' );
    }

    il popup si apre ma la variabile "it" non passa......

  2. #2
    on (release) {
    _root.Lang = it;
    centra('contact.jsp'+_root.Lang,'titolo',400,300,' status=yes');
    }

  3. #3

    ti ringrazio

    perfetto ora funziona, grazie ancora

  4. #4

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.