how to make a command button in html page that when i click it ,it will kink to 2 sites ,for eg:favourite.html and hobby.html?
Please help me,THANK YOU VERY MUCH
Printable View
how to make a command button in html page that when i click it ,it will kink to 2 sites ,for eg:favourite.html and hobby.html?
Please help me,THANK YOU VERY MUCH
It would seem you asked the same question here.
Phreak
Here a solution!
<?xml version="1.0" encoding="windows-1253"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Untitled Document</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1253" />
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<form name="form1" id="form1" method="post" action="">
<input name="Submit" type="submit" onclick="MM_openBrWindow('newwindow.html','','width=800,height=600');MM_openBrWindow('myotherpage.ht ml','','width=800,height=600')" value="Submit" />
</form>
</body>
</html>
I made it with dreamweaver MX 2004! This opens two windows and loads
1: newwindow.html
2: myotherpage.html
Is it fine for you?