Frosty_spl
11-02-2006, 01:28 PM
I need to make a popup stay in focus, (up all the time). Im triggering it through flash. Would I put the code in flash, or in the HTML that is popped up?
I have popup windows for my portfolio section of my website. I need the popup to not go under the browser window, and stay in focus.
also, is this what would do it? onBlur="window.focus()"
my flash code is:on (release) {
getURL ("javascript:openNewWindow('portfolio/clc1.html','thewin','height=413,width=533,toolbar= no,scrollbars=yes');");
}
my HTML code is:<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
popup=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>
I have popup windows for my portfolio section of my website. I need the popup to not go under the browser window, and stay in focus.
also, is this what would do it? onBlur="window.focus()"
my flash code is:on (release) {
getURL ("javascript:openNewWindow('portfolio/clc1.html','thewin','height=413,width=533,toolbar= no,scrollbars=yes');");
}
my HTML code is:<script language="JavaScript">
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
popup=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>