taz8020
asked on
ASP.net how do you create onmouseover for comboxitem
Hi how do you create onmouseover for comboxitem. I can get it to work on the dropdownbox itself but not on the items in it.
Codecrusier gave me this on a different thread but does not work on each item in the list.
http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/07/adding-tooltip-for-each-list-item.aspx
I have tried to extend the dropdown class but still does not work.
Just to give you info. I create the asp.net dropdownbox in code and add items, but include a title tag which is the imageurl. On hover of the items I want it to change an image on the page to the tileurl. This works on mouse hover of the combobox but not the items.
Hope this makes sence.
Codecrusier gave me this on a different thread but does not work on each item in the list.
http://weblogs.asp.net/abdullaabdelhaq/archive/2009/06/07/adding-tooltip-for-each-list-item.aspx
I have tried to extend the dropdown class but still does not work.
Just to give you info. I create the asp.net dropdownbox in code and add items, but include a title tag which is the imageurl. On hover of the items I want it to change an image on the page to the tileurl. This works on mouse hover of the combobox but not the items.
Hope this makes sence.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You sure you put in all the code from that tutorial? Because its specifically for adding tooltips for each item.
ASKER
Hi yes the tooltip works fine but I want it to change an image on the mouse over event of the dropdownbox ITEM.
I used your code and in the title put the image url, this works if you move the mouse over the dropdown box but not on each item within the dropdownlist.
You can see this sort of working if you go to http://www.thepromotionalcompany.co.uk/Products/10LBALLOON.aspx
I used your code and in the title put the image url, this works if you move the mouse over the dropdown box but not on each item within the dropdownlist.
You can see this sort of working if you go to http://www.thepromotionalcompany.co.uk/Products/10LBALLOON.aspx
ASKER
sort of what i did