SitePoint Sponsor

User Tag List

Results 1 to 4 of 4

Hybrid View

  1. #1
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    another pop-up issue

    When I do my pop-up it has a blank white space above and to the left of the image. How do I remove this?

  2. #2
    SitePoint Zealot rae's Avatar
    Join Date
    Apr 2003
    Location
    bedroom :P
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    look for the body tag in your html and set

    <BODY MARGINWIDTH=0 MARGINHEIGHT=0 TOPMARGIN=0 BOTTOMMARGIN=0 LEFTMARGIN=0 RIGHTMARGIN=0>

    ...with this you can set all your page borders to zero.

    hope this helps!

  3. #3
    SitePoint Addict
    Join Date
    Dec 2001
    Posts
    395
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Actually Im just popping an image:

    function openwindow3()
    {
    window.open("washp.jpg","my_new_window","toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no,copyhistory=yes,width=250,height=300,border=0")
    }

    Any other ideas?

  4. #4
    SitePoint Zealot rae's Avatar
    Join Date
    Apr 2003
    Location
    bedroom :P
    Posts
    157
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Rockwilda
    Actually Im just popping an image:

    function openwindow3()
    {
    window.open("washp.jpg",...}
    yepp don't open directly an image (actually "washp.jpg").
    Make a html file, and put the image in it. you know... <img src=""washp.jpg.......

    and then write the above "<BODY ...." code in it.

    It will be ok.


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
  •