DUYURU: Türkiye'nin en güncel ve kaliteli Google Fan Forum platformuna hoşgeldiniz!
  Google Forum, Webmaster Forum, Google Yardım Forumu Forumu.

Reklam kodları Her scripte Uygun
Tam Görünüm | Konu Görünümü
Yorum: 0   Görüntülenme: 692
Konuyu Oyla:
  • Toplam: 0 Oy - Ortalama: 0
  • 1
  • 2
  • 3
  • 4
  • 5

avatar
Administrator
  • 1,133 Mesaj
  • 1,106 Konu
  Kaan şuan Çevrimdışı
1. Splash Reklam kodu

Alıntı:<center>



<style type="text/css">
<!-- #fadeinbox{ position:absolute; width: 465px; left: 0; top: -400px; border: 2px solid black; background-color: #F6F6F6; padding: 4px; z-index: 100; visibility:hidden; font-family: Tahoma, Verdana, Arial, Helvetica, sans-serif; font-size: 11px; } //-->
</style>
<script type="text/javascript"> <!--
//Specify display mode. 3 possible values are:
//1) "always"- This makes the fade-in box load each time the page is displayed
//2) "oncepersession"- This uses cookies to display the fade-in box only once per browser session
//3) integer (ie: 5)- Finally, you can specify an integer to display the box randomly via a frequency of 1/integer...
// For example, 2 would display the box about (1/2) 50% of the time the page loads.
//var displaymode="oncepersession"
var displaymode="always"
var enablefade="yes" //("yes" to enable fade in effect, "no" to disable)
var autohidebox=["yes", 30] //Automatically hide box after x seconds? [yes/no, if_yes_hide_after_seconds]
var showonscroll="yes" //Should box remain visible even when user scrolls page? ("yes"/"no)
var IEfadelength=1 //fade in duration for IE, in seconds
var Mozfadedegree=0.05 //fade in degree for NS6+ (number between 0 and 1. Recommended max: 0.2)
////////No need to edit beyond here///////////
if (parseInt(displaymode)!=NaN)
var random_num=Math.floor(Math.random()*displaymode)
function displayfadeinbox(){
var ie=document.all && !window.opera
var dom=document.getElementById
iebody=(document.compatMode=="CSS1Compat")? document.documentElement : document.body
objref=(dom)? document.getElementById("fadeinbox") : document.all.fadeinbox
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
var docwidth=(ie)? iebody.clientWidth : window.innerWidth
docheight=(ie)? iebody.clientHeight: window.innerHeight
var objwidth=objref.offsetWidth
objheight=objref.offsetHeight
objref.style.left=docwidth/2-objwidth/2+"px"
objref.style.top=scroll_top+docheight/2-objheight/2+"px"
if (showonscroll=="yes")
showonscrollvar=setInterval("staticfadebox()", 50)
if (enablefade=="yes" && objref.filters){
objref.filters[0].duration=IEfadelength
objref.filters[0].Apply()
objref.filters[0].Play()
}
objref.style.visibility="visible"
if (objref.style.MozOpacity){
if (enablefade=="yes")
mozfadevar=setInterval("mozfadefx()", 90)
else{
objref.style.MozOpacity=1
controlledhidebox()
}
}
else
controlledhidebox()
}
function mozfadefx(){
if (parseFloat(objref.style.MozOpacity)<1)
objref.style.MozOpacity=parseFloat(objref.style.MozOpacity)+Mozfadedegree
else{
clearInterval(mozfadevar)
controlledhidebox()
}
}
function staticfadebox(){
var ie=document.all && !window.opera
var scroll_top=(ie)? iebody.scrollTop : window.pageYOffset
objref.style.top=scroll_top+docheight/2-objheight/2+"px"
}
function hidefadebox(){
objref.style.visibility="hidden"
if (typeof showonscrollvar!="undefined")
clearInterval(showonscrollvar)
}
function controlledhidebox(){
if (autohidebox[0]=="yes"){
var delayvar=(enablefade=="yes" && objref.filters)? (autohidebox[1]+objref.filters[0].duration)*1000 : autohidebox[1]*1000
setTimeout("hidefadebox()", delayvar)
}
}
function initfunction(){
setTimeout("displayfadeinbox()", 100)
}
function get_cookie(Name) {
var search = Name + "="
var returnvalue = ""
if (document.cookie.length > 0) {
offset = document.cookie.indexOf(search)
if (offset != -1) {
offset += search.length
end = document.cookie.indexOf(";", offset)
if (end == -1)
end = document.cookie.length;
returnvalue=unescape(document.cookie.substring(offset, end))
}
}
return returnvalue;
}
if (displaymode=="oncepersession" && get_cookie("fadedin")=="" || displaymode=="always" || parseInt(displaymode)!=NaN && random_num==0){
if (window.addEventListener)
window.addEventListener("load", initfunction, false)
else if (window.attachEvent)
window.attachEvent("onload", initfunction)
else if (document.getElementById)
window.onload=initfunction
document.cookie="fadedin=yes"
}
//--> </script>
<div id="fadeinbox" style="filter:progidBig GrinXImageTransform.Microsoft.RandomDissolve(duration=1) progidBig GrinXImageTransform.Microsoft.Shadow(color=grey,direction=135); -moz-opacity:0">
<b>
<center>

<!-- Reklam Kodu -->
<<!--Reklam Kodusonu -->


</center>
</b>
<div align="right">
<a href="#" onClick="hidefadebox();return false" class="gensmall">kapat !</a></div>
</div>


</center>

2. Solda kayan Banner kodu

Alıntı:<style>
#reklamm {
position : fixed;
_position : absolute;
top : 0;
_top : expression(eval(document.body.scrollTop ) );
left : 0;
margin : 0;
}
</style>

<div id="reklamm">

<!-- Sag Reklam Kodu -->
kodu buraya yazınız
<!-- Sag Reklam Kodu -->
</div>

3. Sağda Kayan Reklam Banner kodu

Alıntı:<style>
#reklam {
position : fixed;
_position : absolute;
top : 0;
_top : expression(eval(document.body.scrollTop ) );
right : 0;
margin : 0;
}
</style>

<div id="reklam">

<!-- Sag Reklam Kodu -->
<!-- Sag Reklam Kodusonu -->
</div>

4. Solda kayan Kapatmalı gizle meli reklam kodu gizle yada kapat ibaresi içerir

Alıntı:<script language="javascript">
var win = null;
function NewWindow(mypage,myname,w,h,scroll){
LeftPosition = (screen.width) ? (screen.width-w)/2 : 0;
TopPosition = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+TopPosition+',left='+LeftPosition+',scrollbars='+scroll+',resizable'
win = window.open(mypage,myname,settings)
}
</script>
</head>
<body link="#000000" vlink="#000000" alink="#000000">
<script language="JavaScript" type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
<div align="left" id="katman" style="position:absolute; left: 15px; padding-top: 10px; padding-left: 10px">
<div id="katman2"><script language="JavaScript">

function random_imglink(){
var myimages=new Array()
myimages[1]="reklam banneri"

var imagelinks=new Array()
imagelinks[1]="http://www.siteadi.com"


var ry=Math.floor(Math.random()*myimages.length)

if (ry==0)
ry=1
document.write('<a target="_blank" href='+'"'+imagelinks[ry]+'"'+'><img src="'+myimages[ry]+'" border=0></a>')
}
random_imglink()

</script>
</div><center><span id='katmanyazi' class='yazi' onClick='javascript:if (document.getElementById("katman2").style.display=="") { document.getElementById("katman2").style.display="none";document.getElementById("katmanyazi").innerHTML = "-Göster-"; } else { document.getElementById("katman2").style.display=""; document.getElementById("katmanyazi").innerHTML = "-Gizle-";}' style='cursor:pointer'><b>-Gizle-</b></span></center></div>

5. Popup Kodu

Alıntı:<script type="text/javascript">
var puShown = false;
function doOpen(url)
{
if ( puShown == true )
{
return true;
}
win = window.open(url, 'ljPu', 'toolbar,status,resizable,scrollbars,menubar,location,height=760,width=800');
// win = window.open(url, 'ljPu', 'height=680,width=790');
if ( win )
{
win.blur();
puShown = true;
}
return win;
}
function setCookie(name, value, time)
{
var expires = new Date();
expires.setTime( expires.getTime() + time );
document.cookie = name + '=' + value + '; expires=' + expires.toGMTString();
}
function getCookie(name) {
var cookies = document.cookie.toString().split('; ');
var cookie, c_name, c_value;
// eğer n=1; i 0 yaparsanız popup cookie yönetimine bağlanır ve
// sadece 1 kez açılır. n=1; kaldığı sürece popup sürekli açılacaktır.
for (var n=1; n<cookies.length; n++) {
cookie = cookies[n].split('=');
c_name = cookie[0];
c_value = cookie[1];
if ( c_name == name ) {
return c_value;
}
}
return null;
}
function initPu()
{
if ( document.attachEvent )
{
document.attachEvent( 'onclick', checkTarget );
}
else if ( document.addEventListener )
{
document.addEventListener( 'click', checkTarget, false );
}
}
function checkTarget(e)
{
if ( !getCookie('popundr') ) {
var e = e || window.event;
var win = doOpen('http://www.Site-Adresi.com');
setCookie('popundr', 1, 24*60*60*1000);
}
}
initPu();
</script>

6. R10.net sağ köşedeki yaprak reklam kodu js kdolarını koyuyorum herkes kendıne gore edıtlesın.

Alıntı:// Flash Player Version Detection - Rev 1.5
// Detect Client Browser type
// Copyright© 2005-2006 Adobe Macromedia Software, LLC. All rights reserved.
var isIE = (navigator.appVersion.indexOf("MSIE") != -1) ? true : false;
var isWin = (navigator.appVersion.toLowerCase().indexOf("win") != -1) ? true : false;
var isOpera = (navigator.userAgent.indexOf("Opera") != -1) ? true : false;

function ControlVersion()
{
var version;
var axo;
var e;

// NOTE : new ActiveXObject(strFoo) throws an exception if strFoo isn't in the registry

try {
// version will be set for 7.X or greater players
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.7");
version = axo.GetVariable("$version");
} catch (e) {
}

if (!version)
{
try {
// version will be set for 6.X players only
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.6");

// installed player is some revision of 6.0
// GetVariable("$version") crashes for versions 6.0.22 through 6.0.29,
// so we have to be careful.

// default to the first public version
version = "WIN 6,0,21,0";

// throws if AllowScripAccess does not exist (introduced in 6.0r47)
axo.AllowScriptAccess = "always";

// safe to call for 6.0r47 or greater
version = axo.GetVariable("$version");

} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 4.X or 5.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = axo.GetVariable("$version");
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 3.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash.3");
version = "WIN 3,0,18,0";
} catch (e) {
}
}

if (!version)
{
try {
// version will be set for 2.X player
axo = new ActiveXObject("ShockwaveFlash.ShockwaveFlash");
version = "WIN 2,0,0,11";
} catch (e) {
version = -1;
}
}

return version;
}

// JavaScript helper required to detect Flash Player PlugIn version information
function GetSwfVer(){
// NS/Opera version >= 3 check for Flash plugin in plugin array
var flashVer = -1;

if (navigator.plugins != null && navigator.plugins.length > 0) {
if (navigator.plugins["Shockwave Flash 2.0"] || navigator.plugins["Shockwave Flash"]) {
var swVer2 = navigator.plugins["Shockwave Flash 2.0"] ? " 2.0" : "";
var flashDescription = navigator.plugins["Shockwave Flash" + swVer2].description;
var descArray = flashDescription.split(" ");
var tempArrayMajor = descArray[2].split(".");
var versionMajor = tempArrayMajor[0];
var versionMinor = tempArrayMajor[1];
if ( descArray[3] != "" ) {
tempArrayMinor = descArray[3].split("r");
} else {
tempArrayMinor = descArray[4].split("r");
}
var versionRevision = tempArrayMinor[1] > 0 ? tempArrayMinor[1] : 0;
var flashVer = versionMajor + "." + versionMinor + "." + versionRevision;
}
}
// MSN/WebTV 2.6 supports Flash 4
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.6") != -1) flashVer = 4;
// WebTV 2.5 supports Flash 3
else if (navigator.userAgent.toLowerCase().indexOf("webtv/2.5") != -1) flashVer = 3;
// older WebTV supports Flash 2
else if (navigator.userAgent.toLowerCase().indexOf("webtv") != -1) flashVer = 2;
else if ( isIE && isWin && !isOpera ) {
flashVer = ControlVersion();
}
return flashVer;
}

// When called with reqMajorVer, reqMinorVer, reqRevision returns true if that version or greater is available
function DetectFlashVer(reqMajorVer, reqMinorVer, reqRevision)
{
versionStr = GetSwfVer();
if (versionStr == -1 ) {
return false;
} else if (versionStr != 0) {
if(isIE && isWin && !isOpera) {
// Given "WIN 2,0,0,11"
tempArray = versionStr.split(" "); // ["WIN", "2,0,0,11"]
tempString = tempArray[1]; // "2,0,0,11"
versionArray = tempString.split(","); // ['2', '0', '0', '11']
} else {
versionArray = versionStr.split(".");
}
var versionMajor = versionArray[0];
var versionMinor = versionArray[1];
var versionRevision = versionArray[2];

// is the major.revision >= requested major.revision AND the minor version >= requested minor
if (versionMajor > parseFloat(reqMajorVer)) {
return true;
} else if (versionMajor == parseFloat(reqMajorVer)) {
if (versionMinor > parseFloat(reqMinorVer))
return true;
else if (versionMinor == parseFloat(reqMinorVer)) {
if (versionRevision >= parseFloat(reqRevision))
return true;
}
}
return false;
}
}

function AC_AddExtension(src, ext)
{
if (src.indexOf('?') != -1)
return src.replace(/\?/, ext+'?');
else
return src + ext;
}

function AC_Generateobj(objAttrs, params, embedAttrs)
{
var str = '';
if (isIE && isWin && !isOpera)
{
str += '<object ';
for (var i in objAttrs)
str += i + '="' + objAttrs[i] + '" ';
for (var i in params)
str += '><param name="' + i + '" value="' + params[i] + '" /> ';
str += '></object>';
} else {
str += '<embed ';
for (var i in embedAttrs)
str += i + '="' + embedAttrs[i] + '" ';
str += '> </embed>';
}

document.write(str);
}

function AC_FL_RunContent(){
var ret =
AC_GetArgs
( arguments, "", "movie", "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000"
, "application/x-shockwave-flash"
);
AC_Generateobj(ret.objAttrs, ret.params, ret.embedAttrs);
}

function AC_GetArgs(args, ext, srcParamName, classid, mimeType){
var ret = new Object();
ret.embedAttrs = new Object();
ret.params = new Object();
ret.objAttrs = new Object();
for (var i=0; i < args.length; i=i+2){
var currArg = args[i].toLowerCase();

switch (currArg){
case "classid":
break;
case "pluginspage":
ret.embedAttrs[args[i]] = args[i+1];
break;
case "src":
case "movie":
args[i+1] = AC_AddExtension(args[i+1], ext);
ret.embedAttrs["src"] = args[i+1];
ret.params[srcParamName] = args[i+1];
break;
case "onafterupdate":
case "onbeforeupdate":
case "onblur":
case "oncellchange":
case "onclick":
case "ondblClick":
case "ondrag":
case "ondragend":
case "ondragenter":
case "ondragleave":
case "ondragover":
case "ondrop":
case "onfinish":
case "onfocus":
case "onhelp":
case "onmousedown":
case "onmouseup":
case "onmouseover":
case "onmousemove":
case "onmouseout":
case "onkeypress":
case "onkeydown":
case "onkeyup":
case "onload":
case "onlosecapture":
case "onpropertychange":
case "onreadystatechange":
case "onrowsdelete":
case "onrowenter":
case "onrowexit":
case "onrowsinserted":
case "onstart":
case "onscroll":
case "onbeforeeditfocus":
case "onactivate":
case "onbeforedeactivate":
case "ondeactivate":
case "type":
case "codebase":
case "id":
ret.objAttrs[args[i]] = args[i+1];
break;
case "width":
case "height":
case "align":
case "vspace":
case "hspace":
case "class":
case "title":
case "accesskey":
case "name":
case "tabindex":
ret.embedAttrs[args[i]] = ret.objAttrs[args[i]] = args[i+1];
break;
default:
ret.embedAttrs[args[i]] = ret.params[args[i]] = args[i+1];
}
}
ret.objAttrs["classid"] = classid;
if (mimeType) ret.embedAttrs["type"] = mimeType;
return ret;
}





// URL to small image
var pagearSmallImg = 'http://www.adport.com.tr/pp/small10.swf';
// URL to small pageear swf
var pagearSmallSwf = 'http://www.adport.com.tr/pp/kucuk_pencere2.swf';

// URL to big image
var pagearBigImg = 'http://www.adport.com.tr/pp/big10.swf';
// URL to big pageear swf
var pagearBigSwf = 'http://www.adport.com.tr/pp/buyuk_pencere2.swf';

// Movement speed of small pageear 1-4 (2=Standard)
var speedSmall = 4;
// Mirror image ( true | false )
var mirror = 'true';

// Color of pagecorner if mirror is false
var pageearColor = 'FFFFFF';

// URL to open on pageear click
var jumpTo = 'http://www.adport.com.tr' ;

// Browser target (new) or self (self)
var openLink = 'new';

// Opens pageear automaticly (false:deactivated | 0.1 - X seconds to open)
var openOnLoad = false;

// Second until pageear close after openOnLoad
var closeOnLoad = 5;

// Set direction of pageear in left or right top browser corner (lt: left | rt: right )
var setDirection = 'rt';

/*
* Do not change anything after this line
*/

// Flash check vars
var requiredMajorVersion = 6;
var requiredMinorVersion = 0;
var requiredRevision = 0;

// Copyright
var copyright = 'Webpicasso Media, http://www.webpicasso.de';

// Size small peel
var thumbWidth = 150;
var thumbHeight = 150;

// Size big peel
var bigWidth = 500;
var bigHeight = 500;

// Css style default x-position
var xPos = 'right';

// GET - Params
var queryParams = 'pagearSmallImg='+escape(pagearSmallImg);
queryParams += '&pagearBigImg='+escape(pagearBigImg);
queryParams += '&pageearColor='+pageearColor;
queryParams += '&jumpTo='+escape(jumpTo);
queryParams += '&openLink='+escape(openLink);
queryParams += '&mirror='+escape(mirror);
queryParams += '&copyright='+escape(copyright);
queryParams += '&speedSmall='+escape(speedSmall);
queryParams += '&openOnLoad='+escape(openOnLoad);
queryParams += '&closeOnLoad='+escape(closeOnLoad);
queryParams += '&setDirection='+escape(setDirection);


function openPeel(){
document.getElementById('adport_bigDiv').style.top = '0px';
document.getElementById('adport_bigDiv').style[xPos] = '0px';
document.getElementById('adport_thumbDiv').style.top = '-1000px';
}

function closePeel(){
document.getElementById("adport_thumbDiv").style.top = "0px";
document.getElementById("adport_bigDiv").style.top = "-1000px";
}

function writeObjects () {

// Get installed flashversion
var hasReqestedVersion = DetectFlashVer(requiredMajorVersion, requiredMinorVersion, requiredRevision);

// Check direction
if(setDirection == 'lt') {
xPos = 'left';
}

// Write div layer for big swf
document.write('<div id="adport_bigDiv" style="position:absolute;width:'+ bigWidth +'px;height:'+ bigHeight +'px;z-index:9999;'+xPos+':1000px;top:-1000px;">');

// Check if flash exists/ version matched
if (hasReqestedVersion) {
AC_FL_RunContent(
"src", pagearBigSwf+'?'+ queryParams,
"width", bigWidth,
"height", bigHeight,
"align", "middle",
"id", "bigSwf",
"quality", "high",
"bgcolor", "#FFFFFF",
"name", "bigSwf",
"wmode", "transparent",
"allowScriptAccess","always",
"type", "application/x-shockwave-flash",
'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else { // otherwise do nothing or write message ...
document.write('no flash installed'); // non-flash content
}
// Close div layer for big swf
document.write('</div>');

// Write div layer for small swf
document.write('<div id="adport_thumbDiv" style="position:absolute;width:'+ thumbWidth +'px;height:'+ thumbHeight +'px;z-index:9999;'+xPos+':0px;top:0px;">');

// Check if flash exists/ version matched
if (hasReqestedVersion) {
AC_FL_RunContent(
"src", pagearSmallSwf+'?'+ queryParams,
"width", thumbWidth,
"height", thumbHeight,
"align", "middle",
"id", "bigSwf",
"quality", "high",
"bgcolor", "#FFFFFF",
"name", "bigSwf",
"wmode", "transparent",
"allowScriptAccess","always",
"type", "application/x-shockwave-flash",
'codebase', 'http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab',
"pluginspage", "http://www.adobe.com/go/getflashplayer"
);
} else { // otherwise do nothing or write message ...
document.write('no flash installed'); // non-flash content
}
document.write('</div>');

}

writeObjects();

koduda su sekılde cagırıyoruz sıtemızde r10.net gıbı

PHP Kod:
<script src="pp.js"language="javascript"></script> 

7. Msn Popup Kodu Kodları kendinize göre düzenleyiniz
Msn Popup Kodu Resimleriyle Birlikde İndir
js kodu

Alıntı:resim = new Array(6);
resim[0] = "http://js.softreklam.com/msn/msn/1.gif";
resim[1] = "http://js.softreklam.com/msn/msn/2.gif";
resim[2] = "http://js.softreklam.com/msn/msn/3.gif";
resim[3] = "http://js.softreklam.com/msn/msn/4.gif";
resim[4] = "http://js.softreklam.com/msn/msn/2.gif";
resim[5] = "http://js.softreklam.com/msn/msn/1.gif";
ana = Math.floor(Math.random() * resim.length);
resim = resim[ana];

var pub = '<div id="popupWin" style="right: 0px; margin-right:8px; bottom: 0px; display: none; z-index: 9999; position: absolute; height: 121px"><div id="popupWin_content" style="padding:2px; display: none; overflow: hidden; width: 214px; height: 121px; position: absolute;"><a href="'+adres+'" target="'+target+'"><img id="msnPopupImg" src="'+resim+'" width="214" height="121" border="0" alt="" /></a></div></div>';
document.write(pub);

var resim;

document.getElementById('msnPopupImg').src = resim;

var popupWinoldonloadHndlr=window.onload, popupWinpopupHgt, popupWinactualHgt, popupWintmrId=-1, popupWinresetTimer;
var popupWincntDelta;

function popupWinespopup_ShowPopup(show)
{
if (popupWintmrId!=-1) return;
el=document.getElementById('popupWin');
el.style.right='214px';
el.style.top='';
el.style.filter='';

if (navigator.userAgent.indexOf('Opera')!=-1)
el.style.bottom=(document.body.scrollHeight*1-document.body.scrollTop*1-document.body.offsetHeight*1+1*popupWinpopupBottom)+'px';

popupWinactualHgt=0; el.style.height=popupWinactualHgt+'px';
el.style.visibility='';
if (!popupWinresetTimer) el.style.display='';
SesCal();
popupWintmrId=setInterval(popupWinespopup_tmrTimer,(popupWinresetTimer?1000:20));
}

function popupWinespopup_winLoad ()
{
if (popupWinoldonloadHndlr!=null) popupWinoldonloadHndlr();

elCnt=document.getElementById('popupWin_content')
el=document.getElementById('popupWin');
popupWinpopupBottom=el.style.bottom.substr(0,el.style.bottom.length-2);

popupWinpopupHgt=el.style.height;
popupWinpopupHgt=popupWinpopupHgt.substr(0,popupWinpopupHgt.length-2); popupWinactualHgt=0;
popupWincntDelta=popupWinpopupHgt-(elCnt.style.height.substr(0,elCnt.style.height.length-2));

popupWinresetTimer=false;
popupWinespopup_ShowPopup(null);

}


function popupWinespopup_tmrTimer()
{
el=document.getElementById('popupWin');
if (popupWinresetTimer)
{
el.style.display='';
clearInterval(popupWintmrId); popupWinresetTimer=false;
popupWintmrId=setInterval(popupWinespopup_tmrTimer,20);
}
popupWinactualHgt+=5;
if (popupWinactualHgt>=popupWinpopupHgt)
{
popupWinactualHgt=popupWinpopupHgt; clearInterval(popupWintmrId); popupWintmrId=-1;
document.getElementById('popupWin_content').style.display='';
}

if ((popupWinactualHgt-popupWincntDelta)>0)
{
elCnt=document.getElementById('popupWin_content')
elCnt.style.display='';
elCnt.style.height=(popupWinactualHgt-popupWincntDelta)+'px';
}
el.style.height=popupWinactualHgt+'px';
}

function SesCal() {

var player = 'msnplayer.swf';
var mp3_file = 'msn.mp3';
var mp3html = '<object classid="clsidBig Grin27CDB6E-AE6D-11cf-96B8-444553540000" ';
mp3html += 'width="1" height="1" ';
mp3html += 'codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab">';
mp3html += '<param name="movie" value="'+ player +'?';
mp3html += 'showDownload=false&file=' + mp3_file + '&autoStart=true';
mp3html += '&backColor=ffffff&frontColor=ffffff';
mp3html += '&repeatPlay=false&songVolume=80" />';
mp3html += '<param name="wmode" value="transparent" />';
mp3html += '<embed wmode="transparent" width="1" height="1" ';
mp3html += 'src="' + player + '?'
mp3html += 'showDownload=false&file=' + mp3_file + '&autoStart=true';
mp3html += '&backColor=ffffff&frontColor=ffffff';
mp3html += '&repeatPlay=false&songVolume=50" ';
mp3html += 'type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />';

mp3html += '</object>';
document.getElementById('popupWin').innerHTML +=mp3html;
return;
}

function gst(){
var ns = (navigator.appName.indexOf("Netscape") != -1)
if (document.documentElement && document.documentElement.scrollTop) {
var pY = ns ? window.pageYOffset : document.documentElement.scrollTop; }
else if (document.body) {
var pY = ns ? window.pageYOffset : document.body.scrollTop;
}
return pY;
}

function kaydir(){
var divim = document.getElementById('popupWin');
var nerde = gst()*-1 + 'px';
if (divim.style.bottom!=nerde){ divim.style.bottom=nerde; }
window.setTimeout('kaydir();',100);
}

kaydir();

var ErrorHandler = function() {
return true;
};
window.onerror = ErrorHandler;

window.onload=popupWinespopup_winLoad();

sitede çağrılış şekli

PHP Kod:
<script language="javascript" src="msn.js"></script> 

10.Wordpress videoonu reklam kodu

Alıntı:<script type=text/javascript>
setTimeout('gizle()',10000);
function gizle() {
var x=document.getElementById('birinci').style;
var y=document.getElementById('ikinci').style;
if(x.display=='block') { x.display='none'; y.display='block'; }
else { x.display='block'; y.display='none'; }
}
</script> <div id="birinci" style="display:block">
<!--REKLAM KODLARI ALANI-->
<a onclick="gizle();return false;" href="#">Reklamı Geç</a><br>10 sn içerisinde video açılacaktır..</div>
</center>
</div> <div id="ikinci" style="display:none">
<div id="player">
<!--Wordpressde bu şekilde olacak, diğer scriptlerde bu kısıma reklamdan sonra gösterilen alan getirilecek-->
<?php the_content(); ?>

</div></div>


kodları isteyenlere göre bazı siterden kendim aldım.
Bazılarıda paylaşılmıştı.
Burada yayınlıyorum arayan arkadaşlar için bir teşekkür etmeniz dileğiyle.
"Her nefis öIümü tadacaktır. Sizi imtihan etmek için hayra ve kötülüğe mübtela kılarız. "
"Hepiniz en sonunda bize döndürüleceksiniz."
oldest  newest
  Konuyu Okuyanlar: 2 Ziyaretçi