zuzuu Posted August 24, 2006 Share Posted August 24, 2006 Hi everybody !! It is my first post, and as I am French, I apologize if I commit some mistake... I would like to create a select list as usual : <SELECT NAME="linkList"><OPTION VALUE="s">value 1<OPTION VALUE="m">value 2<OPTION VALUE="l">value 3</SELECT> But I want to put a image, not a text. Example : <SELECT NAME="linkList"><OPTION VALUE="s"><img src="img1.jpg"><OPTION VALUE="m"><img src="img2.jpg"><OPTION VALUE="l"><img src="img3.jpg"></SELECT> I try this code, but it does not work. I would like to know if there is a method for this kind of select...?Thank you and have a nice week Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 24, 2006 Share Posted August 24, 2006 Is the select list for a form? Or do you just want to have a list of images that people can select.Because if it is just a list of images I would just make them hyperlinks like so:List item 1 <a href="page1.html"><img border="0" src="pic1"></a>List item 3 <a href="page2.html"><img border="0" src="pic2"></a>List item 1 <a href="page3.html"><img border="0" src="pic3"></a>I hope this has helped you at all, just replace the page 1, 2, 3 with you link to a page and the pic 1, 2, 3, with your pictures. Link to comment Share on other sites More sharing options...
zuzuu Posted August 24, 2006 Author Share Posted August 24, 2006 I try this one but it does not work... <html><head></head><body><SELECT NAME="linkList"><OPTION VALUE="s"><a href="page1.html"><img border="0" src="bebe_hippocampe.jpg"></a><OPTION VALUE="m"><img src="img2.jpg"><OPTION VALUE="l"><img src="img3.jpg"></SELECT></body></html> I would like to create a list of link with image. And when you click on the image, you follow the link.I think it is a good idea to use <a href...But this is not work...Have you another Idea?? Link to comment Share on other sites More sharing options...
holmedwa04 Posted August 24, 2006 Share Posted August 24, 2006 Oh, im not really sure then, are you creating a form for people to fill in? Link to comment Share on other sites More sharing options...
zuzuu Posted August 24, 2006 Author Share Posted August 24, 2006 In fact, I would like to have a list of my friend (a link of their website). As there are a lot of link I would like to use a select item. But I do not want to see Text, I would like to put for example a image of them... Link to comment Share on other sites More sharing options...
Cronthenoob Posted August 24, 2006 Share Posted August 24, 2006 What if you used this:Linky!and put an image instead of text.Try that out, it won't be a dropdown box, but it functions basically the same way. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now