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

    Scrollbars pop-up posizionata

    Ho provato un po' di tutto per avere la scrollbar su questa pop-up... ma non ci riesco...
    Qualcuno mi può aiutare??

    <script language="javascript">
    function popup(url, width, height)
    {
    if (document.all)
    {
    var x = window.screenLeft;
    var y = window.screenTop;
    var w = window.document.body.offsetWidth;
    var h = window.document.body.offsetHeight;
    }
    else
    {
    var x = window.screenX;
    var y = window.screenY;
    var w = window.outerWidth;
    var h = window.outerHeight;
    }
    var cntx = x + Math.round((w - width) / 2);
    var cnty = y + Math.round((h - height) / 10);
    window.open (url, null, 'left=' + cntx + ',top=' + cnty + ',width=' +
    width + ',height=' + height+ ',resizable=1');
    }
    </script>

    [img]pics/foto.jpg[/img]

    Grazie!

  2. #2
    codice:
     window.open (url, null, 'scrollbars=yes,left=' + cntx + ',top=' + cnty + ',width=' +
    width + ',height=' + height+ ',resizable=1');
    ciao

  3. #3
    Perfetto, mille grazie!

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.