[ Index ] |
PHP Cross Reference of phpwcms V1.5.0 _r431 (28.01.12) |
[Summary view] [Print] [Text view]
1 <?php 2 3 //put a little JS Snippet 4 //and resize the window 5 6 $_print_win_h = 400; 7 $_print_win_w = 500; 8 9 10 if($GLOBALS['aktion'][2] == 1) { //wenn Print Modus 11 12 $GLOBALS['block']['custom_htmlhead']['resizeJS'] = '<script language="javascript" type="text/javascript">' . LF; 13 $GLOBALS['block']['custom_htmlhead']['resizeJS'] .= SCRIPT_CDATA_START . LF; 14 $GLOBALS['block']['custom_htmlhead']['resizeJS'] .= 'window.resizeTo('.$_print_win_w.','.$_print_win_h.');' . LF; 15 $GLOBALS['block']['custom_htmlhead']['resizeJS'] .= SCRIPT_CDATA_END . LF; 16 $GLOBALS['block']['custom_htmlhead']['resizeJS'] .= '</script>' . LF; 17 18 } 19 20 21 ?>
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Sun Jan 29 16:31:14 2012 | Cross-referenced by PHPXref 0.7.1 |