function ModulePopup(d, e, f, g, i) {
if (!targetWin || targetWin.closed) {
$("#Hint").html('<center><i class="fa fa-refresh fa-spin fa-3x fa-fw"></i></center><br>');
var j = (screen.width / 1.9) - (screen.width / getRandomPosition(3, 4));
var k = (screen.height / 1.9) - (screen.height / getRandomPosition(3, 4));
$.ajax({
type: "POST",
url: "system/modules/instagram/process.php",
data: {
get: 1,
pid: d
},
dataType: 'json',
success: function (a) {
if (a.type === 'success') {
var b = setTimeout(function () {
targetWin.close()
}, 30000);
var c = setInterval(function () {
if (targetWin.closed) {
clearTimeout(c);
clearTimeout(b);
$("#Hint").html('<center><i class="fa fa-refresh fa-spin fa-3x fa-fw"></i></center><br>');
setTimeout(function () {
do_click(d)
}, 500)
}
}, 500)
}
$("#Hint").html(a.message)
}
});
targetWin = window.open(e, f,
"toolbar=no,location=no, directories=no, status=no, menubar=no, scrollbars=yes, resizable=yes, copyhistory=no, width="
+ screen.width / 1.9 + ", height=" + screen.height / 1.9 + ", top=" + k + ", left=" + j)
}
}şöyle bir kod var, butona tıklandığında targetWin kısmındaki fonksiyonla yeni bir pencere açıyor ve arkaplandao pencereyi izliyor. Şimdi ben bu işlemin yeni bir pencere açılaarak değil site içerisinde bir popup penceresi açılarak yapılmasını istiyorum. Yardımcı olan arkadaşlara şimdiden teşekkürkler.
PHP - JAVASCRİPT bilen arkadaşlar - Yardım Lütfen
0
●58
- 07-04-2020, 21:28:48ÖNCELİKLE TÜM HERSİN KANDİLİ MÜBAREK OLSUN,