Advanced Search

Results 1 to 7 of 7

Thread: link without iframe

  1. #1
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    797
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default link without iframe

    Hey you all,
    Is it possible to have a link to another part in the page using divs instead of iframes ? I want to place a lot of small imgs, and have them look bigger on the same page by linking. Then I want to be able to use the lightbox clicking on the biggest image.
    I would love to mix these two effects:
    http://www.dynamicdrive.com/dynamici...thumbnail2.htm
    and
    http://www.dynamicdrive.com/dynamici...box2/index.htm
    Appreciate your help !

  2. #2
    Join Date
    Feb 2007
    Posts
    116
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    You mean something similar to what I have on my site here?

    http://www.blake-foster.com/art.html

    I did that by making a div tag that holds the image, positioned absolutely on top of the rest of the content, and with the display initially set to none. Clicking one of the thumbnails first resizes the div to match the size of the image, then changes the src attribute of the image in the div tag to match the url of the image that was clicked on, and then makes the div visible.

    I can explain more if this is what you're trying to do.
    "Rock and roll ain't noise pollution." - AC/DC

    http://www.blake-foster.com

  3. #3
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    797
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default

    Thanks for your reaction, but that was not exactly what I am looking for.

    Let's say I have thumbnails on the left of the page. What I would like is that, when you click on a thumnail, the larger image appears on the right of that page. This can be done easily with an iframe, but because I want to use the lightbox on the larger img, I cannot place it in an iframe. So how do I solve this ?

  4. #4
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Do you want a vertical column on the left to display the images, and a column on the right for a large one?
    - Mike

  5. #5
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    797
    Thanks
    86
    Thanked 2 Times in 2 Posts

  6. #6
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    797
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default

    Can the coding in this thread be adapted to my needs ?
    http://www.dynamicdrive.com/forums/s...ad.php?t=16055
    Could it have a similar effect ?

  7. #7
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    797
    Thanks
    86
    Thanked 2 Times in 2 Posts

    Default

    Do you want a vertical column on the left to display the images, and a column on the right for a large one?
    Somthing like on this page, only that I want the bigger images to appear at the right (click on the paintings)
    http://users.telenet.be/abstractpain...hilderijen.htm

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
  •