PayneLess_Designs

PayneLess Designs: Text - Select Box - Jump To Action (New Window)

Mar 2nd, 2011
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.02 KB | None | 0 0
  1. <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
  2. <html>
  3. <head>
  4.   <meta http-equiv="content-type" content="text/html; charset=utf-8">
  5.   <title>Select Box - Jump To Action (New Window)</title>
  6.   <meta name="description" content="">
  7.   <meta name="keywords" content="">
  8.   <meta name="author" content="">
  9.   <meta name="generator" content="MSS Website Studio by van IJperen Software Inc. - http://www.marsansoft.nl">
  10.   <link rel="stylesheet" type="text/css" href="css_page_designs.css">
  11. <script type="text/JavaScript">
  12. function MM_jumpMenu(targ,selObj,restore){ //v3.0
  13. var s = selObj.options[selObj.selectedIndex].value;
  14. window.open(s);
  15. if (restore) selObj.selectedIndex=0;
  16. }
  17. </script>
  18. </head>
  19. <body>
  20. <form name="form1" action="null">
  21. <select name="menu1" onChange="MM_jumpMenu('parent',this,0)">
  22. <option selected>-- select --</option>
  23. <option value="http://google.com">Google</option>
  24. <option value="http://answers.yahoo.com/">Yahoo!Answers</option>
  25. </select>
  26. </form>
  27. </body></html>
Advertisement
Add Comment
Please, Sign In to add comment