Received feedback on my site and while the overall general consensus has been positive, most of the headache and concerns have been with the POP UP window to launch my site.
Description:
My site has a basic index.html that has a javascript “body on load” function which launches a 700x400 window that contains my flash website. See it here: www.steadyscene.com
Issue:
The issue is that pop blockers, anti virus programs are preventing the site from opening in a new launched window.
Question:
Fundamentally, what is the best way to launch a new window so that the window is not blocked?
Here is the script I am using:
<SCRIPT LANGUAGE=“JavaScript”>
<!-- Begin
function popUp(URL) {
day = new Date();
id = day.getTime();
eval(“page” + id + " = window.open(URL, ‘" + id + "’, ‘toolbar=0,scrollbars=0,location=0,statusbar=0,menubar=0,resizable=0,width=700,height=400,left = 162,top = 184’);");
}
// End -->
</script>
and then in the body: BODY onLoad=“javascriptopUp(‘enter.html’)”
Final thoughts:
Just as a observation, when I go to sites like www.callofduty.com they use a swf file (ENTER) which launches a new Window. Even with pop up blocker enabled, it allows their window to be launched. What am I missing?
Regards,
Daniel