No can do, unless you write your own SELECT tag, using an Java Applet, Flash
movie, some crazy DHTML, or whatever.

Cheers,
barneyb

> -----Original Message-----
> From: Mark Leder [mailto:[EMAIL PROTECTED]
> Sent: Monday, March 01, 2004 11:49 AM
> To: CF-Talk
> Subject: Display images inside a form select tag
>
> Hi all,
>
> I have a query which populates a loop of options in a form select box.
> Problem is, I want to display small dynamic images next to each option
> (using the <img> tag).  I've tried the following code without
> success (the
> text list items display as intended).  Any ideas?
> ********************
> <cfset REQUEST.webroot = "http://www.somesite.com">
>
> <form ACTION="" METHOD="POST" Name="form1">
> <select name="colorAdvantageID">
>
> <cfloop query="qColorAdvantage">
> <cfoutput>
> <option
> value="#colorAdvantageID#">#colorAdvantageID#&nbsp;-&nbsp;#col
> orAdvantageNam
> e#&nbsp;&nbsp;&nbsp;<img
> src=""> > tageSwatch#"
> /></option>
> </cfoutput>
> </cfloop>
>
> </select>
> <input type="Submit" value="Get Samples!">
> </form>
> ********************
> Thanks, Mark
>
>
>
>
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]

Reply via email to