Title: Create a list with image and buttons.. Post by: khatrimitesh on July 01, 2009, 10:30:00 PM
Hi, I want to create a list and list data are comes from the xml. and i want to add the Image and 3 Buttons in list as a single item. and each button and image click have different event. can any one suggest how will i do this. Thanks ??? Mitesh Title: Re: Create a list with image and buttons.. Post by: edgarwong on July 02, 2009, 12:01:19 PM
im not sure, kind of new to javascript. maybe do an image map. that should work
Title: Re: Create a list with image and buttons.. Post by: steveram on July 02, 2009, 05:00:39 PM
You'd probably have to define the html template in your rowTemplate.html and then attach the events in the assistants setup function.
Title: Re: Create a list with image and buttons.. Post by: khatrimitesh on July 17, 2009, 02:38:03 AM
Hi, I already define the Row template for the list. and define the button tag and image tag in the row template. and define the button click and image click event in the assistant file. but image click event is not fired. can u suggest how use the image as a button. Thanks |
advertisement: