Advertisement
Guest User

Untitled

a guest
Mar 8th, 2012
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.64 KB | None | 0 0
  1. <script type="text/javascript">
  2. function submitForm() {
  3. var list = document.navList.subMenu;
  4. var page = list.options[ list.selectedIndex ].value;
  5. if (page != "home")
  6. window.location = page;
  7. return false;
  8. }
  9. </script>
  10.  
  11. <form name="navList" onsubmit="return submitForm();">
  12. <select name="subMenu" style="width:90%; height:25px; font-size:16px; border-radius:3px; border:1px solid #cccccc;">
  13. <option value="home"> Select Type of Insurance </option>
  14. <option value="http://www.lenderins.com/request-a-quote/auto-quote/"> Auto Quote </option>
  15. <option value="http://www.lenderins.com/request-a-quote/home-quote/"> Home Quote </option>
  16. </select><br />
  17. <div style="padding-left:55px;"><input style="width:150px; height:40px; font-size:20px; text-shadow:0 1px 1px #ffffff;" type="submit" value="Get Started" /></div>
  18. </form>
  19.  
  20. <script type="text/javascript">
  21. function submitForm() {
  22. var list = document.claim.claimIns;
  23. var page = list.options[ list.selectedIndex ].value;
  24. if (page != "home")
  25. window.location = page;
  26. return false;
  27. }
  28. </script>
  29.  
  30. <form name="claim" onsubmit="return submitForm();">
  31. <select name="claimIns" style="width:90%; height:25px; font-size:16px; border-radius:3px; border:1px solid #cccccc;">
  32. <option value="home"> Select Type of Insurance </option>
  33. <option value="http://www.lenderins.com/claims/"> Auto Claim </option>
  34. <option value="http://www.lenderins.com/claims/"> Home Claim </option>
  35. <option value="http://www.lenderins.com/claims/"> Other...
  36. </select><br />
  37. <div style="padding-left:55px;"><input style="width:150px; height:40px; font-size:20px; text-shadow:0 1px 1px #ffffff;" type="submit" value="Get Started" /></div>
  38. </form>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement