dubealex
07-14-2005, 06:41 PM
Hi, for my website I need to open the whois search result in a new window. I was already using a small javascript to create a pop-up the size I need, without the button and the status bar. I dont know if I can do this with something else than JavaScript...
Here's my situation:
The place from which the form will be filled is:
www.mydomain.com/file.php
the WHOIS system is in the following place:
www.mydomain.com/whois/whois.php
I want that, when the user click the button or the link, doesn't matter if its either one of those, it will open a pop up of 510X510, with customized window.
I use the following JavaScript code to do a pop-up:
<script language="JavaScript">
<!--
function Popup(page) {
myWin= open("whois/"+page, "fenetre",
"width=510,height=510,status=no,toolbar=no,menubar =no,resizable=yes,scrollbars=yes");
}
// -->
</script>
And I use the following link to use the javascript, on a normal link:
javascript:Popup('whois.php')
The JavaScript above does work perfectly, it was tested.
I just dont know how to end up having the WHOIS result open in its own customized pop-up ? Any other way than JavaScript is welcomed too, for as long as it can open in its own pop-up, its' good.
Here's my situation:
The place from which the form will be filled is:
www.mydomain.com/file.php
the WHOIS system is in the following place:
www.mydomain.com/whois/whois.php
I want that, when the user click the button or the link, doesn't matter if its either one of those, it will open a pop up of 510X510, with customized window.
I use the following JavaScript code to do a pop-up:
<script language="JavaScript">
<!--
function Popup(page) {
myWin= open("whois/"+page, "fenetre",
"width=510,height=510,status=no,toolbar=no,menubar =no,resizable=yes,scrollbars=yes");
}
// -->
</script>
And I use the following link to use the javascript, on a normal link:
javascript:Popup('whois.php')
The JavaScript above does work perfectly, it was tested.
I just dont know how to end up having the WHOIS result open in its own customized pop-up ? Any other way than JavaScript is welcomed too, for as long as it can open in its own pop-up, its' good.