22 users online (0 members and 22 guests)  


  Results 1 to 10 of 10

Related

  1. First Thread    Forum: HTML Forum
    Replies: 0
  2. Passing value from parent window to child window    Forum: Javascript Forum
    Replies: 0
  3. Replies: 1
  1. #1
    southsidesk8er1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    8

    Another Pop-Up Window Thread

    Well I've been part of this site for like 30 minutes now and well before posting this I looked at alot of the pages in this forum but can't find anything. I've also googled it and nothing helps so I'm asking for some help.
    So first thing is I'm making this site http://www.southwestelitekennels.com for a friend. On the males and females pages I have the view more pictures opening in a new window. I want to make it look more professional by putting a fixed width of 950 and a height of about 400 and at the same time I want the verticle scrollbar.
    Once again, I did my homework before I posted this and nothing helped me out or answered my questions....

  2. #2
    krak_d's Avatar
    Senior Member

    Status
    Offline
    Join Date
    Mar 2004
    Location
    Liverpool
    Posts
    166

    Re: Another Pop-Up Window Thread

    Hi ,

    you would be best making all the thumbnail images on one page linked to the larger versions for your pop up window. eg.

    HTML Code:
    <a href="image.jpg" target="newwin" onClick="window.open('image.jpg', 'newwin',  config='width=950, height=400, toolbar=no, menubar=no, scrollbars=yes, resizeable=no, location=no, directories=no, status=no,'); return false"><img src="thumbnail.jpg" width="50" height="50" border="0" alt="click to view large image"></a>
    hope this helps.

  3. #3
    southsidesk8er1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    8

    Re: Another Pop-Up Window Thread

    thanks for the help. but thats not what im looking for cause if I can't do it with the pictures, I still want to do it with the pedigrees.

  4. #4
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Another Pop-Up Window Thread

    I think you may have been confused by Krak's inclusion of the thumbnail image in the link.
    If you change the line
    Code:
    <a href="Mutumbo.html" target="_blank">View More Pictures</a>
    to
    Code:
    <a href="Mutumbo.html" target="newwin" onClick="window.open('image.jpg', 'newwin',  config='width=950, height=400, toolbar=no, menubar=no, scrollbars=yes, resizeable=no, location=no, directories=no, status=no,'); return false">View More Pictures</a>
    it should work as required.
    Note that in IE7 beta the user can opt to have pop-ups open as a new tab, which renders the window sizing useless!

  5. #5
    southsidesk8er1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    8

    Re: Another Pop-Up Window Thread

    alright, thanks alot

  6. #6
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Another Pop-Up Window Thread

    Quote Originally Posted by southsidesk8er1
    alright, thanks alot
    It's a pleasure ... did it work?

  7. #7
    southsidesk8er1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    8

    Re: Another Pop-Up Window Thread

    well do I have to have the 'image.jpg' part of the tag? I just want it to open in a new fixed window and scroll vertically.

  8. #8
    HTML's Avatar
    Administrator

    Status
    Offline
    Join Date
    Aug 2000
    Posts
    3,445

    Follow HTML On Twitter Add HTML on Facebook Add HTML on Google+ Add HTML on Linkedin Visit HTML's Youtube Channel

    Re: Another Pop-Up Window Thread

    Have you tried the popupmaker http://www.ahfb2000.com/popupmakertool.php ? You can use a fixed width and height, if the image is taller or wider it will scroll if set in the tool to do so.

    D
    AHFBWEB Less customers per server, more power for you!

    Business Class Shared Hosting

  9. #9
    southsidesk8er1's Avatar
    New User

    Status
    Offline
    Join Date
    Mar 2006
    Posts
    8

    Re: Another Pop-Up Window Thread

    wow. thanks alot. I should of looked more before posting.

  10. #10
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: Another Pop-Up Window Thread

    Quote Originally Posted by southsidesk8er1
    well do I have to have the 'image.jpg' part of the tag? I just want it to open in a new fixed window and scroll vertically.
    Sorry, that was a typo.
    Should have read
    Code:
    <a href="Mutumbo.html" target="newwin" onClick="window.open('Mutumbo.html', 'newwin',  config='width=950, height=400, toolbar=no, menubar=no, scrollbars=yes, resizeable=no, location=no, directories=no, status=no,'); return false">View More Pictures</a>
    That opens the right page for me, in a correctly sized window.(after I changed the links from relative paths, of course!)



Tags for this Thread