Plugin Directory

Changeset 993343


Ignore:
Timestamp:
09/19/2014 03:30:57 PM (11 years ago)
Author:
rackforms
Message:

1.3 Updates.

Location:
rackforms-express/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • rackforms-express/trunk/rackforms-express.php

    r906602 r993343  
    960960 *
    961961 * This code will resize an iframe (or any other element) based on window size.
    962  * Please note that by default RackForms sets absolute (pixle) sizes on elements
    963  * which means this code will not work without first changing all child elements
    964  * 'width' property to a percentage.
    965962 *
    966963 * USAGE
     
    14171414};
    14181415
     1416/**
     1417 * Function Not Used As Of Version 1.2.
     1418 */
    14191419function isResponsive(){
    14201420   
     
    14721472   
    14731473        // always resize iframe on page load
    1474         resize_id(obj_name);
     1474       
     1475        // Build 1.3 Fix.
     1476       
     1477        var iframe = document.getElementById('fb-iframe');
     1478       
     1479        if (iframe.attachEvent){
     1480           iframe.attachEvent("onload", function(){
     1481               resize_id(obj_name);
     1482           });
     1483        } else {
     1484           iframe.onload = function(){
     1485               resize_id(obj_name);
     1486           };
     1487        }
     1488       
     1489       
    14751490   
    14761491    }
  • rackforms-express/trunk/readme.txt

    r981918 r993343  
    40405. Click the `RackForms` Menu item and press the Install RackForms button.
    4141
    42 That's it!  Enjoy!
     42That's it! Enjoy!
    4343
    4444== Frequently Asked Questions ==
     
    5454
    5555== Changelog ==
     56
     57= 1.3 =
     58-Bug fix for responsive form code iframe loading.
    5659
    5760= 1.2 =
Note: See TracChangeset for help on using the changeset viewer.