How do I make an image a session variable?

Use case:

You want to branch a guide based on user's choice. You have already setup the session variables but instead of the buttons you want to use an image.

To do so you will need to open the extended editor and click on the source button to display the raw HTML source of your tooltip. You should see something like this:

<a class="next-btn--choice" data-iridize-role="choiceBt" 
data-iridize-vars="{&quot;v1&quot;:&quot;yes&quot;}" href="javascript:void(0)">
yes
</a>

to replace the button with an image you will need to replace the yes (on the 3rd line above) with an img (image) html tag.

<a class="next-btn--choice" data-iridize-role="choiceBt" 
data-iridize-vars="{&quot;v1&quot;:&quot;yes&quot;}" href="javascript:void(0)">
<img src="mypicture.png" />
</a>
Have more questions? Submit a request

0 Comments

Please sign in to leave a comment.