Webmaster Forumu

Geri git   Webmaster Forumu > Webmaster Genel > Programlama > Javascript - Ajax ve Frameworkler

Javascript - Ajax ve Frameworkler Javascript Ajax ve Frameworkler jQuery, Yahoo YUI, Mootools, Prototype + Scriptaculous

Cevapla
 
LinkBack Seçenekler Stil
  #1 (permalink)   eTicaret 
Alt 2006-10-07, 22:18
ruen - ait Kullanıcı Resmi (Avatar)
Gold Member
 
Üyelik tarihi: Mar 2006
Nerden: Kocaeli UNI
Mesajlar: 1.671
Tecrübe Puanı: 3
eTicaret: %100/6
ruen will become famous soon enough
Standart Günde 1 kez açılan popup kodu.

Arama yaptım bulamadım.
Bana günde 1 kez açılan (bir ipde ) ve sp2 ye yakalanmayan popup lazım.
Elinde olanlar varsa paylaşabilir mi?

yada bilgisi olan varsa.Bir popup ı nasıl zamanlama yapabilirim?Günde 1 kez açılcak şekilde?
__________________
Forumera
Alıntı ile Cevapla

  #2 (permalink)   eTicaret 
Alt 2006-10-07, 23:14
TrDownload - ait Kullanıcı Resmi (Avatar)
Wordpress Developer
 
Üyelik tarihi: Jun 2005
Nerden: Bursa
Mesajlar: 3.701
Tecrübe Puanı: 6
eTicaret: %100/15
TrDownload has a spectacular aura aboutTrDownload has a spectacular aura about
Standart

http://forum.iyinet.com/asp-net/3530...sp2-deler.html
__________________
Wordpress temalarınız türkçeye cevrilir, Wordpress icin adsense reklam yerleşimi yapılır.
Alıntı ile Cevapla

  #3 (permalink)   eTicaret 
Alt 2006-10-07, 23:24
Caesar - ait Kullanıcı Resmi (Avatar)
Platinum Member
 
Üyelik tarihi: Jun 2006
Nerden: /dev/null
Mesajlar: 2.576
Tecrübe Puanı: 0
eTicaret: %100/6
Caesar will become famous soon enoughCaesar will become famous soon enough
Standart

lütfen vbulletin de kullanılacağını belirt. session yemez çünkü ayrıyetten temasal bölüme ekliyorsun oraya php koduda giremezsin.
Alıntı ile Cevapla

  #4 (permalink)   eTicaret 
Alt 2006-10-07, 23:29
ruen - ait Kullanıcı Resmi (Avatar)
Gold Member
 
Üyelik tarihi: Mar 2006
Nerden: Kocaeli UNI
Mesajlar: 1.671
Tecrübe Puanı: 3
eTicaret: %100/6
ruen will become famous soon enough
Standart

site php vbulletin.
__________________
Forumera
Alıntı ile Cevapla

  #5 (permalink)   eTicaret 
Alt 2006-10-08, 01:50
sempaty - ait Kullanıcı Resmi (Avatar)
Super Moderator
 
Üyelik tarihi: Feb 2005
Mesajlar: 2.451
Blog Entries: 1
Tecrübe Puanı: 5
eTicaret: %100/3
sempaty has a spectacular aura aboutsempaty has a spectacular aura about
Standart

mesela örnek kodu popup.php olarak yaptıktan sonra <script src="popup.php"></script> yapabilirsin san ırım
__________________
#
Alıntı ile Cevapla

  #6 (permalink)   eTicaret 
Alt 2006-10-08, 13:32
ruen - ait Kullanıcı Resmi (Avatar)
Gold Member
 
Üyelik tarihi: Mar 2006
Nerden: Kocaeli UNI
Mesajlar: 1.671
Tecrübe Puanı: 3
eTicaret: %100/6
ruen will become famous soon enough
Standart

arkadaşım o tamamda zaman nasıl belirticez? bir ipden bi kere şeklinde günde bi kre
__________________
Forumera
Alıntı ile Cevapla

  #7 (permalink)   eTicaret 
Alt 2006-10-08, 14:40
sempaty - ait Kullanıcı Resmi (Avatar)
Super Moderator
 
Üyelik tarihi: Feb 2005
Mesajlar: 2.451
Blog Entries: 1
Tecrübe Puanı: 5
eTicaret: %100/3
sempaty has a spectacular aura aboutsempaty has a spectacular aura about
Standart

http://www.webdeveloper.com/forum/ar...p/t-17527.html şunu inceleyebilirsin
__________________
#
Alıntı ile Cevapla

  #8 (permalink)   eTicaret 
Alt 2006-10-08, 16:38
ReL4X - ait Kullanıcı Resmi (Avatar)
Senior Member
 
Üyelik tarihi: Sep 2006
Mesajlar: 566
Tecrübe Puanı: 2
eTicaret: %67/1
ReL4X is on a distinguished road
Standart

Bu javascript kodu ile 1 kullanıcıya günde bir kere açılır ama sp2li pcde denemedim.denersin.sp2 yi gerçer mi bilmiyorum




head tagları arasına
Kod:
<SCRIPT LANGUAGE='JAVASCRIPT' TYPE='TEXT/JAVASCRIPT'>
 
<!--
var win=null;
function NewWindow(mypage,myname,w,h,pos,infocus){
if(GetCookie("sid") == "999"){return;}
document.cookie="sid=999; Path=/; Expires= " + getFuture(1);
if(pos=="random"){myleft=(screen.width)?Math.floor(Math.random()*(screen.width-w)):100;mytop=(screen.height)?Math.floor(Math.random()*((screen.height-h)-75)):100;}
if(pos=="center"){myleft=(screen.width)?(screen.width-w)/2:100;mytop=(screen.height)?(screen.height-h)/2:100;}
else if((pos!='center' && pos!="random") || pos==null){myleft=0;mytop=20}
settings="width=" + w + ",height=" + h + ",top=" + mytop + ",left=" + myleft + ",scrollbars=yes,location=yes,directories=yes,status=yes,menubar=yes,toolbar=yes,resizable=yes";win=window.open(mypage,myname,settings);
win.focus();}
// Cookie functions borrowed from:
// Ronnie Moore: Visit him at http://www.ronniemoore.com
function getFuture(f){
var d = new Date();
d.setTime(d.getTime() + (86400000 * f));
return d;
}

function GetCookie (name) {
var arg = name + "=";
var alen = arg.length;
var clen = document.cookie.length;
var i = 0;
while (i < clen) {
  var j = i + alen;
  if (document.cookie.substring(i, j) == arg)
  return getCookieVal (j);
  i = document.cookie.indexOf(" ", i) + 1;
  if (i == 0) break; 
  }
  return null;
  }

function getCookieVal (offset) {
var endstr = document.cookie.indexOf (";", offset);
if (endstr == -1)
  endstr = document.cookie.length;
  return unescape(document.cookie.substring(offset, endstr));
}
// -->
</script>



body tagı bu şekilde değişecek
Kod:
<body onLoad="NewWindow('http://www.siteniz.com,'Popup','640','480','center','front');">
__________________
Kardelen Ayşe

Konu ReL4X tarafından (2006-10-08 Saat 16:43 ) değiştirilmiştir..
Alıntı ile Cevapla

  #9 (permalink)   eTicaret 
Alt 2006-10-08, 23:02
Member
 
Üyelik tarihi: May 2005
Mesajlar: 284
Tecrübe Puanı: 3
eTicaret: %0/0
MadDriver is an unknown quantity at this point
Standart

Buyrun arkadaşlar:
Kod:
function blockError(){return true;}
window.onerror = blockError;
if (window.SymRealWinOpen){window.open = SymRealWinOpen;}
if (window.NS_ActualOpen) {window.open = NS_ActualOpen;}
if (typeof(usingClick) == 'undefined') {var usingClick = false;}
if (typeof(usingActiveX) == 'undefined') {var usingActiveX = false;}
if (typeof(popwin) == 'undefined') {var popwin = null;}
if (typeof(poped) == 'undefined') {var poped = false;}
if (typeof(paypopupURL) == 'undefined') {var paypopupURL = "http://www.siteadresi.com";}
var blk = 1;
var setupClickSuccess = false;
var googleInUse = false;
var myurl = "http://www.siteadresi.com";
var MAX_TRIED = 20;
var activeXTried = false;
var tried = 0;
var randkey = '0';
var myWindow;
var popWindow;
var setupActiveXSuccess = 0;
function setupActiveX() {if (usingActiveX) {try{if (setupActiveXSuccess < 5) {document.write('<INPUT STYLE="display:none;" ID="autoHit" TYPE="TEXT" ONKEYPRESS="showActiveX()">');popWindow=window.createPopup();popWindow.document.body.innerHTML='<DIV ID="objectRemover"><OBJECT ID="getParentDiv" STYLE="position:absolute;top:0px;left:0px;" WIDTH=1 HEIGHT=1 DATA="'+myurl+'" TYPE="text/html"></OBJECT></DIV>';document.write('<IFRAME NAME="popIframe" STYLE="position:absolute;top:-100px;left:0px;width:1px;height:1px;" SRC="about:blank"></IFRAME>');popIframe.document.write('<OBJECT ID="getParentFrame" STYLE="position:absolute;top:0px;left:0px;" WIDTH=1 HEIGHT=1 DATA="'+myurl+'" TYPE="text/html"></OBJECT>');setupActiveXSuccess = 6;}}catch(e){if (setupActiveXSuccess < 5) {setupActiveXSuccess++;setTimeout('setupActiveX();',500);}else if (setupActiveXSuccess == 5) {activeXTried = true;setupClick();}}}}
function tryActiveX(){if (!activeXTried && !poped) {if (setupActiveXSuccess == 6 && googleInUse && popWindow && popWindow.document.getElementById('getParentDiv') && popWindow.document.getElementById('getParentDiv').object && popWindow.document.getElementById('getParentDiv').object.parentWindow) {myWindow=popWindow.document.getElementById('getParentDiv').object.parentWindow;}else if (setupActiveXSuccess == 6 && !googleInUse && popIframe && popIframe.getParentFrame && popIframe.getParentFrame.object && popIframe.getParentFrame.object.parentWindow){myWindow=popIframe.getParentFrame.object.parentWindow;popIframe.location.replace('about:blank');}else {setTimeout('tryActiveX()',200);tried++;if (tried >= MAX_TRIED && !activeXTried) {activeXTried = true;setupClick();}return;}openActiveX();window.windowFired=true;self.focus();}}
function openActiveX(){if (!activeXTried && !poped) {if (myWindow && window.windowFired){window.windowFired=false;document.getElementById('autoHit').fireEvent("onkeypress",(document.createEventObject().keyCode=escape(randkey).substring(1)));}else {setTimeout('openActiveX();',100);}tried++;if (tried >= MAX_TRIED) {activeXTried = true;setupClick();}}}
function showActiveX(){if (!activeXTried && !poped) {if (googleInUse) {window.daChildObject=popWindow.document.getElementById('objectRemover').children(0);window.daChildObject=popWindow.document.getElementById('objectRemover').removeChild(window.daChildObject);}newWindow=myWindow.open(paypopupURL,'Ads');if (newWindow) {newWindow.blur();self.focus();activeXTried = true;poped = true;}else {if (!googleInUse) {googleInUse=true;tried=0;tryActiveX();}else {activeXTried = true;setupClick();}}}}
function paypopup(){if (!poped) {if(!usingClick && !usingActiveX) {popwin = window.open(paypopupURL,'Ads');if (popwin) {poped = true;}self.focus();}}if (!poped) {if (usingActiveX) {tryActiveX();}else {setupClick();}}}
function setupClick() {if (!poped && !setupClickSuccess){if (window.Event) document.captureEvents(Event.CLICK);prePaypopOnclick = document.onclick;document.onclick = gopop;self.focus();setupClickSuccess=true;}}
function gopop() {if (!poped) {popwin = window.open(paypopupURL,'Ads');if (popwin) {poped = true;}self.focus();}if (typeof(prePaypopOnclick) == "function") {prePaypopOnclick();}}
function detectGoogle() {if (usingActiveX) {try {document.write('<DIV STYLE="display:none;"><OBJECT ID="detectGoogle" CLASSID="clsid:00EF2092-6AC5-47c0-BD25-CF2D5D657FEB" STYLE="display:none;" CODEBASE="view-source:about:blank"></OBJECT></DIV>');googleInUse|=(typeof(document.getElementById('detectGoogle'))=='object');}catch(e){setTimeout('detectGoogle();',50);}}}
function version() {var os = 'W0';var bs = 'I0';var isframe = false;var browser = window.navigator.userAgent;if (browser.indexOf('Win') != -1) {os = 'W1';}if (browser.indexOf("SV1") != -1) {bs = 'I2';}else if (browser.indexOf("Opera") != -1) {bs = "I0";}else if (browser.indexOf("Firefox") != -1) {bs = "I0";}else if (browser.indexOf("Microsoft") != -1 || browser.indexOf("MSIE") != -1) {bs = 'I1';}if (top.location != this.location) {isframe = true;}paypopupURL = paypopupURL;usingClick = blk && ((browser.indexOf("SV1") != -1) || (browser.indexOf("Opera") != -1) || (browser.indexOf("Firefox") != -1));usingActiveX = blk && (browser.indexOf("SV1") != -1) && !(browser.indexOf("Opera") != -1) && ((browser.indexOf("Microsoft") != -1) || (browser.indexOf("MSIE") != -1));detectGoogle();}
version();
function loadingPop() {
	if(!usingClick && !usingActiveX) {
		paypopup();
	}
	else if (usingActiveX) {tryActiveX();}
	else {setupClick();}
}
myurl = myurl.substring(0, myurl.indexOf('/',8));
if (myurl == '') {myurl = '.';}
setupActiveX();
loadingPop();
self.focus();
Bu kod popup blockerları aşar hem firefox için hemde ie için.
Eğer Bunu günde bir kez açılmasını istiyorsanız öncelikle bu kodu "popup.js" olarak kaydedin.
Daha sonra popupu açmak istediğiniz sayfaya şu kodu yerleştirin:
Kod:
<%
response.buffer = true 
if Request.Cookies("popup1213") <> "acildi" then
%>
<script src="popup.js"></script>
<%
Response.Cookies("popup1213")="acildi"
Response.Cookies("popup1213").Expires= date + 1
end if
%>
Alıntı ile Cevapla

  #10 (permalink)   eTicaret 
Alt 2006-10-09, 00:35
ruen - ait Kullanıcı Resmi (Avatar)
Gold Member
 
Üyelik tarihi: Mar 2006
Nerden: Kocaeli UNI
Mesajlar: 1.671
Tecrübe Puanı: 3
eTicaret: %100/6
ruen will become famous soon enough
Standart

madriver tşkler ama php lazım bana
__________________
Forumera
Alıntı ile Cevapla

Cevapla

Seçenekler
Stil


Benzer Konular
Konu Konuyu Başlatan Forum Cevaplar Son Mesaj
İlk kodlamam- 1 kez açılan popup kodu-sp2 deler cengizzz ASP .NET 11 2007-01-09 12:46
Açılış Sayfası Kodu Direkt Açılan KIZILKURT Javascript - Ajax ve Frameworkler 11 2006-11-24 23:34
Popup blockerlara yakalanmayacak popup kodu varmı ? UndeaD PHP 4 2006-09-03 14:37
SP2 de açılan popup kodu risingstar Javascript - Ajax ve Frameworkler 4 2006-02-19 04:27
sayfa değişirken açılan pop up kodu lazım dazlakcom PHP 2 2005-07-14 10:04


Bütün Zaman Ayarları WEZ +2 olarak düzenlenmiştir. Şu Anki Saat: 02:05 .


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0

Firefox