src/cm/media/js/site/text_view_to_frame.js
author Yves-Marie Haussonne <ymh.work+github@gmail.com>
Fri, 09 May 2014 18:35:26 +0200
changeset 656 a84519031134
parent 341 053551f213fb
permissions -rw-r--r--
add link to "privacy policy" in the header test

v_toggleFrameSize = function() {
  if (gInFullScreen)
    _toNormalSize() ;
  else 
    _toFullScreenSize() ;
}

//v_toNormalSize = function() {
//  _toNormalSize() ;
//}
//
v_toInitialSize = function() {
  _toInitialSize() ;
  $(window).resize(function(){
//    console.log('before setFramesize in top resize winwidth' +  frames['text_view_frame'].frames['text_view_comments'].CY.DOM.winWidth()) ;
    _setFrameSize();
//    console.log('after setFramesize in top resize winwidth' +   frames['text_view_frame'].frames['text_view_comments'].CY.DOM.winWidth()) ;
  });
}