|
-
Apr 10th, 2004, 11:23 PM
#1
Thread Starter
Addicted Member
href...
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
-
Apr 11th, 2004, 03:21 PM
#2
It would seem you asked the same question here.
Phreak
Visual Studio 6, Visual Studio.NET 2005, MASM
-
Apr 11th, 2004, 03:37 PM
#3
Hyperactive Member
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?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|