LoginSignup
0
1

More than 1 year has passed since last update.

FineReportによく使われるJavascript

Last updated at Posted at 2022-05-18

ハイパーリンク

ポップアップで画面を表示する方法

一般

//テンプレートパス(必要に応じて設定します)
var url = encodeURI(encodeURI("/webroot/decision/view/report?viewlet=GettingStarted.cpt"));
//Iframeウィンドウ定義
var $iframe = $("<iframe id='inp' name='inp' width='100%' height='100%' scrolling='no' frameborder='0'>");
//Iframeのsrc属性設定
$iframe.attr("src", url);
//Iframeウィンドウ属性
var o = {
    title: "タイトル",    //タイトル
    width: 680,         //幅さ
    height: 640,        //高さ
    //closable:true,    //閉じるボタン表示・非表示
    //confirm:true,     //確認ボタン表示・非表示
    //draggable:true   //ドラグ可能表示・非表示
};
//ウィンドウをポップアップする
FR.showDialog(o.title, o.width, o.height, $iframe, o);

作成中...

0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1