插件目录

变更集1513657


忽略:
时间戳:
2016年12月10日下午11:34:53(8年(之前)
作者:
尼古拉·巴瓦罗
消息:

修复文档大小调整时的JS错误

位置:
控制表-7/trunk/js的位置模块
文件夹:
2已编辑

图例:

未修改
补充
远离的
  • 位置-模块-用于控制-表格-7/trunk/js/cf7-位置-模块.js

    1513635兰特 1513657兰特  
    2020jQuery('#cf7-geocode-address').css(“width”,width);
    2121}
     22var映射;
    2223
    2324/**
     
    4445*地图初始化
    4546         */
    46        无功功率,无功功率map=新GMap({
     47       map=新GMap({
    4748div:“#cf7-location-map”,
    4849滚轮:错误,
  • 位置-模块-用于控制-表格-7/trunk/js/cf7-位置-模块.min.js

    1513635兰特 1513657兰特  
    55 */
    66
    7 var ui_reload=function(){var a=jQuery(“.wpcf7”).outerWidth(),b=j查询(“#geocode-link”).out宽度(),c=j查询+“px”),a=a-b-5,jQuery(“#cf7-geocode-address”).css(“宽度”,a)};jQuery(window).load(function(){ui_reload()}),jQuery});jQuery(“#geocode-link”).单击(function(){GMaps.geocodehttp://maps.google.com/maps?z=12&q=loc:“,url+=c.lat(),url++”+“,url+=c.lng(),jQuery(”#cf7-location-url“).val(url),f.removeMarkers(),f.addMarker({lat:c.lat),lng:c.lng.setZoom(16)}else alert(e)})})})、jQuery(窗口).resize(函数){jQuery(“#cf7位置图”).length&&(map.refresh(),ui_reload())});
     7var ui_reload=function(){var a=jQuery(“.wpcf7”).outerWidth(),b=j查询(“#geocode-link”).out宽度(),c=j查询+“px”),a=a-b-5,jQuery(“#cf7-geocode-address”).css(“宽度”,a)},映射;jQuery(window).load(function(){ui_reload()}),jQuery}),jQuery(“#geocode-link”)点击(function(){GMaps.geocode({address:jQuery(“#cf7-geocode-address”).val(),回调:函数(a,b){if(“OK”==b){var c=a[0].geometry.location;map.setCenter(c.lat()、c.lng())),jQueryhttp://maps.google.com/maps?z=12&q=loc:“,url+=c.lat(),url++”+“,url+=c.lng(),jQuery(”#cf7-location-url“).val(url),map.removeMarkers(),map.addMarker({lat:c.lat.setZoom(16)}else alert(e)}})}),jQuery(window).resize(function(){jQuery;
注:请参见TracChangeset(跟踪变更集)获取有关使用变更集查看器的帮助。