Ask a Question related to Macromedia Flash Sitedesign, Design and Development.
-
TeeMouse #1
Centering a popup window?
I am creating a Flash site that opens a popup window when the user clicks a
button. I have been able to edit the html code, using notepad, to achieve this,
however the popup automaticaly appears in the top left corner of the screen.
does anyone know what code I need to make it appear in the centre of the screen?
I would apreciate any help you could offer.
TeeMouse Guest
-
Popup menu on popup window
Hi, I want to create a popup menu when a button on a popup window is clicked. I have this in my popup window: myMenu =... -
centering stand alone window
hi, is there any way that when you release a stand alone projector (at least for windows), you can tell it to run center_aligned in the screen? (not... -
centering flash in browser window
hello. i know this is asked a lot but i looked at previous posts and none of the solutions helped me. i am making a website purely in flash mx. i... -
can a popup window return data to parent window?
Is it possible to do the following in php: I want to have a main form open. In the form I want a button that will open a popup window so the user... -
REQ: Help with popup window....
I am a confessed novice with Dreamweaver MX & web design. I am looking for some help in creating a popup window, NOT a popup message, on my... -
creativity06 #2
Re: Centering a popup window?
Try this. Just fix a few things. It will work.
++ place this in the head tag ++
function MM_openBrWindow (theURL, winName, features){
var popup_width=731
var popup_height=316
var screen_width=window.screen.width
var screen_height=window.screen.height
var popup_left=Math.round((screen_width-popup_width)/2)
var popup_top=Math.round((screen_height-popup_height)/2)
newwindow=window.open(theURL,"gallery","height=" + popup_height + ",width=" +
popup_width +
",menubar=0,resizable=0,scrollbars=no,status=0,tit lebar=no,toolbar=0," +
"left=" + popup_left + ",top=" + popup_top);
if (window.focus) {newwindow.focus()}
}
++ place this in the map area ++
onclick="MM_openBrWindow('home.html')"
creativity06 Guest



Reply With Quote

