Visualizzazione dei risultati da 1 a 2 su 2

Discussione: errore con gerURL ???

  1. #1
    Utente di HTML.it L'avatar di Tristal
    Registrato dal
    Sep 2003
    Messaggi
    630

    errore con gerURL ???

    Ciao a tutti!

    ho questa azione per richiamare una pop up

    -----------------------------------------------------
    on (release) {
    uUrl = "xxx.htm";
    }
    on (release) {
    wdth = "590";
    hdth = "650";
    getURL("javascript:window.open(' " add uUrl add " ','nName','scrollbars=yes , width=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");
    }
    ---------------------------------------------------

    solo che pubblicandolo mi da questo errore...ma nn riesco a modificare...

    **Errore** Scena=Scena 1, livello=Livello 69, fotogramma=1:Linea 7: È previsto ')' o ','
    getURL("javascript:window.open(' " add uUrl add " ','nName','scrollbars=yes , width=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");


    qualcuno puo' aiutarmi???
    Ogni vita merita le Ali
    Le cose non vanno mai come credi...
    Come si può impedire ad una goccia di asciugarsi? .....gettandola in mare.

  2. #2
    Nella mia infinita ignoranza credo che non puoi dare un'azione onRelease due volte allo stesso pulsante.
    Al massimo puoi fare cosi:

    codice:
    on (release) {
    uUrl = "xxx.htm";
    wdth = "590";
    hdth = "650";
    getURL("javascript:window.open(' " add uUrl add " ','nName','scrollbars=yes , width=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");
    }
    questo a primo vista, anche perchè non ho la possibilità di testare con flash
    Lo scoppato
    andrea@progettipercomunicare.it
    www.progettipercomunicare.it

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.