Hello everyone ,
I have new problem about popup, this is condition
if i click test 2, test 3, must be open popup.
if i click test 1 not open popup ( i want like this ) but
if i have much link in all pages and i must put (onclick="javascript:exit=false;leave()"
every link all pages,
Please solution or other techniques for this problem ,
Thank's
---------------------
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
var exit=true;
function leave()
{
if (exit)
open("popup/popupexit.htm",
'xXexit','location=0,menubar=0,toolbar=0,person albar=0,status=0,scrollbar=0,width=531,height=500,top=0,left=0');
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="leave()">
<br>
<a href=test1.html onclick="javascript:exit=false;leave()">test 1</a>
<a href=test2.html>test 2</a>
<a href=test3.html>test 3</a>
</body>
</html>
------------------------
I have new problem about popup, this is condition
if i click test 2, test 3, must be open popup.
if i click test 1 not open popup ( i want like this ) but
if i have much link in all pages and i must put (onclick="javascript:exit=false;leave()"
Please solution or other techniques for this problem ,
Thank's
---------------------
<html>
<head>
<title></title>
<script language="JavaScript">
<!--
var exit=true;
function leave()
{
if (exit)
open("popup/popupexit.htm",
'xXexit','location=0,menubar=0,toolbar=0,person albar=0,status=0,scrollbar=0,width=531,height=500,top=0,left=0');
}
// -->
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" onunload="leave()">
<br>
<a href=test1.html onclick="javascript:exit=false;leave()">test 1</a>
<a href=test2.html>test 2</a>
<a href=test3.html>test 3</a>
</body>
</html>
------------------------