Lokasi:homepage > Kod kesan khas JS > Kotak Prompt dan lapisan pop timbul

Bootstrap pop-up mask layer dialog layer mask plugin

2020-06-25 139jumlah tontonan
Based on the bootstrap framework jQuery multi-functional modal dialog box plug-in, the bootstrap modal dialog box contains warning box, confirmation box and dialog box. Is a rare multi-functional, multi-purpose modal dialog plug-in. Parameter name parameter type default value describes the title of titlestring'hello'modal dialog contentstring'are you sure to Continue? 'contents of modal dialog iconstring' 'small icon in front of the title of modal dialog confirmbuttonstring'ok'modal dialog confirmation button text cancelbuttonstring'cancel'modal dialog box text confirmbuttonclassstring'btn-default'modal dialog confirmbuttonclassstring'btn-default'modal dialog box cancel button cla Color theme of ssthemestring 'white' modal dialog. The available options are 'white','black'animationstring'scale 'modal dialog box, and the animation options are' scale ','top','bottom ','left','right ','zoom','none ','rotate','rotatex ','rotation','scalex ','scaley','blur '. The animation duration of animation speednumber400 modal dialog box is in milliseconds. Confirmfunctionfunction() {} the callback function after the user clicks the confirm button in the modal dialog box. Cancelfunctionfunction() {} the callback function after the user clicks the Cancel button in the modal dialog box. Whether backgrounddismissboolean rule allows users to change modal dialog boxes by clicking on areas other than modal dialog boxes. Autoclosestringfalse if there is no user action, close the modal dialog after the specified time. The possible option 'confirm|400' string is divided by '|, and the previous part specifies the trigger button,' confirm 'or' Cancel '. The following section specifies the waiting time, in milliseconds. If all the buttons are not available, the small icon in the close mode window becomes a picture (dialog mode). You can remove the icon by setting it to false.