function link_to_modal_box($text, $id, $contents) { $link = link_to_function($text, visual_effect('appear', $id, array('to' => '0.7')) . ';' . visual_effect('appear', $id . '_contents')) . make_modal_box($id, $contents); return $link; }
?> " /> <?php } } } echo $sortForm->renderHiddenFields(); echo $addForm->renderHiddenFields(); ?> <input type="submit" value="<?php echo __('設定変更'); ?> " /> </form> </div> <?php echo javascript_tag("\nfunction adjustByIframeContens(obj)\n{\n var size = Element.getHeight(obj.contentWindow.document.body);\n obj.style.height = size+'px';\n}\n"); ?> <iframe src="<?php echo url_for($plotAction[0] . '/' . $plotAction[1]); ?> " width="600" height="410" onload="adjustByIframeContens(this)" scrolling="no" frameborder="0"> </iframe> <?php echo make_modal_box('modal', '<iframe width="400" height="400"></iframe>', 400, 400); ?>