Results 1 to 3 of 3

Thread: href...

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Jun 2002
    Location
    VIETNAM
    Posts
    209

    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

  2. #2
    G&G Moderator chemicalNova's Avatar
    Join Date
    Jun 2002
    Location
    Victoria, Australia
    Posts
    4,246
    It would seem you asked the same question here.


    Phreak

    Visual Studio 6, Visual Studio.NET 2005, MASM

  3. #3
    Hyperactive Member DarkX_Greece's Avatar
    Join Date
    Jan 2004
    Location
    Athens (Greece)
    Posts
    315
    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?
    Short CV:
    1. Visual Basic 6 Programmer
    2. Web Expert


    Botonakis Web Services

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width