Plugin Directory

Changeset 1507199


Ignore:
Timestamp:
10/03/2016 07:45:34 AM (10 years ago)
Author:
mycodingtricks
Message:

Fixed a bug

Location:
moptin-email-subscription-optin-form/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • moptin-email-subscription-optin-form/trunk/index.php

    r1506710 r1507199  
    44 * Plugin URI: http://mycodingtricks.com
    55 * Description: Moptin is a Email Opt-in WordPress Plugin
    6  * Version: 2016.10.2.1
     6 * Version: 2016.10.3
    77 * Author: Shubham Kumar
    88 * Author URI: http://mycodingtricks.com
  • moptin-email-subscription-optin-form/trunk/moptin.js

    r1506710 r1507199  
    3636                   $self.fadeOut(500,function(){
    3737                       self.close();
    38                        console.log("Closed from line 37");
     38//                       console.log("Closed from line 37");
    3939                   });
    4040                });
     
    4242                    $self.removeClass("moptin-cookie");
    4343                    self.close(id);
    44                        console.log("Closed from line 42");
     44//                       console.log("Closed from line 42");
    4545                }
    4646            }
     
    4848        self.close = function(id){
    4949           
    50             $self.fadeOut("slow",function(){
     50            $self.fadeOut(300,function(){
    5151                if($self.hasClass("moptin-takeover")){
    5252                    body.removeClass("moptin-takeover-body");
     
    107107                        content: contentWrapper.height()
    108108                    };
    109                     console.log(height);
     109//                    console.log(height);
    110110                    var finalHeight=(height.imgWrapper>height.contentWrapper) ? height.imgWrapper:height.contentWrapper;
    111111                    //imgWrapper.css("height",finalHeight+"px");
     
    116116                    contentWrapper.css("marginTop",content_margin_top+"px");
    117117            }
    118 //           
    119 //            var r = $self.find(".moptin__content-wrapper");
    120 //            var p = $self.find(".moptin__img");
    121 //            r.css("margin-top","0px");
    122 //            p.css("margin-top","0px");
    123 //
    124 //            if($self.width()>480){
    125 //                var mh  = ($self.outerHeight())*0.9;
    126 //                p.css("margin-top",((mh-p.innerHeight())/2)+"px");
    127 //                r.css("margin-top",((mh-r.innerHeight())/2)+"px");
    128 //            } 
    129118        };
    130119        self.centerImg = function(){
     
    136125        };
    137126        self.show = function(){
    138             $self.fadeIn("slow",function(){
     127            $self.fadeIn(500,function(){
    139128                self.centerImg();
    140129                self.addCloseButton();
     
    157146                    var mX = e.pageX,
    158147                        mY = e.pageY;
    159                 console.log("mY = "+mY);
     148//                console.log("mY = "+mY);
    160149                    if(mX<80 || mY<80) self.show();
    161150                }).mouseover();
  • moptin-email-subscription-optin-form/trunk/readme.txt

    r1506710 r1507199  
    44Donate link: http://mycodingtricks.com/
    55Requires at least: 3.1
    6 Tested up to: 4.5
    7 Stable tag: 2016.10.2.1
     6Tested up to: 4.6
     7Stable tag: 2016.10.3
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    1616This plugin will boost your email subscribers list.
    1717
     18It's one in all WordPress Optin Plugin.
     19
    1820== Installation ==
    1921Simply Install and Activate the Plugin and Then Create Moptin Forms From the Admin Menu and include the shortcode anywhere you want.
     
    23251. This is an Example of Moptin Form.
    24262. Moptin forms are very Responsive.
    25 3. Create Moptin Form from Admin Panel
     273. Page Takeover Example
     284. Create Moptin Form from Admin Panel
    2629
    2730== Changelog ==
Note: See TracChangeset for help on using the changeset viewer.