SHARE
TWEET

servisebin

vincecudz Sep 9th, 2013 9 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <script src="http://maps.googleapis.com/maps/api/js?key=AIzaSyDY0kkJiTPVd2U7aTOAwhc9ySH6oHxOIYM&sensor=true">
  2.  
  3. </script>
  4.  
  5. <script>
  6.  
  7. /* Script for Google maps geo Marker */
  8.  
  9. var GeoLocationID = 6;
  10.  
  11. var map;
  12.  
  13. var marker;
  14.  
  15. var clickFlag = 0;
  16.  
  17. var myCenter=new google.maps.LatLng(39.436192999314095, -101.77734375);
  18.  
  19. function initialize()
  20.  
  21. {
  22.  
  23. var mapProp = {
  24.  
  25.   center:myCenter,
  26.  
  27.   zoom:4,
  28.  
  29.   mapTypeControl:true,
  30.  
  31.    sensor:true,
  32.  
  33.     mapTypeControlOptions: {
  34.  
  35.       style:google.maps.MapTypeControlStyle.DROPDOWN_MENU
  36.  
  37.     },
  38.  
  39.   mapTypeId:google.maps.MapTypeId.ROADMAP
  40.  
  41. };
  42.  
  43.   map = new google.maps.Map(document.getElementById("googleMap"),mapProp);
  44.  
  45.   google.maps.event.addListener(map, 'click', function(event) {
  46.  
  47.     placeMarker(event.latLng);
  48.  
  49.   });
  50.  
  51. }
  52.  
  53. function placeMarker(location) {
  54.  
  55. if(clickFlag == 0) {
  56.  
  57.   marker = new google.maps.Marker({
  58.  
  59.     position: location,
  60.  
  61. animation:google.maps.Animation.BOUNCE,
  62.  
  63.     map: map,
  64.  
  65.   });
  66.  
  67.   //var infowindow = new google.maps.InfoWindow({
  68.  
  69.   //  Content: ''+ location
  70.  
  71.   //});
  72.  
  73. //infowindow.open(map,marker);
  74.  
  75. clickFlag = 1;
  76.  
  77. }
  78.  
  79. else {
  80.  
  81. marker.setPosition( location);
  82.  
  83. map.panTo(location);
  84.  
  85. }
  86.  
  87. //this ID of the hidden field should be common.
  88.  
  89. document.getElementById("input_"+GeoLocationID).value = location;
  90.  
  91. //alert(document.getElementById("mapLatLang").value);
  92.  
  93. }
  94.  
  95. google.maps.event.addDomListener(window, 'load', initialize);
  96.  
  97. </script>
  98.  
  99. <script src="http://cdn.jotfor.ms/static/jotform.js?3.1.894" type="text/javascript"></script>
  100.  
  101. <script type="text/javascript">
  102.  
  103.    JotForm.init(function(){
  104.  
  105.       $('input_3').hint('ex: myname@example.com');
  106.  
  107.    });
  108.  
  109.  
  110.  
  111. <script src="http://cdn.jotfor.ms/static/jotform.js?3.1.1499" type="text/javascript"></script>
  112.  
  113. <script type="text/javascript">
  114.  
  115.    JotForm.init();
  116.  
  117. </script>
  118.  
  119. <link target="_blank" href="http://cdn.jotfor.ms/static/formCss.css?3.1.1499" rel="nofollow" rel="stylesheet" type="text/css" />
  120.  
  121. <link type="text/css" rel="stylesheet" target="_blank" href="http://cdn.jotfor.ms/css/styles/nova.css?3.1.1499" rel="nofollow" />
  122.  
  123. <link type="text/css" media="print" rel="stylesheet" target="_blank" href="http://cdn.jotfor.ms/css/printForm.css?3.1.1499" rel="nofollow" />
  124.  
  125. <style type="text/css">
  126.  
  127.     .form-label{
  128.  
  129.         width:150px !important;
  130.  
  131.     }
  132.  
  133.     .form-label-left{
  134.  
  135.         width:150px !important;
  136.  
  137.     }
  138.  
  139.     .form-line{
  140.  
  141.         padding-top:12px;
  142.  
  143.         padding-bottom:12px;
  144.  
  145.     }
  146.  
  147.     .form-label-right{
  148.  
  149.         width:150px !important;
  150.  
  151.     }
  152.  
  153.     .form-all{
  154.  
  155.         width:690px;
  156.  
  157.         color:#555 !important;
  158.  
  159.         font-family:'Lucida Grande';
  160.  
  161.         font-size:14px;
  162.  
  163.     }
  164.  
  165. </style>
  166.  
  167.  
  168.  
  169. <form class="jotform-form" action="http://submit.jotform.co/submit/32505530488858/" method="post" name="form_32505530488858" id="32505530488858" accept-charset="utf-8">
  170.  
  171.   <input type="hidden" name="formID" value="32505530488858" />
  172.  
  173.   <div class="form-all">
  174.  
  175.     <ul class="form-section">
  176.  
  177.       <li class="form-line" id="id_4">
  178.  
  179.         <label class="form-label-left" id="label_4" for="input_4"> İsim </label>
  180.  
  181.         <div id="cid_4" class="form-input"><span class="form-sub-label-container"><input class="form-textbox" type="text" size="10" name="q4_isim4[first]" id="first_4" />
  182.  
  183.             <label class="form-sub-label" for="first_4" id="sublabel_first"> Adınız </label></span><span class="form-sub-label-container"><input class="form-textbox" type="text" size="15" name="q4_isim4[last]" id="last_4" />
  184.  
  185.             <label class="form-sub-label" for="last_4" id="sublabel_last"> Soy Adınız </label></span>
  186.  
  187.         </div>
  188.  
  189.       </li>
  190.  
  191.       <li class="form-line" id="id_5">
  192.  
  193.         <div id="cid_5" class="form-input-wide">
  194.  
  195.           <div id="text_5" class="form-html">
  196.  
  197.             <div>
  198.  
  199.               Haritadan Biniş yerinizi se&ccedil;iniz
  200.  
  201.               <div id="googleMap" style="width: 100%; height: 527px; background: #5A8E4A;">
  202.  
  203.                 Harita
  204.  
  205.               </div>
  206.  
  207.             </div>
  208.  
  209.           </div>
  210.  
  211.         </div>
  212.  
  213.       </li>
  214.  
  215.       <li class="form-line" id="id_2">
  216.  
  217.         <div id="cid_2" class="form-input-wide">
  218.  
  219.           <div style="margin-left:156px" class="form-buttons-wrapper">
  220.  
  221.             <button id="input_2" type="submit" class="form-submit-button">
  222.  
  223.               Gönder
  224.  
  225.             </button>
  226.  
  227.           </div>
  228.  
  229.         </div>
  230.  
  231.       </li>
  232.  
  233.       <li style="display:none">
  234.  
  235.         Should be Empty:
  236.  
  237.         <input type="text" name="website" value="" />
  238.  
  239.       </li>
  240.  
  241.     </ul>
  242.  
  243.   </div>
  244.  
  245.   <input type="hidden" id="simple_spc" name="simple_spc" value="32505530488858" />
  246.  
  247.   <script type="text/javascript">
  248.  
  249.   document.getElementById("si" + "mple" + "_spc").value = "32505530488858-32505530488858";
  250.  
  251.   </script>
  252.  
  253.   <input type="hidden" class="form-hidden" value="" id="input_6" name="q6_geolocation6" />
  254.  
  255. </form>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top