This topic is locked

Image from another table on dropdown

6/27/2012 6:13:42 PM
ASPRunnerPro General questions
lefty author

Anyone ever have the need to add a dependant dropdown as an image. It seems it can only pull the file name.
I have it set as dependant on selected item . Then selected item will show image in next field to assure the user is looking for that particular item . Image comes from another table.
I'm looking for either solution below.
One have image as a dropdown ; which I don't see capability here .
Or 2 have file name with the ouput_image folder concatenated with the file name and set as a hypelink to open image to view in popup ( comes from another table called photo's. )
Any Ideas?
ASPRUNNER 7.0

Sergey Kornilov admin 6/27/2012

You cannot display images in a dropdown box - no such standard feature in HTML.
The best you can do is to display images next to dropdown box, based on dropdown box selection. This needs to be coded manually.
You will need to add a DIV next to dropdown box first. Then add a handler to dropdown box 'change' event to display image in a div. You will need to use Javascript API and jQuery to implement this.