Ignore:
Timestamp:
2014-12-09T13:28:45+13:00 (9 years ago)
Author:
davidb
Message:

liteAccordion size now based on size of open window. Also, changed to using local version of some JS libraries, rather then http://external-site ....

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/nz-flag-design/trunk/main-form/iterative-design.html

    r29565 r29571  
    2626      <!-- put custom content here --> 
    2727      <span class="left story-icon research" ></span>
    28       <h2>Iterative Design</h2>
     28      <h2 id="iterative-design-header">Iterative Design</h2>
    2929
    3030      <div>
     
    126126        function activateAccordion() {
    127127
     128
     129
     130      //var la_x_dim = $('#enter-name-header').width();
     131      //var la_y_dim = $('#enter-name-page').height() - $('#enter-name-header').offset().bottom -20;
     132
     133      var la_x_dim = $(document).width() * 0.70;
     134      var la_y_dim = $(document).height() * 0.67;
     135
    128136          $('#side-by-side').show();
     137
    129138          $('#side-by-side')
    130139            .liteAccordion(
    131140               { theme           : 'stitch', // 'light',
    132141                 rounded         : true,
    133                  containerWidth  : 1000,
    134                  containerHeight : 600,
     142                 containerWidth  : la_x_dim,
     143                 containerHeight : la_y_dim,
    135144             onTriggerSlide : function() {
    136145               console.log("onTriggerSlide: id = " + this[0].id);
Note: See TracChangeset for help on using the changeset viewer.