-
?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.
-
Harmony & Justice
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
-
FK's Geezer Mod
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.
-
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|