You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@wicket.apache.org by bebetu <an...@yahoo.com> on 2007/09/16 02:44:17 UTC

Add image to DropDownChoice

I am trying to embed images into options of a DropDownChoice but I haven't
succeeded so far nor I could find examples regarding this. Any idea how to
do this?

Thanks!
florin 
-- 
View this message in context: http://www.nabble.com/Add-image-to-DropDownChoice-tf4449619.html#a12695493
Sent from the Wicket - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Add image to DropDownChoice

Posted by Matej Knopp <ma...@gmail.com>.
Yeah, you can do it but afaik it doesn't work with IE.

-Matej

On 9/16/07, Igor Vaynberg <ig...@gmail.com> wrote:
> which you can apply with css and offset the text so it looks like <option>
> has an icon asociated with it ala jira.
>
> -igor
>
>
> On 9/16/07, Matej Knopp <ma...@gmail.com> wrote:
> >
> > Images inside drop down choices? I don't think any browser supports
> > such thing. Maybe some could support background-image attribute of
> > <option>...
> >
> > -Matej
> >
> > On 9/16/07, bebetu <an...@yahoo.com> wrote:
> > >
> > > I am trying to embed images into options of a DropDownChoice but I
> > haven't
> > > succeeded so far nor I could find examples regarding this. Any idea how
> > to
> > > do this?
> > >
> > > Thanks!
> > > florin
> > > --
> > > View this message in context:
> > http://www.nabble.com/Add-image-to-DropDownChoice-tf4449619.html#a12695493
> > > Sent from the Wicket - User mailing list archive at Nabble.com.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > > For additional commands, e-mail: users-help@wicket.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org


Re: Add image to DropDownChoice

Posted by Igor Vaynberg <ig...@gmail.com>.
which you can apply with css and offset the text so it looks like <option>
has an icon asociated with it ala jira.

-igor


On 9/16/07, Matej Knopp <ma...@gmail.com> wrote:
>
> Images inside drop down choices? I don't think any browser supports
> such thing. Maybe some could support background-image attribute of
> <option>...
>
> -Matej
>
> On 9/16/07, bebetu <an...@yahoo.com> wrote:
> >
> > I am trying to embed images into options of a DropDownChoice but I
> haven't
> > succeeded so far nor I could find examples regarding this. Any idea how
> to
> > do this?
> >
> > Thanks!
> > florin
> > --
> > View this message in context:
> http://www.nabble.com/Add-image-to-DropDownChoice-tf4449619.html#a12695493
> > Sent from the Wicket - User mailing list archive at Nabble.com.
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> > For additional commands, e-mail: users-help@wicket.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

Re: Add image to DropDownChoice

Posted by Matej Knopp <ma...@gmail.com>.
Images inside drop down choices? I don't think any browser supports
such thing. Maybe some could support background-image attribute of
<option>...

-Matej

On 9/16/07, bebetu <an...@yahoo.com> wrote:
>
> I am trying to embed images into options of a DropDownChoice but I haven't
> succeeded so far nor I could find examples regarding this. Any idea how to
> do this?
>
> Thanks!
> florin
> --
> View this message in context: http://www.nabble.com/Add-image-to-DropDownChoice-tf4449619.html#a12695493
> Sent from the Wicket - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
> For additional commands, e-mail: users-help@wicket.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@wicket.apache.org
For additional commands, e-mail: users-help@wicket.apache.org