I am using ASp.NEt C# and javascript
I have a Datalist control on my page which has3 columns name , image and description. i have around 40 items in it.
I want user to click on Image to open an enlarged Image. Enlarged Image path is not in database. Images are saved in diffrent folder but exactly with the same name as small image in datalist.
I have written this function
Expand|Select|Wrap|Line Numbers
- function Enlarge()
- {
- window.open("Poster/"+document.getElementById("<%=Label1.ClientID%>").innerText+ "/Enlarged/"+"12345abcd.jpg","Enlarged", "scrollbars=yes,width=440,height=650,status=no,toolbar=no,menubar=no,location=no");
- }
I want to make it dynamic so that whenever user clicks on particular image it should automatically open enlarged image for that. I don't know how to workout italic/bolded portion on url
Thanks,
Help Plz