réorganiser les template
This commit is contained in:
+17
-16
@@ -86,20 +86,21 @@
|
||||
|
||||
/*==================================================================
|
||||
[ Open Window on link with id="openWindow" ]*/
|
||||
document.addEventListener("click", FromIdNavigateTo, false);
|
||||
function FromIdNavigateTo(event) {
|
||||
if (event.target.matches("#openWindow")) {
|
||||
// console("Open link on open Window");
|
||||
window.open(
|
||||
event.target.href,
|
||||
"_blank",
|
||||
"menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,dependent,width=800,height=620,left=0,top=0"
|
||||
);
|
||||
} else {
|
||||
// console("Open link on new tab");
|
||||
open(event.target.href, "_blank");
|
||||
}
|
||||
event.preventDefault();
|
||||
return false;
|
||||
}
|
||||
// document.addEventListener("click", FromIdNavigateTo, false);
|
||||
// function FromIdNavigateTo(event) {
|
||||
// if (event.target.matches("#openWindow")) {
|
||||
// // console("Open link on open Window");
|
||||
// window.open(
|
||||
// event.target.href,
|
||||
// "_blank",
|
||||
// "menubar=no,toolbar=no,location=no,directories=no,status=no,scrollbars=no,resizable=yes,dependent,width=800,height=620,left=0,top=0"
|
||||
// );
|
||||
// }
|
||||
// else {
|
||||
// // console("Open link on new tab");
|
||||
// open(event.target.href, "_blank");
|
||||
// }
|
||||
// event.preventDefault();
|
||||
// return false;
|
||||
// }
|
||||
})(jQuery);
|
||||
|
||||
Reference in New Issue
Block a user