Visualizzazione dei risultati da 1 a 3 su 3
  1. #1
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    52

    javascript: window.open problema

    Uso la window.open per aprire una finestra di popup, vorrei far scomparire tutti i contorni e ridimensionare la finestra ma vorrei mantenere lo scroll della stessa.

    Riuscite ad aiutarmi

    Grazie
    Giuliano

  2. #2

    Re: javascript: window.open problema

    Originariamente inviato da Giuliano
    Uso la window.open per aprire una finestra di popup, vorrei far scomparire tutti i contorni e ridimensionare la finestra ma vorrei mantenere lo scroll della stessa.

    Riuscite ad aiutarmi

    Grazie
    Giuliao
    window.open accetta 3 parametri :l'url, il nome della finestra e, infine le features. ecco qua la guida:


    codice:
    Optional. This String parameter is a list of items separated by commas. Each item consists of an option and a value, separated by an equals sign (for example, "fullscreen=yes, toolbar=yes"). The following features are supported.channelmode = { yes | no | 1 | 0 } Specifies whether to display the window in theater mode and show the channel band. The default is no. 
    directories = { yes | no | 1 | 0 } Specifies whether to add directory buttons. The default is yes. 
    fullscreen = { yes | no | 1 | 0 } Specifies whether to display the browser in full-screen mode. The default is no. Use full-screen mode carefully. Because this mode hides the browser's title bar and menus, you should always provide a button or other visual clue to help the user close the window. ALT+F4 closes the new window. A window in full-screen mode must also be in theater mode (channelmode).  
    height = number Specifies the height of the window, in pixels. The minimum value is 100. 
    left = number Specifies the left position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.  
    location = { yes | no | 1 | 0 } Specifies whether to display the input field for entering URLs directly into the browser. The default is yes. 
    menubar = { yes | no | 1 | 0 } Specifies whether to display the menu bar. The default is yes. 
    resizable = { yes | no | 1 | 0 } Specifies whether to display resize handles at the corners of the window. The default is yes. 
    scrollbars = { yes | no | 1 | 0 } Specifies whether to display horizontal and vertical scroll bars. The default is yes. 
    status = { yes | no | 1 | 0 } Specifies whether to add a status bar at the bottom of the window. The default is yes. 
    titlebar = { yes | no | 1 | 0 } Specifies whether to display a title bar for the window. This parameter is ignored unless the calling application is an HTML Application or a trusted dialog box. The default is yes. 
    toolbar = { yes | no | 1 | 0 } Specifies whether to display the browser toolbar, making buttons such as Back, Forward, and Stop available. The default is yes. 
    top = number Specifies the top position, in pixels. This value is relative to the upper-left corner of the screen. The value must be greater than or equal to 0.  
    width = number Sets the width of the window, in pixels. The minimum value is 100.
    "I video giochi non influenzano i bambini. Voglio dire, se Pac-man avesse influenzato la nostra generazione, staremmo tutti saltando in sale scure, masticando pillole magiche e ascoltando musica elettronica ripetitiva!" (Kristian Wilson, Nintendo Inc., 1989)
    Pochi anni dopo naquero le feste rave, la musica techno e l'ecstasy...

    :quote:

  3. #3
    Utente di HTML.it
    Registrato dal
    May 2002
    Messaggi
    52
    Grazie
    Giuliano

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.