Ignore:
Timestamp:
Oct 19, 2014, 7:23:31 PM (10 years ago)
Author:
gbo
Message:

improve frame size when using zoom in browser -> ctrl +/-

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/LLGBO2/include/manage_picture_content.php

    r30030 r30224  
    7676                                $frame_title =  "\n".'<!-- Begin LLGBO -->'."\n".'<span  id="llgboh2" style ="background:transparent;z-index:3;color:'.$conf['LLGBO2']['FR-titlecolor'].'">';   
    7777                                }
    78                        
     78                               
    7979                        $template->append('llgbo', array(   
    8080                                                        'FRAME_TITLE1' => $frame_title,
     
    8686                                                         
    8787                        $template->set_prefilter('default_content', 'LLGBO_prefilter_Content_Frame');           
    88 
    89                 if (isset($conf['automatic_size_width_margin'])) // auto size  must take care of frame size
    90                         { $template->assign( array(
    91                         'asize_width_margin' => $conf['automatic_size_width_margin'] + $frame_border,
    92                         'asize_height_margin' => $conf['automatic_size_height_margin'] + $frame_border,));
    93                         $template->parse('asize_picture_js');} 
    9488        } // end frame                                 
    9589//----------------------------------------------------   
     
    128122        return $content;
    129123}
     124
    130125?>
Note: See TracChangeset for help on using the changeset viewer.