Results 1 to 2 of 2

Thread: CSS Popup Image Viewer in ASP.NET

  1. #1
    Join Date
    Mar 2007
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default CSS Popup Image Viewer in ASP.NET

    1) Script Title: CSS Popup Image Viewer

    2) Script URL (on DD): http://www.dynamicdrive.com/style/cs...e-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?

  2. #2
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    30,495
    Thanks
    82
    Thanked 3,449 Times in 3,410 Posts
    Blog Entries
    12

    Default

    I'd try:

    Code:
    <img src="<%# eval("Image01") %>">
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •