How to make an action when a SlidePic changes using
Dynamic HTML Editor 5.5+
In this sample we are using the new "Change Callback" property added to the Slide Picture object since Dynamic HTML Editor 5.0.

In the sample below I drawn a SlidePic object and everytime the picture inside changes, I'll wrote a small text under it using a Custom Javascript function.

For simplicity I wrote the custom function into a HTML box into the page but scripts should be placed into the Header section of your page (see the Page Properties Dialog).

As usual, I drawn a DIV extension element under the Slide Picture and I'll load its content using Javascript.

You can obtain the source HTML code for using formatted text by using the Label editor -> Copy HTML Code :-)

Check the .dhe source file for the complete sample.