wmaraci reklam

Popup Kodu

2 Mesajlar 1.351 Okunma
pst.net
wmaraci reklam

leylailemecnun leylailemecnun Kimlik Onayı Bekliyor Banlı Kullanıcı
  • Üyelik 12.02.2012
  • Yaş/Cinsiyet 29 / E
  • Meslek patron
  • Konum Ankara
  • Ad Soyad M** Ş**
  • Mesajlar 332
  • Beğeniler 6 / 98
  • Ticaret 50, (%100)




Document





<script></script>

<script>
//your jquery script here
</script>




//with this first line we're saying: "when the page loads (document is ready) run the following script"
$(document).ready(function () {

//select the POPUP FRAME and show it
$("#popup").hide().fadeIn(1000);

//close the POPUP if the button with id="close" is clicked
$("#close").on("click", function (e) {
e.preventDefault();
$("#popup").fadeOut(1000);
});

});

/*we need to style the popup with CSS so it is placed as a common popup does*/
#popup {
display:none;
position:absolute;
margin:0 auto;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 9999;
}
 

 

wmaraci
reklam

Decimas Decimas WM Aracı Kullanıcı
  • Üyelik 19.04.2015
  • Yaş/Cinsiyet 26 / E
  • Meslek Developer
  • Konum İstanbul Avrupa
  • Ad Soyad E** E**
  • Mesajlar 821
  • Beğeniler 1 / 302
  • Ticaret 1, (%100)
Burada popup'luk bir şey göremedim, id popup öğesini fadeout ile ortadan kaldırıyorsun. Şuna bir bakıver.
 

 

no time for caution
wmaraci
Konuyu toplam 1 kişi okuyor. (0 kullanıcı ve 1 misafir)
Site Ayarları
  • Tema Seçeneği
  • Site Sesleri
  • Bildirimler
  • Özel Mesaj Al