View Full Version : automatic link
jusanthermemory
02-25-2004, 05:09 PM
Im trying to find a code to put on your site that when u go to your site it automatically brings up another window and loads another site that has all the stuff your saying and the first window is just a pic. and a link so that if u close the second window u can get back to it. please help. wow that sounds kinda confusing
agent002
02-26-2004, 02:23 AM
Apparently you don't want your visitors to ever return?
mlinks
03-02-2004, 01:52 AM
Thats called a popup
far too common for my liking. but thats not to say you don't have a legitimate reason for it
<html>
<head>
<script language="JavaScript">
function popup(uri)
{
var newwin = window.open(uri);
newwin.focus()
}
</script>
</head>
<body onload="popup('http://www.secondsite.com')">
pic goes here
</body>
</html>
agent002
03-02-2004, 08:53 AM
I'm sorry, I have apparently read your question wrong. I thought you wanted to have a popup which opens itself again when you close it. mlinks' code should do it.
vBulletin® v3.6.7, Copyright ©2000-2009, Jelsoft Enterprises Ltd.