Support » Plugins and Hacks » Cool fade popup » How-to proper splash alignment

How-to proper splash alignment

  • I just figured out how to configure this simple but awesome plugin to show any image or html content box properly aligned:

    1.- Edit the PopUpFad.css file to desired width and top distance in pixels

    width: xxx;
    top: xxx;

    2.- Edit PopUpFad.js file in order to configure the horizontal position of full splash box:

    function PopUpFadLft() {
    var w = 160; <== (change this value to the half of desired width box as entered in .css file, i.e. if the width of splash image is 600px change this value to 300px)

    Thats it! You get a proper centered splash image with top distance you defined.


  • The topic ‘How-to proper splash alignment’ is closed to new replies.
Skip to toolbar