How to set jQueryUI Dialog background for v1.8x

I would like to provide a .png that appears as the background of a jQueryUI-based dialog object. This publication refers to the use of the "overlay:" parameter , but "overlay" is not specified in the current documentation.

What is the current method to achieve this effect?

THX

+3
source share
1 answer

You can use CSS for this. Just set background-image: url(...)to divwhich you create in the dialog box ( here is more about background-image).

Here is an example: http://jsfiddle.net/andrewwhitaker/S5pmw/

: 1.6, , CSS overlay, ( ). , , 1.7 (3). jQuery . :

. div ui-widget-overlay.

, , overlay, CSS ui-widget-overlay.

+4

Source: https://habr.com/ru/post/1785439/


All Articles