ee
Showing
3 changed files
with
12 additions
and
7 deletions
| ... | @@ -37,14 +37,15 @@ jQuery( document ).ready(function($) { | ... | @@ -37,14 +37,15 @@ jQuery( document ).ready(function($) { |
| 37 | }, 500); | 37 | }, 500); |
| 38 | 38 | ||
| 39 | }); | 39 | }); |
| 40 | $(document).on("submit","#wpsl-form",function() { | ||
| 41 | console.log('ssssss'); | ||
| 42 | $('#wpsl-result-list').show(); | ||
| 43 | $('#wpsl-gmap').show(); | ||
| 44 | }); | ||
| 45 | 40 | ||
| 46 | 41 | ||
| 47 | 42 | ||
| 43 | $( "#wpsl-search-input" ).on( "keydown", function(event) { | ||
| 44 | if(event.which == 13){ | ||
| 45 | $('#wpsl-s').show(); | ||
| 46 | } | ||
| 47 | }); | ||
| 48 | |||
| 48 | $( "#register-here" ).on( "keydown", function(event) { | 49 | $( "#register-here" ).on( "keydown", function(event) { |
| 49 | if(event.which == 13){ | 50 | if(event.which == 13){ |
| 50 | $('.wp-block-group.register').toggle(); | 51 | $('.wp-block-group.register').toggle(); | ... | ... |
| ... | @@ -5,7 +5,7 @@ | ... | @@ -5,7 +5,7 @@ |
| 5 | Author: the Understrap Contributors | 5 | Author: the Understrap Contributors |
| 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors | 6 | Author URI: https://github.com/understrap/understrap-child/graphs/contributors |
| 7 | Template: understrap | 7 | Template: understrap |
| 8 | Version: 1.1.3012 | 8 | Version: 1.1.3013 |
| 9 | License: GNU General Public License v2 or later | 9 | License: GNU General Public License v2 or later |
| 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html | 10 | License URI: http://www.gnu.org/licenses/gpl-2.0.html |
| 11 | Text Domain: understrap-child | 11 | Text Domain: understrap-child | ... | ... |
| ... | @@ -17,7 +17,7 @@ $output .= "\t\t\t\t" . '</div>' . "\r\n"; | ... | @@ -17,7 +17,7 @@ $output .= "\t\t\t\t" . '</div>' . "\r\n"; |
| 17 | $output .= "\t\t\t\t" . '</div>' . "\r\n"; | 17 | $output .= "\t\t\t\t" . '</div>' . "\r\n"; |
| 18 | $output .= "\t\t" . '</form>' . "\r\n"; | 18 | $output .= "\t\t" . '</form>' . "\r\n"; |
| 19 | $output .= "\t\t\t" . '</div>' . "\r\n"; | 19 | $output .= "\t\t\t" . '</div>' . "\r\n"; |
| 20 | 20 | $output .= "\t\t" . '<div id="wpsl-s">' . "\r\n"; | |
| 21 | $output .= "\t" . '<div id="wpsl-result-list">' . "\r\n"; | 21 | $output .= "\t" . '<div id="wpsl-result-list">' . "\r\n"; |
| 22 | $output .= "\t\t\t" . '<strong>SEARCH RESULTS</strong>' . "\r\n"; | 22 | $output .= "\t\t\t" . '<strong>SEARCH RESULTS</strong>' . "\r\n"; |
| 23 | $output .= "\t\t\t" . '<br/>Select the financial planner most convenient to you:<br/><br/>' . "\r\n"; | 23 | $output .= "\t\t\t" . '<br/>Select the financial planner most convenient to you:<br/><br/>' . "\r\n"; |
| ... | @@ -30,6 +30,7 @@ $output .= "\t" . '</div>' . "\r\n"; | ... | @@ -30,6 +30,7 @@ $output .= "\t" . '</div>' . "\r\n"; |
| 30 | $output .= "\t" . '<div id="wpsl-gmap" class="wpsl-gmap-canvas full"></div>' . "\r\n"; | 30 | $output .= "\t" . '<div id="wpsl-gmap" class="wpsl-gmap-canvas full"></div>' . "\r\n"; |
| 31 | 31 | ||
| 32 | $output .= '</div>' . "\r\n"; | 32 | $output .= '</div>' . "\r\n"; |
| 33 | $output .= "\t" . '</div>' . "\r\n"; | ||
| 33 | $output .= '<style> | 34 | $output .= '<style> |
| 34 | #wpsl-category{ | 35 | #wpsl-category{ |
| 35 | margin-top: 30px; | 36 | margin-top: 30px; |
| ... | @@ -63,6 +64,9 @@ $output .= '<style> | ... | @@ -63,6 +64,9 @@ $output .= '<style> |
| 63 | .broker_radio{ | 64 | .broker_radio{ |
| 64 | disply:none !important; | 65 | disply:none !important; |
| 65 | } | 66 | } |
| 67 | #wpsl-s{ | ||
| 68 | display:none; | ||
| 69 | } | ||
| 66 | #wpsl-gmap, | 70 | #wpsl-gmap, |
| 67 | #wpsl-result-list{ | 71 | #wpsl-result-list{ |
| 68 | width:48.5%; | 72 | width:48.5%; | ... | ... |
-
Please register or sign in to post a comment