Plugin Directory

Changeset 820690


Ignore:
Timestamp:
12/13/2013 04:31:22 AM (12 years ago)
Author:
bgentry
Message:

Updated javascript to improve performance with FAQs held within tables.

Location:
easy-faq-with-expanding-text
Files:
15 added
3 edited

Legend:

Unmodified
Added
Removed
  • easy-faq-with-expanding-text/trunk/faq.php

    r800775 r820690  
    33Plugin Name: Easy FAQ with Expanding Text
    44Description: Easily create a Frequently Asked Questions page with answers that slide down when the questions are clicked. No need for a shortcode, HTML coding, or javascript tweaking.
    5 Version: 3.2.3
     5Version: 3.2.4
    66Author: bgentry
    77Author URI: http://bryangentry.us
  • easy-faq-with-expanding-text/trunk/faqmaker.js

    r800775 r820690  
    66       
    77       
    8         $(this).children(' :header:not(h6)').each(function(){ // select all the heading in .bg_faq_content_section other than h6
    9             $(this).addClass('bg_faq_closed');                  //make these heading "closed"
     8        $(this).find(' :header:not(h6)').each(function(){ // select all the heading in .bg_faq_content_section other than h6
     9            if ( !$(this).hasClass('bg_faq_closed')) {
     10                        $(this).addClass('bg_faq_closed');                  //make these heading "closed"
    1011            $(this).attr('data-foldupq', foldup);
    1112            $(this).nextUntil(':header').css({'display':'none'});   //hide everything up until the next heading
     
    4041       
    4142        })         
    42            
     43                }
    4344        });
    4445       
  • easy-faq-with-expanding-text/trunk/readme.txt

    r800775 r820690  
    33Donate link: http://bryangentry.us/pay-me
    44Tags: faq pages
    5 Tested up to: 3.7.1
    6 Stable tag: 3.2.3
     5Tested up to: 3.8
     6Stable tag: 3.2.4
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2323
    2424== Changelog ==
     25
     26=3.2.4=
     27* Updated javascript to restore ability to apply the animated effects to headings that are in tables or within other elements.
    2528
    2629=3.2.3 =
Note: See TracChangeset for help on using the changeset viewer.