Development version 2.0.9d2 in response to user on forum, to meet user requirement
git-svn-id: https://plugins.svn.wordpress.org/footnotes/trunk@2414776 b8457f37-d9ea-0310-8a92-e5e31aec5664
This commit is contained in:
parent
10023072f0
commit
61b10c9c6a
5 changed files with 68 additions and 45 deletions
|
@ -1,5 +1,5 @@
|
|||
<div
|
||||
class="footnote_container_wrapper"
|
||||
class="speaker-mute footnote_container_wrapper"
|
||||
>
|
||||
<div
|
||||
class="footnote_container_prepare"
|
||||
|
@ -13,7 +13,7 @@
|
|||
onclick="footnote_expand_collapse_reference_container_[[post_id]]();"
|
||||
>[<a
|
||||
id="footnote_reference_container_collapse_button_[[post_id]]"
|
||||
> + </a
|
||||
>+</a
|
||||
>]</span
|
||||
></p
|
||||
></div
|
||||
|
@ -34,11 +34,11 @@
|
|||
<script type="text/javascript">
|
||||
function footnote_expand_reference_container_[[post_id]]() {
|
||||
jQuery('#footnote_references_container_[[post_id]]').show();
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text(' − ');
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text('−');
|
||||
}
|
||||
function footnote_collapse_reference_container_[[post_id]]() {
|
||||
jQuery('#footnote_references_container_[[post_id]]').hide();
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text(' + ');
|
||||
jQuery('#footnote_reference_container_collapse_button_[[post_id]]').text('+');
|
||||
}
|
||||
function footnote_expand_collapse_reference_container_[[post_id]]() {
|
||||
if (jQuery('#footnote_references_container_[[post_id]]').is(':hidden')) {
|
||||
|
@ -56,5 +56,13 @@
|
|||
},
|
||||
380);/*speed*/
|
||||
}
|
||||
}
|
||||
}
|
||||
$( function() {
|
||||
if (jQuery.ui) {
|
||||
alert( "The jQuery UI framework has been properly loaded." );
|
||||
}
|
||||
}
|
||||
function() {
|
||||
alert( "There is a problem!" );
|
||||
}
|
||||
</script>
|
||||
|
|
Reference in a new issue