Home > front end >  Help: JS pop-up width, height setting
Help: JS pop-up width, height setting

Time:09-16

Write a function, the image width 600, height 200, but always will free up our side, wide, high free all organizations.

The function gs1 () {
Diag_vote=new window. The top. The Dialog ();
Diag_vote. URL="xx. PNG";
Diag_vote. CurrentWindow=window;
Diag_vote. Width=600;
Diag_vote. Height=200;
Diag_vote. Modal=false;
Diag_vote. Title="classification";
Diag_vote. IsIframe=false;
Diag_vote. The show ();
}

CodePudding user response:

F12 was clear to see the dom CSS
  • Related