In the jquery ui dialog box, how can I change the color / contract in one modal dialog

using jquery ui modal dialog , shades of gray background (I assume this is controlled by my movie). For one specific modal dialog, I want the background to be darker than what I get by default with the default options.

More importantly, how to change the hue on the background screen when loading one specific dialog. In this case, I DO NOT want to change the css of my movie clip, because I only want this to apply to one specific page.

+4
source share
1 answer

Could you post the following on your special page: thus overriding the background

<style> .ui-widget-overlay { background: url("images/ui-bg_flat_0_aaaaaa_40x100.png") repeat-x scroll 50% 50% #AAAAAA; opacity: 0.3; } </style> 

Just adjust the opacity to the desired level, and for IE you may need to change the image.

I hope I understand you ...

+4
source

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


All Articles