Hello,
For HTML5 output, I am trying to convert a fairly long code snippet into a dropdown with the hotspot being a lead-in sentence/word: click the sentence/word and the code snippet displays. Off hand, I don't see a way to do this without mangling the code snippet. Any suggestions are appreciated. Thank you.
Can you convert a longish code snippet into a dropdown?
-
- Propeller Head
- Posts: 11
- Joined: Tue Mar 01, 2022 12:03 pm
Re: Can you convert a longish code snippet into a dropdown?
Unless I'm misunderstanding what you want, you can do this. An entire code snippet can be put in the body of a dropdown. There's no need to convert the content of the code snippet just wrap it inside the dropdown. I think the only issue you might have is if you want to use the caption from the Code snippet as the text for the dropdown hotspot: you'd have to copy the text into the dropdown head (and delete it from the code snippet definition).
For example:
For example:
You do not have the required permissions to view the files attached to this post.
Rae Streets (Flare user since 2017, now on Flare 2023; Central user from 2020)
-
- Propeller Head
- Posts: 11
- Joined: Tue Mar 01, 2022 12:03 pm
Re: Can you convert a longish code snippet into a dropdown?
Ah, I didn't even consider it that. Very good! And thank you very much.
Re: Can you convert a longish code snippet into a dropdown?
You're welcome!
Regards,
Rae
Regards,
Rae
Rae Streets (Flare user since 2017, now on Flare 2023; Central user from 2020)