Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    Jun 2001
    Messaggi
    41

    aprire un popup al 100%

    Ciao,
    come posso settare l'apertura di questo popup al 100% ?
    Se inserisco 100% al posto di 1004 e 600 mi esce un popup piccolissimo..
    penso che occorra dichiarare da qualche parte che deve leggere % e non px..
    Help
    thanks
    lu

    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="+l ar+",height="+alt+",screenX=' + x + ',left=' + x + ',screenY=' + y + ',top=' + y + ',"+feat+"');void(0);");
    };


    richiamata da
    on (release) {
    centra('bamique/tique.html', 'titolo', 1004, 600, 'status=yes', 'resizable=yes ');
    }
    love&peace

  2. #2
    prova così:

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


    richiamata da
    on (release) {
    centra('bamique/tique.html', 'titolo','status=yes', 'resizable=yes ');
    }

    dovrebbe funazionare

    -Raia Riccardo-
    Un forumello gnocco
    La vita è strana per questo bella

    non ero moderatore quando zork era un alcolizzato

  3. #3
    Utente di HTML.it
    Registrato dal
    Jun 2001
    Messaggi
    41
    Grazie ma non funziona..

    quando lo testo da flash player mi esce questa stringa:

    javascript:var%20x%20=%20Math.round((screen.width/2)-(/2));var%20y=((screen.height/2)-(/2));window.open('clufile/novit/schede/mystique/mystique.html','titolo=Mystique','width=,height=,s creenX='%20+%20x%20+%20',left='%20+%20x%20+%20',sc reenY='%20+%20y%20+%20',top='%20+%20y%20+%20',resi zable=yes%20');void(0);

    ma la finestra resta vuota.


    quando lo testi da ie

    non si apre nulla

    :bubu:

    ora provo a modificarlo un po'..
    speriamo
    ciao
    lu
    love&peace

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.