notifier.notify({
type: 'info',
title: "A View of YTPP Worldwide Activities",
message: "<iframe style='position:relative;left:-110px;top:-20px;margin:0px;padding:0px' id='' sandbox='allow-same-origin allow-forms allow-scripts' seamless='seamless' frameborder='0' framespacing='0' border='0' marginwidth='0' scrolling='auto' align='middle' title='YouTube video player' width='600px' height='400px' src='http://www.ymic3dworld.com/lightwindow2/zoomooz/therehabili_world_smapho_ytppintro.html' allowfullscreen></iframe>タイトル(白字)クリックで動画再生.画面拡大(右上:子ウィンドゥ内/右下:fullscreen)<br>さて、これを終了する前にもっとボタンを押したいですか?",
buttons: [
{'data-role': 'myOk', text: 'はい', 'class': 'default'}, // 'data-role' - an identifier for binding
// event using notification.on('click:myOk', function(){...});
{'data-handler': 'destroy', text: 'いいえ'} // 'data-handler' - calls a function of notification object,
// i.g.: 'data-handler': 'destroy' => calls notification.destroy() upon clicking the button
],
modal: true,
ms: null,
destroy: true
})
.on('click:myOk', function(){
notifier.notify({
destroy: true, // will hide all existing notification
type: 'info',
title: "A View of YTPP Worldwide Activities",
//message: "<iframe style='position:relative;left:-110px;top:-15px;margin:0px;padding:0px' id='' sandbox='allow-same-origin allow-forms allow-scripts' seamless='seamless' frameborder='0' framespacing='0' border='0' marginwidth='0' scrolling='auto' align='middle' title='YouTube video player' width='600px' height='400px' src='http://www.ymic3dworld.com/lightwindow2/zoomooz/therehabili_world_smapho_sonzoo2007.html' allowfullscreen></iframe>終了する前にもっとボタンを押したいですか?",
message: "<span style='position:relative;left:-50px;top:-55px;margin:0px;padding:0px'><form><input type='button' style='cursor:pointer' value='設定サンプル再生' id='recmd_btn' onclick='recmd()' title='サンプルが再生されます.未設定の場合は再生されませんのでリストから直接選択してください. ご注意:再生中の動画を停止(動画停止ボタン)してから操作してください'></form></span><iframe style='position:relative;left:-110px;top:-20px;margin-top:-43px;margin-bottom:0px;padding:0px' id='youtube_movie' sandbox='allow-same-origin allow-forms allow-scripts' seamless='seamless' frameborder='0' framespacing='0' border='0' marginwidth='0' scrolling='auto' align='middle' title='YouTube video player' width='600px' height='400px' src='http://www.ymic3dworld.com/lightwindow2/zoomooz/therehabili_world_smapho_sonzoo2007.html' allowfullscreen></iframe>終了する前にもっとボタンを押したいですか?",
buttons: [
{'data-role': 'myOk', text: 'はい', 'class': 'default'}, // 'data-role' - an identifier for binding
// event using notification.on('click:myOk', function(){...});
{'data-handler': 'destroy', text: 'いいえ'} // 'data-handler' - calls a function of notification object,
// i.g.: 'data-handler': 'destroy' => calls notification.destroy() upon clicking the button
],
modal: true,
ms: null,
destroy: true
//destroy: false
})
.on('click:myOk', function(){
notifier.notify({
destroy: true, // will hide all existing notification
type: 'success',
title: "Success!",
message: "なんたらかんたら",
buttons: [{'data-handler': 'destroy', text: 'Cool'}]
})
.on('destroy', function(){
notifier.notify({
destroy: true, // will hide all existing notification
type: 'warning',
title: "Warning!",
message: "これが警告型ね",
buttons: [{'data-handler': 'destroy', text: 'Errrr'}]
})
.on('destroy', function(){
notifier.notify({
destroy: true, // will hide all existing notification
type: 'info',
title: "A View of YTPP Worldwide Activities",
//message: "<iframe style='position:relative;left:-110px;top:-20px;margin:0px;padding:0px' id='' sandbox='allow-same-origin allow-forms allow-scripts' seamless='seamless' frameborder='0' framespacing='0' border='0' marginwidth='0' scrolling='auto' align='middle' title='YouTube video player' width='600px' height='400px' src='http://www.ymic3dworld.com/lightwindow2/zoomooz/therehabili_world_smapho_dragon2010_shinjirou.html' allowfullscreen></iframe>終了する前にもっとボタンを押したいですか?",
message: "<span style='position:relative;left:-50px;top:-55px;margin:0px;padding:0px'><form><input type='button' style='cursor:pointer' value='設定サンプル再生' id='recmd_btn' onclick='recmd()' title='サンプルが再生されます.未設定の場合は再生されませんのでリストから直接選択してください. ご注意:再生中の動画を停止(動画停止ボタン)してから操作してください'></form></span><iframe style='position:relative;left:-110px;top:-20px;margin-top:-43px;margin-bottom:0px;padding:0px' id='youtube_movie' sandbox='allow-same-origin allow-forms allow-scripts' seamless='seamless' frameborder='0' framespacing='0' border='0' marginwidth='0' scrolling='auto' align='middle' title='YouTube video player' width='600px' height='400px' src='http://www.ymic3dworld.com/lightwindow2/zoomooz/therehabili_world_smapho_dragon2010_shinjirou.html' allowfullscreen></iframe>終了する前にもっとボタンを押したいですか?",
buttons: [
{'data-role': 'myOk', text: 'はい', 'class': 'default'}, // 'data-role' - an identifier for binding
// event using notification.on('click:myOk', function(){...});
{'data-handler': 'destroy', text: 'いいえ'} // 'data-handler' - calls a function of notification object,
// i.g.: 'data-handler': 'destroy' => calls notification.destroy() upon clicking the button
],
modal: true,
ms: null,
destroy: true
//destroy: false
})
.on('click:myOk', function(){
notifier.notify({
destroy:true, // will hide all existing notification //これが無いと直前のnotifierは消えない
//type: 'error',
type: 'success',
title: "鼬の最後っ屁",
message: "これが一応エラー型<br>ってもうたくさんですね?",
buttons: [{'data-handler': 'destroy', text: 'ごたごた言わずにさっさと消えます'}]
});
});
});
});
});
});