1 {% if initial_sliders_state == 'disabled' %}
2 <div{% if id is defined %} id="{{ id }}"{% endif %}>
5 Bad hack on the next line. document.write() conflicts with jQuery,
6 hence, opening the <div> with PHP itself instead of JavaScript.
8 @todo find a better solution that uses $.append(), the recommended
9 method maybe by using an additional param, the id of the div to
12 <div{% if id is defined %} id="{{ id }}"
13 {%- endif %} {% if initial_sliders_state == 'closed' -%}
14 style="display: none; overflow:auto;"{% endif %} class="pma_auto_slider"
15 {%- if message is defined %} title="{{ message }}"{% endif %}>