View Full Version : Pop-up window question
TheDoctor
12-24-2003, 01:33 PM
Using the following script can you make this window automatically pop up and at the same time be used as a link from the page incase the user has a pop up blocker and how is it done?
Thanks
Here is the script information:
Code:
PopUP (#)
Or any random script using:
http://javascript.internet.com/generators/popup-window.html
Thanks again
ronniethedodger
12-24-2003, 05:07 PM
Didn't I just see this post in another forum....Site Design ???
TheDoctor
12-25-2003, 10:39 AM
Yes, as a matter of fact you did. It's been almost 12 hours now and still no answer to the question. I figure the more boards the quicker the response.
If anybody could help I would appreciate it.
Thank you
ronniethedodger
12-25-2003, 04:34 PM
For me, I do not know exactly what the question is that you are trying to ask. It is a compound question too and I am having a hard time figuring out what is you are actually saying.
Perhaps if you could rephrase it in terms of what you are trying to accomplish step-by-step, then we might have a better way of helping you with your problem.
PBITech
12-26-2003, 09:51 AM
Answer!!!!!!!
<html>
<head>
<script type="text/javascript">
<!--
function hello(depage, windowname)
{
if (! window.focus)return true;
var href;
if (typeof(depage) == 'string')
href=depage;
else
href=depage.href;
window.open(href, windowname,'toolbar=no,location=no, directories=no, status=no, menubar=no, scrollbars=no, resizable=no, width=600, height=410, left=50, top=50');
return false;
}
//-->
</script>
</head>
<body onLoad="hello('http://webproworld.com/', 'adthingy')">
<p align="center">
>>>Free Martinis<<< (http://webproworld.com/)
</p>
</body>
</html>
ronniethedodger
12-26-2003, 01:40 PM
I never was really good at Jeopardy. :-(
AlexBel
12-28-2003, 03:04 PM
Using the following script can you make this window automatically pop up and at the same time be used as a link from the page incase the user has a pop up blocker and how is it done?
Maybe you will use layers on the page.
In some layers you put <IFRAME> and you visitor can't close this window.
starrwriter
12-28-2003, 11:21 PM
Using the following script can you make this window automatically pop up and at the same time be used as a link from the page in case the user has a pop up blocker and how is it done?
Why would you want to foist an automatic pop window on a visitor who went to the trouble of installing a popup blocker to avoid this very thing? Respect the user's wishes and insert a link to give him the option of opening a pop window or not.