PDA

View Full Version : CSS Popup Image Viewer in ASP.NET



zelda55
03-06-2007, 06:53 PM
1) Script Title: CSS Popup Image Viewer

2) Script URL (on DD): http://www.dynamicdrive.com/style/csslibrary/item/css-popup-image-viewer/P150/

3) Describe problem: I LOVE this solution! Now for the rub: I'm using an ASP.NET datalist so my images come dynamically from a database reference and the code looks like this:

ImageUrl='<%# eval("Image01") %>'

How do I get the <a href="#thumb" to live happily with ImageURL in my datalist?

jscheuer1
03-07-2007, 04:52 AM
I'd try:


<img src="<%# eval("Image01") %>">