Plugin Directory

Changeset 2687180


Ignore:
Timestamp:
03/02/2022 02:40:24 AM (4 years ago)
Author:
maherhossain
Message:

Bug fixed

Location:
background-particle-js/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • background-particle-js/trunk/js/main.js

    r2392229 r2687180  
    1414});
    1515
    16 const particleDimentions = {
    17     contentHeight             : document.querySelector(".banner-info").offsetHeight,
    18     contentWidth              : document.querySelector(".banner-info").offsetWidth,
    19     particleContainerHeight   : document.querySelector("#particles-js").offsetHeight,
    20     particleContainerWidth    : document.querySelector("#particles-js").offsetWidth,
    21     centerDimention           : function(){
    22         let contentHeightPosition = (this.particleContainerHeight - this.contentHeight)/2;
    23         let contentWidthPosition  = (this.particleContainerWidth - this.contentWidth)/2;
    24         let contentPosition = `position: absolute; top: ${contentHeightPosition}px !important; left: ${contentWidthPosition}px !important; text-align: center; `;
    25         document.querySelector(".banner-info").style.cssText = contentPosition;
    26     }
    27 }
    28 particleDimentions.centerDimention();
     16
  • background-particle-js/trunk/particle.php

    r2392693 r2687180  
    66Version: 1.0.1
    77Author: Maher Hossain
    8 Author URI: https://www.maherhossain.com
     8Author URI: https://maherhossain.com
    99*/
    1010if ( ! defined( 'ABSPATH' ) ) {die("Don't try to access directly :-( ");}
  • background-particle-js/trunk/readme.txt

    r2687174 r2687180  
    7272= 1.2.0 =
    7373* Release date: March 2, 2022
    74 * Tested for WP new Version
     74* Tested for WP new Version
     75= 1.3.0 =
     76* Release date: March 2, 2022
     77* Fixed bug
Note: See TracChangeset for help on using the changeset viewer.