View Full Version : window.open
pankaj
03-06-2003, 04:27 AM
window.open does not open a new window. I tried code written by oher programmers which works on their machine but not on my machine. I use IE .Do i need to change any settings?
Mhtml
03-06-2003, 05:01 AM
Hmm.. Do you have any pop-up killer software running?
Are you actually executing the code?
Can I see your code, you may be doing something wrong. :)
cg9com
03-06-2003, 05:01 AM
exactly how are you using this method?
this is a very simplified version, but this is how its done.
<script type="text/javascript">
window.open("website.html");
</script>
Mhtml
03-06-2003, 06:41 AM
Just a thought, is javascript enabled on your browser?
pankaj
03-07-2003, 04:25 AM
alert works . I dont have any popup killer s/w runnning
function Call(a)
{
alert("function called");
switch(a)
{
case 1:
window.open ("http://www.operamail.com")
break;
case 2:
window.open("http://www.mail.yahoo.com")
break;
case 3:
window.open("http://www.indiatimes.com")
break;
case 4:
window.open("http://www.google.com")
break;
}
}
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.