|
|
|
@ -81,6 +81,7 @@ $(document).ready( function() { |
|
|
|
|
* </div> |
|
|
|
|
* */ |
|
|
|
|
$(".advanced_options").on("click", function() { |
|
|
|
|
event.preventDefault(); |
|
|
|
|
var id = $(this).attr('id') + '_options'; |
|
|
|
|
var button = $(this); |
|
|
|
|
$("#"+id).toggle(function() { |
|
|
|
@ -88,6 +89,23 @@ $(document).ready( function() { |
|
|
|
|
}); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* <a class="advanced_options_open" href="http://" rel="div_id">Open</a> |
|
|
|
|
* <a class="advanced_options_close" href="http://" rel="div_id">Close</a> |
|
|
|
|
* <div id="div_id">Div content</div> |
|
|
|
|
* */ |
|
|
|
|
$(".advanced_options_open").on("click", function() { |
|
|
|
|
event.preventDefault(); |
|
|
|
|
var id = $(this).attr('rel'); |
|
|
|
|
$("#"+id).show(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
$(".advanced_options_close").on("click", function() { |
|
|
|
|
event.preventDefault(); |
|
|
|
|
var id = $(this).attr('rel'); |
|
|
|
|
$("#"+id).hide(); |
|
|
|
|
}); |
|
|
|
|
|
|
|
|
|
// Chosen select |
|
|
|
|
$(".chzn-select").chosen({ |
|
|
|
|
disable_search_threshold: 10 |
|
|
|
|