Avatar billede mccookie Seniormester
23. februar 2000 - 18:04 Der er 4 kommentarer og
1 løsning

Erik Jacobesen for you

Open window funktionen

Kan du give mig så mange af syntaxerne der hører til og evt. forklarer dem lidt ????

McCookie
PS. Bor du i Brøndby
Avatar billede erikjacobsen Ekspert
23. februar 2000 - 19:02 #1
Jeg bor ikke i Brøndby  -  øh, hvor ligger det egentlig ??

Ok, fra developer.netscape.com er her lidt om de ting man kan sætte på en open.
Er det det ?

----------------------------------------------

Table 1.4 Optional features to specify for a new window.

windowFeatures  Description

alwaysLowered
                  (JavaScript 1.2) If yes, creates a new window that floats below other windows, whether it is
                  active or not. This is a secure feature and must be set in signed scripts.
alwaysRaised

                  (JavaScript 1.2) If yes, creates a new window that floats on top of other windows, whether it
                  is active or not. This is a secure feature and must be set in signed scripts.
dependent

                  (JavaScript 1.2) If yes, creates a new window as a child of the current window. A dependent
                  window closes when its parent window closes. On Windows platforms, a dependent window
                  does not show on the task bar.
directories

                  If yes, creates the standard browser directory buttons, such as What's New and What's Cool.
  height

                  (JavaScript 1.0 and 1.1) Specifies the height of the window in pixels.
hotkeys

                  (JavaScript 1.2) If no (or 0), disables most hotkeys in a new window that has no menu bar.
                  The security and quit hotkeys remain enabled.
innerHeight

                  (JavaScript 1.2) Specifies the height, in pixels, of the window's content area. To create a
                  window smaller than 100 x 100 pixels, set this feature in a signed script. This feature replaces
                  height, which remains for backwards compatibility.
innerWidth

                  (JavaScript 1.2) Specifies the width, in pixels, of the window's content area. To create a
                  window smaller than 100 x 100 pixels, set this feature in a signed script. This feature replaces
                  width, which remains for backwards compatibility.
location

                  If yes, creates a Location entry field.
menubar

                  If yes, creates the menu at the top of the window.
outerHeight

                  (JavaScript 1.2) Specifies the vertical dimension, in pixels, of the outside boundary of the
                  window. To create a window smaller than 100 x 100 pixels, set this feature in a signed script.
personalbar

                  (JavaScript 1.2) If yes, creates the Personal Toolbar, which displays buttons from the user's
                  Personal Toolbar bookmark folder.
resizable

                  If yes, allows a user to resize the window.
screenX

                  (JavaScript 1.2) Specifies the distance the new window is placed from the left side of the
                  screen. To place a window offscreen, set this feature in a signed scripts.
screenY

                  (JavaScript 1.2) Specifies the distance the new window is placed from the top of the screen.
                  To place a window offscreen, set this feature in a signed scripts.
scrollbars

                  If yes, creates horizontal and vertical scrollbars when the Document grows larger than the
                  window dimensions.
status

                  If yes, creates the status bar at the bottom of the window.
titlebar

                  (JavaScript 1.2) If yes, creates a window with a title bar. To set the titlebar to no, set this
                  feature in a signed script.
toolbar

                  If yes, creates the standard browser toolbar, with buttons such as Back and Forward.
width

                  (JavaScript 1.0 and 1.1) Specifies the width of the window in pixels.
z-lock

                  (JavaScript 1.2) If yes, creates a new window that does not rise above other windows when
                  activated. This is a secure feature and must be set in signed scripts.



Many of these features (as noted above) can either be yes or no. For these features, you can use 1 instead of yes and
0 instead of no. If you want to turn a feature on, you can also simply list the feature name in the windowFeatures
string.
Avatar billede erikjacobsen Ekspert
12. marts 2000 - 19:36 #2
Ok?
Avatar billede mccookie Seniormester
11. april 2000 - 16:19 #3
KAn du evt. vise nogle eksemplarer
Avatar billede erikjacobsen Ekspert
11. april 2000 - 19:22 #4
NY=window.open('side.html','NY','width=625,height=480,toolbar=yes,scrollbars=yes')
Avatar billede erikjacobsen Ekspert
04. december 2000 - 21:12 #5
det var en gammel sag, mccookie!
Avatar billede Ny bruger Nybegynder

Din løsning...

Tilladte BB-code-tags: [b]fed[/b] [i]kursiv[/i] [u]understreget[/u] Web- og emailadresser omdannes automatisk til links. Der sættes "nofollow" på alle links.

Loading billede Opret Preview
Kategori
Vi tilbyder markedets bedste kurser inden for webudvikling

Log ind eller opret profil

Hov!

For at kunne deltage på Computerworld Eksperten skal du være logget ind.

Det er heldigvis nemt at oprette en bruger: Det tager to minutter og du kan vælge at bruge enten e-mail, Facebook eller Google som login.

Du kan også logge ind via nedenstående tjenester