SitePoint Sponsor

User Tag List

Results 1 to 3 of 3
  1. #1
    SitePoint Wizard trampt's Avatar
    Join Date
    Jan 2003
    Location
    Los Angeles, CA
    Posts
    1,997
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    changing a popup window size onload

    I'm doing a site for a photographer and he wants to have larger version of his images in a popup windows. The photo sizes are either 500px X 350px or 350px X 500px. In any given series of photos they change from portrait to landscape and I want to resize the popup box to change with the image size loaded in it. Also I am trying to incorporate a forward and back button into the design.

    I guess I would create a simple two row table and load the image in the first row, then there will be a second row with a height of about 20px that will have the forward and back buttons in it. I guess I would put the onload tag onto the image since it would resize around it once it reloads? I imagine I would also have to incorporate the extra 20px height from the second row in the onload resize somehow.

    If someone has an answer or maybe just a better way to do this I am all ears. I've seen someone do something similar but I can't remember where I saw it.

    Thanks,
    Keegan

  2. #2
    gingham dress, army boots... silver trophy redux's Avatar
    Join Date
    Apr 2002
    Location
    Salford / Manchester / UK
    Posts
    4,838
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    moved to more appropriate forum...
    re·dux (adj.): brought back; returned. used postpositively
    [latin : re-, re- + dux, leader; see duke.]
    WaSP Accessibility Task Force Member
    splintered.co.uk | photographia.co.uk | redux.deviantart.com

  3. #3
    SitePoint Zealot simplyunique's Avatar
    Join Date
    Jun 2003
    Location
    Montreal
    Posts
    166
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If you've got dreamweaver and are going to use links or thumbnails to be clickable and show your image in a popup then "justsopicturewindow" is the extension you're looking for.

    Here's what it does:
    Extension Demo:
    http://www.jeumedia.com/albook/sampl.../sample41.html

    It's supposed to be located at valleywebdesigns.. site's not coming up.. hmm.. let me see..
    here: http://www.valleywebdesigns.com/vwd_jspwX.htm

    heres the dreamweaver exchange link:
    http://www.macromedia.com/cfusion/ex...hange%20Search
    Fonkuscious say: Sink a foot in into my code and stub your toe


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
  •