A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: remove border from pop up

Hybrid View

  1. #1
    Member
    Join Date
    May 2004
    Posts
    94

    ?Remove Border From Pop Up?

    i have a pop up window using some javascript but the window seems to have a border does anyone know how to get rid of it.

    Heres the script

    on (release) {
    getURL ("javascript:NewWindow=window.open('images/deskproject.jpg','newWin','width=500,height=375,le ft=0,top=0,toolbar=No,location=No,scrollbars=No,st atus=No,resizable=No,fullscreen=No');NewWindow.foc us();void(0);");
    }

    Thanks
    Last edited by jamesburrows; 06-11-2004 at 09:31 AM.

  2. #2
    Harmony & Justice Veniogenesis's Avatar
    Join Date
    Jul 2002
    Location
    Washington D.C.
    Posts
    4,434
    That code just opens a new browser window. You'll still have the browser edges.


    What you want are chromeless windows. Invaluable resource:
    http://www.chromeless.org
    Flash Kit Moderator . Duke University
    Thomas Jefferson High School for Science and Technology

  3. #3
    FK's Geezer Mod Ask The Geezer's Avatar
    Join Date
    Jul 2002
    Location
    Out In The Pasture
    Posts
    20,488
    Your opening a jpg in the window. You can't remove the border, but you can make the dimensions 20 pixels bigger than the image size, and it will 'more or less' center it in the new popup.

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Posts
    2,467
    You can use the script in my footer: "Thumbnail Popup Script."


    Substitute this for the anchor tag in the HTML:


    Code:
    on (release){
    getURL ("javascript:newWin('nameOfLargePic.gif','myWin','300','300','top','left');void(0);");
    }
    The rest of the code goes in the <head> section of the HTML.


    -james
    Last edited by jamescover; 06-11-2004 at 05:09 PM.
    "God so loved the world that he gave his only begotten son, so that whosoever believed in him would not perish, but have everlasting life."

    Image Popup Scripting Engine | Thumb PopUp Script | HTML Anchors w/Flash | Popup Script Generator | Seq. Img Swap | Img Swap | Browser Shake | Rand. Img Swap | Inline Img Swap | Screen Res. PopUp | Screen Resolution Popup Script


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center