EasyUI
Home
Demo
Tutorial
Documentation
Download
Extension
Contact
Forum
EasyUI Forum
January 23, 2025, 06:13:32 AM
Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News
:
Home
Help
Search
Login
Register
EasyUI Forum
>
General Category
>
EasyUI for jQuery
>
change opacity off different layout regions
Pages: [
1
]
« previous
next »
Print
Author
Topic: change opacity off different layout regions (Read 2095 times)
andyj
Jr. Member
Posts: 58
change opacity off different layout regions
«
on:
November 24, 2022, 08:00:17 AM »
I have a full page layout with N, S, E, W and center easyui-layout regions.
I have a easyui texteditor in the center region.
I want to programmatically fade the opacity of the whole layout to opacity=0 but keep the Texteditor panel at opacity =1.
It is obviously inheriting the css values.
If I place a panel below the layout, my code works fine.
The layout panel (id=bg1) starts with the style="z-index:1;position:fixed;opacity: 1;"
When triggered it is faded as follows: $("#bg1").stop().animate({ opacity: 0 }, 5000); // fades to transparent over 5 secs
The easyui-texteditor (id=bg2) starts with the style="z-index:2;position:relative;opacity: 1;"
When the background fade is triggered it is set to remain opaque as follows: $("#bg2").stop().animate({ opacity: 1 }, 0); // set to fully opaque immediately.
Any clues how to manipulate the css to make the easyui-texteditor box remain visible? Many thanks
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> News
=> General Discussion
=> EasyUI for jQuery
=> EasyUI for Angular
=> EasyUI for Vue
=> EasyUI for React
=> Bug Report
Loading...