Plugin Directory

Changeset 640889


Ignore:
Timestamp:
12/18/2012 01:12:55 AM (13 years ago)
Author:
bgentry
Message:

Minor update -- changing the way the plugin positions the images that indicate a heading is clickable and contains drop down text.

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

Legend:

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

    r639887 r640889  
    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.0
     5Version: 3.1
    66Author: bgentry
    77Author URI: http://bryangentry.us
  • easy-faq-with-expanding-text/trunk/faqmaker.js

    r639887 r640889  
    88            var halftextsize = parseInt(textsize)/2;
    99            var backgroundpos = Math.round(halftextsize)-10;
    10             jQuery(this).css({'background-position-y': backgroundpos});
     10            var padding = jQuery(this).css('padding-top');
     11            var padding = parseInt(padding);
     12            var backgroundpos = Math.round(halftextsize)-10+padding;
    1113            console.log(textsize);
    1214        jQuery(this).click(function(){
  • easy-faq-with-expanding-text/trunk/readme.txt

    r639887 r640889  
    44Tags: faq pages
    55Tested up to: 3.5
    6 Stable tag: 3.0
     6Stable tag: 3.1
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    2323
    2424== Changelog ==
     25
     26= 3.1 =
     27* Very minor update to adjust the location of the arrows and other images that indicate that a heading has drop down text. Now those will be centered even in themes that assign padding to the top of those headings.
    2528
    2629= 3.0 =
Note: See TracChangeset for help on using the changeset viewer.