Hide items when run mode
Posted:
Sat Sep 26, 2020 11:39 am
by mookai1973
Dear Sir,
My name is KAI from Phuket Thailand, I'm new user for WD
My system : WD v6.1.3 Windows 10 x64 (LTSB 2016)
Question.
I need to hide some items when start to run mode and back to show when back to edit mode, How can I program in this function?
Thank you,
KAI
Re: Hide items when run mode
Posted:
Sat Sep 26, 2020 11:10 pm
by Daniel Kaminski
Hi Kai,
the easiest will be a custom CSS file.
Step 1) Save Project
Step 2) Open Edit Windows Dialog from Windows Menu
Step 3) Under Custom HTML Header
a) Click on blue Options Text / Open Folder
You will be told, that the folder does not exist and if you want to create it. Say Yes.
b) Blue Options Text -> Import Files and Import editonly.css as custom header
c) enable checkbox : Enable Custom Header
Step 4) Each Element that you only want to see during editing, but never in Run Mode
add "EditOnly" to the "Define a custom CSS class" Textbox in the UI Effects and Animations.
Step 5) enjoy
The sample Project should make it clear. If not feel free to ask.
Daniel
Re: Hide items when run mode
Posted:
Sun Sep 27, 2020 4:12 am
by mookai1973
Hi Deniel,
Thank you so much and sample from you it's great for me.
Regards,
KAI
Daniel Kaminski wrote:Hi Kai,
the easiest will be a custom CSS file.
Step 1) Save Project
Step 2) Open Edit Windows Dialog from Windows Menu
Step 3) Under Custom HTML Header
a) Click on blue Options Text / Open Folder
You will be told, that the folder does not exist and if you want to create it. Say Yes.
b) Blue Options Text -> Import Files and Import editonly.css as custom header
c) enable checkbox : Enable Custom Header
Step 4) Each Element that you only want to see during editing, but never in Run Mode
add "EditOnly" to the "Define a custom CSS class" Textbox in the UI Effects and Animations.
Step 5) enjoy
The sample Project should make it clear. If not feel free to ask.
Daniel