Page 1 of 1

Toggling Images or Sections In A Topic?

Posted: Mon Feb 23, 2015 12:00 am
by OxygenSEUser
Hello,

I'm currently using Oxygen XML Editor 16.1, and I'm wondering if it's possible to toggle images or sections within a topic?

For example, in online help where you see the little plus sign and a sentence that says "Click here to view image". Once you click on the image, it opens up the picture on the page. Then you can click on the link again to close it.

Is this functionality possible? If so, how do I do that?

Re: Toggling Images or Sections In A Topic?

Posted: Mon Feb 23, 2015 5:39 pm
by sorin_ristache
Hello,

That is not available out of the box, but it can be added as an enhancement by associating the HTML element name that marks a section (h1) or an image (img) with a folding behavior injected in the WebHelp page with a jQuery plugin like this one. For example you can follow this example to add this folding effect in the Oxygen WebHelp pages.

Re: Toggling Images or Sections In A Topic?

Posted: Fri Feb 27, 2015 12:17 am
by OxygenSEUser
Fantastic!! Thank you so much for your help. I will definitely give this a shot. I'm glad it's at least possible to do!