[Question/suggestion?] click to reveal or hide element

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
MedBooster
User
Posts: 1011
Joined: Mon Nov 15, 2021 8:38 pm

[Question/suggestion?] click to reveal or hide element

Post by MedBooster »

Is there way to enable some way to click to reveal or hide elements? Maybe in some particular viewing mode?

Like in PowerPoint

for example having a rectangle (comment) be hidden when you click on it
Wishlist
Bookmarks with page numbers
Optional fixed small icon size in the toolbar
Shift to UNLOCK aspect ratio/i]
Allow more "toolbars" to the title bar
AltGr issues with character input and keyboard shortcuts
User avatar
Tracker Supp-Stefan
Site Admin
Posts: 17824
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: [Question/suggestion?] click to reveal or hide element

Post by Tracker Supp-Stefan »

Hello MedBooster,

Having the rectangle itself show/hide when clicked is likely going to be very complicated, if at all possible, with some JS, but you can e.g. put elements in layers - and then quickly toggle a whole layer's visibility on or off by clicking on the light bulb next to it's name.

A bit more on layers can be found in these two KB articles:
What are Layers in PDF
How do I Invert the Visibility of Document Layers


Kind regards,
Stefan
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

Re: [Question/suggestion?] click to reveal or hide element

Post by Dimitar - Tracker Supp »

Hello MedBooster,

I'm not exactly sure what is your goal here but there are several ways to hide fields and elements.

One of the options is to use layers if you want to hide them for yourself while working on something different or making a presentation:


image(1).png


The other option is to use the Form tools:

image.png

Regards
MedBooster
User
Posts: 1011
Joined: Mon Nov 15, 2021 8:38 pm

Re: [Question/suggestion?] click to reveal or hide element

Post by MedBooster »

Yes, could prove itself to be useful

Thanks for the tips, I'm sure they would be useful for others as well
Wishlist
Bookmarks with page numbers
Optional fixed small icon size in the toolbar
Shift to UNLOCK aspect ratio/i]
Allow more "toolbars" to the title bar
AltGr issues with character input and keyboard shortcuts
User avatar
Dimitar - Tracker Supp
Site Admin
Posts: 1778
Joined: Mon Jan 15, 2018 9:01 am

[Question/suggestion?] click to reveal or hide element

Post by Dimitar - Tracker Supp »

:)
Post Reply