Expand my Community achievements bar.

Getting a popup image to appear when dropdown is selected

Avatar

Level 4

I am trying to find out the best way to get an image to appear once the dropdown arrow is clicked (assuming image is saved as a .jpg)

What I would like to happen is once the dropdown is selected the image appears - the customer is able to read the definitions on the image, then they can make a selection from the dropdown list.

Also, I would like the image to appear above the dropdown box.

Thanks

3 Replies

Avatar

Level 10

Hi,

The enter event should work for you:

image.presence = "visible";

Then you would have a similar script in the exit event:

image.presence = "hidden";

It might be better to have the definitions as static text in a subform. Then you would show and hide the subform.

Good luck,

Niall

Avatar

Level 4

It is working, but I can still see the form inside of the image. How do I get the image to appear so that there is no text showing from the form? Should it be on the master Page? If, so how would I write the script?

Avatar

Level 4

I figured it how --- just had to bring it forward DUH!!!!!!

Thanks again Niall