link to picture in seperate small window

Discussion in 'HTML' started by dre, Sep 16, 2006.

  1. dre

    dre Guest

    wich autosizes to the picture...

    i found this on a site,link does not work
    anymore,only for showing the code.
    but how can i adjust this to autosize the opening
    window?

    <a href="http://www.jagg/big.jpg"
    onclick="window.open('http://www.jaggle.nl/log/includes/photo.php?img=aHR0cDovL3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbmJlaGEuanBn&amp;w=450&amp;h=804&amp;t=','imagewindow','width=450,height=804,directories=no,location=no,menubar=no,scrollbars=no,status=no,toolbar=no,resizable=no,left=0,top=0');return
    false" target="_self">link</a>

    thanks,andre
    dre, Sep 16, 2006
    #1
    1. Advertising

  2. In article <450c3ac9$0$1094$>, dre <v> wrote:

    > wich autosizes to the picture...
    >
    > i found this on a site,link does not work
    > anymore,only for showing the code.
    > but how can i adjust this to autosize the opening
    > window?
    >
    > <a href="http://www.jagg/big.jpg"
    > onclick="window.open('http://www.jaggle.nl/log/includes/photo.php?img=aHR0cDov
    > L3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbmJlaGEuanBn&amp;w=450&amp;h=8
    > 04&amp;t=','imagewindow','width=450,height=804,directories=no,location=no,menu
    > bar=no,scrollbars=no,status=no,toolbar=no,resizable=no,left=0,top=0');return
    > false" target="_self">link</a>


    Andre,
    See the "width=450,height=804" section of that code? They're the numbers
    you need to manipulate.

    You should probably re-ask this question in comp.lang.javascript since
    that's what this is about. Or better yet, Google for "resize javascript
    popup" and you'll find hundreds or perhaps thousands of examples.


    Good luck

    --
    Philip
    http://NikitaTheSpider.com/
    Whole-site HTML validation, link checking and more
    Nikita the Spider, Sep 16, 2006
    #2
    1. Advertising

  3. dre

    dre Guest

    Nikita the Spider schreef:
    > In article <450c3ac9$0$1094$>, dre <v> wrote:
    >
    >> wich autosizes to the picture...
    >>
    >> i found this on a site,link does not work
    >> anymore,only for showing the code.
    >> but how can i adjust this to autosize the opening
    >> window?
    >>
    >> <a href="http://www.jagg/big.jpg"
    >> onclick="window.open('http://www.jaggle.nl/log/includes/photo.php?img=aHR0cDov
    >> L3d3dy5qYWdnbGUubmwvaW1hZ2VzLzIwMDYwOTE1X2JpZ2dlbmJlaGEuanBn&amp;w=450&amp;h=8
    >> 04&amp;t=','imagewindow','width=450,height=804,directories=no,location=no,menu
    >> bar=no,scrollbars=no,status=no,toolbar=no,resizable=no,left=0,top=0');return
    >> false" target="_self">link</a>

    >
    > Andre,
    > See the "width=450,height=804" section of that code? They're the numbers
    > you need to manipulate.
    >
    > You should probably re-ask this question in comp.lang.javascript since
    > that's what this is about. Or better yet, Google for "resize javascript
    > popup" and you'll find hundreds or perhaps thousands of examples.
    >
    >
    > Good luck
    >



    thanks,i was afraid of that...
    dre, Sep 17, 2006
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Eric
    Replies:
    0
    Views:
    1,348
  2. Freshman
    Replies:
    5
    Views:
    1,020
  3. moondaddy
    Replies:
    2
    Views:
    568
    Steven Cheng[MSFT]
    Oct 16, 2006
  4. Blue®
    Replies:
    4
    Views:
    777
    Blue®
    Sep 27, 2003
  5. Replies:
    8
    Views:
    1,224
    Mick White
    Apr 19, 2005
Loading...

Share This Page