Visualizzazione dei risultati da 1 a 2 su 2

Discussione: pop un in posizione

  1. #1

    pop un in posizione

    salve da buon fruitore del forum mi sono tirato giu uno script
    che mi apre unapo up, questo

    in frame on timeline:

    fscommand("allowscale", false);
    function openBRwindow(url, name, toolbar, location, status, menubar, scrollbars, resizable, width, heigth) {
    pend++;
    // link, titolo, toolbar, location, status, menubar, scrollbars, resizable, width, heigth
    features = (toolbar) ? 'toolbar=yes,' : 'toolbar=no,';
    features += (location) ? 'location=yes,' : 'location=no,';
    features += (status) ? 'status=yes,' : 'status=no,';
    features += (menubar) ? 'menubar=yes,' : 'menubar=no,';
    features += (scrollbars) ? 'scrollbars=yes,' : 'scrollbars=no,';
    features += (resizable) ? 'resizable=yes,' : 'resizable=no,';
    getURL("javascript:window.open('"+url+"','"+name+" _"+pend+"','"+features+"width="+width+", height="+heigth+"');void(0);");
    }

    in bottone:

    on (release) {
    openBRwindow('gal/gal1/sgal1/galleria1.html', 'MyTitle', toolbar, location, status, menubar, scrollbar, resizable, ww, hh);
    }

    il fatto è che io vorrei aprire la po pup in una posizione specifica cioè a in alto a sx dello schermo (tipo 50,50)
    pero mica ho capito dove dovrei mettere le coordinate
    non è che qualcuno mi aiuta?
    luka
    _._._

    www.tinybros.com

  2. #2
    prova ad aggiungere...
    codice:
    fscommand("allowscale", false); 
    function openBRwindow(url, name, toolbar, location, status, menubar, scrollbars, resizable, width, heigth) { 
    pend++; 
    // link, titolo, toolbar, location, status, menubar, scrollbars, resizable, width, heigth 
    features = (toolbar) ? 'toolbar=yes,' : 'toolbar=no,'; 
    features += (location) ? 'location=yes,' : 'location=no,'; 
    features += (status) ? 'status=yes,' : 'status=no,'; 
    features += (menubar) ? 'menubar=yes,' : 'menubar=no,'; 
    features += (scrollbars) ? 'scrollbars=yes,' : 'scrollbars=no,'; 
    features += 'left=50,top=50,';
    features += (resizable) ? 'resizable=yes,' : 'resizable=no,'; 
    getURL("javascript:window.open('"+url+"','"+name+"_"+pend+"','"+features+"width="+width+", height="+heigth+"');void(0);"); 
    }
    lo statement in rosso.

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.