Results 1 to 2 of 2

Thread: javascript popup with variable width and height

  1. #1
    Join Date
    Sep 2004
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript popup with variable width and height

    Hello,

    I have a photoalbum and I can read the width and the height of the photo but now I am searching for a popup script with variable width and height can somebody help me with that?

    Many thanks,

    Edwin

  2. #2
    Join Date
    Sep 2004
    Location
    Indonesia
    Posts
    69
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Code:
    <a href=# onClick="window.open('http://mysite.com/pictures/pict01.jpg','mypicture','width=300, height=300');">picture 01</a>
    That will open pict01.jpg in a 300px x 300px window.

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
  •