PDA

View Full Version : Open e new URL



lucignolo
11-04-2008, 11:46 AM
Helly guys..
Can anybody help me with this request... I want that when a person goes on my site www.mysite.com In a new window must be opend another page www.mysite.com/example.php so just like a popup but i want to be opened this one for example in a lot of web sites i've seen this I go to www.site1.com in a new window is opened www.site2.com.

Thank you to everybody

Nile
11-04-2008, 12:23 PM
<script type="text/javascript">
window.onload = function(){
window.open('http://www.google.com','Google'); //website, then title
};
</script>

That should do it, just change the highlighted to the website name, and then the next field is the title (I think :o)