aslıda kullanıyorum ama istediğim gibi dğeil. tek sorun boyut!
aynı sayfada 3 popup koyyorum ve hepsine farklı pencere boyutu ayarlıyorum fakat ilk neyi girmişsem boyut olark hepsini ona göre açıyor bu sorunu nasıl aşabilirim ?
popup 1 20 40px popup 2 50 10 px
gib...
script type="text/javascript"> <!-- Begin function popUp(URL) { day = new Date(); id = day.getTime(); eval("page" + id + " = window.open(URL, '" + id + "', 'toolbar=1,scrollbars=1,location=1,statusbar=1,menubar=1,resizable=1,width=700,height=400');"); } // End --></script> <a data-test="test" rel="nofollow" style="word-wrap: break-word; text-decoration: underline;" target="_blank" onclick="return dhExternalLinkRedirect(this)" href="/ExternalLinkRedirect?module=pgdcode&messageId=82414477&url=javascript:popUp('http://www.siteadi.net/abcd.html')" data-href="javascript:popUp('http://www.siteadi.net/abcd.html')">Popup1</a>
böyle istediğin kadar ekleyebilirsin. fonksiyonları için toolbar menubar location status scrollbars resizable left top vs. = 1/0 ile ayarlayabilirsin.
kolay gelsin.
çok teşekkür ederim gerçekten.
super oldu :)
sayfanın neresinde cıkartmak istediğimi seçebiliyomuyum ? çok önemli dğeil bu gerçi :)
asıl önemli olan hocam ya bir sayfama yönlendiriyorum aslında ve acılan sayfa zoom out olsun istiyorum otomitk olarak hani chorme tarayıcından %70 yaparız ya örneğin popup acıldıgında otomatik %70 gibi bişe olmasını sağlayaiblrmiyim ?
tabi mevcut sayfaya dokunmadan.
hocaom uzun işller ise hiç gerek yok buda gorur tabi işimi sonsuz teşekkürler
böyle istediğin kadar ekleyebilirsin. fonksiyonları için toolbar menubar location status scrollbars resizable left top vs. = 1/0 ile ayarlayabilirsin.
kolay gelsin.
çok teşekkür ederim gerçekten.
super oldu :)
sayfanın neresinde cıkartmak istediğimi seçebiliyomuyum ? çok önemli dğeil bu gerçi :)
asıl önemli olan hocam ya bir sayfama yönlendiriyorum aslında ve acılan sayfa zoom out olsun istiyorum otomitk olarak hani chorme tarayıcından %70 yaparız ya örneğin popup acıldıgında otomatik %70 gibi bişe olmasını sağlayaiblrmiyim ?
tabi mevcut sayfaya dokunmadan.
hocaom uzun işller ise hiç gerek yok buda gorur tabi işimi sonsuz teşekkürler
hocam birde bir pop up acıkken diğerini acınca yine önceki acılan boyut ne ise ona göre acıyor :(
bir popup açıkken diğeri açınca aynı pencereyi kullanması siteadi.com','b', ile alakalı, biri a diğeri b veya 1 2 vs. olarak değiştir, bağımsız olurlar.
yada popup koduma koyabilceğim böle bi kod varmı ? cunku normalde bunu koyarsam sayfa orjinalde de zoom olacak oysa sadece popupta zoom olsun istiyodum tabi bunlar amatorlugumden sadece varmı böyle bişey bilmiyorum.
diğer herşey mukemmel :)
hocam alttaki kodumda 'b' olayı yok.yani bir popup acıkken diğerini açtığımda belirlediğim boyutta açılmasını istiyorum 3 popup var bu kodda.canlı destek kodu "b" olayını bunda nasıl yapabilirim ?
<!-- canl destek start --> <script type="text/javascript"> //<![CDATA[ function goLive2() { URL="canlidestek/client.php" w = 700 h = 600 w = 700 h = 600 leftPos = (screen.width) ? (screen.width-w)/5 : 0; hh = (h + 30); topPos = (screen.height) ? (screen.height-hh)/6 : 0; var newWindow = window.open(URL,"popup","width=" + w +",height=" + h + ",top=" + topPos +",left=" + leftPos + ",toolbar=0,location=0,directories=0,status=0,scrollbars=0,menubar=0,titlebar=no,title=0,resizable=0,alwaysRaised=no"); }
function goLive3() {
URL="http://www.site.net/iletisim/"
w = 600 h = 550 w = 600 h = 550 leftPos = (screen.width) ? (screen.width-w)/3 : 0; hh = (h + 30); topPos = (screen.height) ? (screen.height-hh)/4 : 0; var newWindow = window.open(URL,"popup","width=" + w +",height=" + h + ",top=" + topPos +",left=" + leftPos + ",toolbar=0,location=0,directories=0,status=0,scrollbars=0,menubar=0,titlebar=no,title=0,resizable=,alwaysRaised=no"); }
function goLive4() { URL="http://www.site.net/sizi-arayalim/" w = 600 h = 500 w = 600 h = 500 leftPos = (screen.width) ? (screen.width-w)/2 : 0; hh = (h + 30); topPos = (screen.height) ? (screen.height-hh)/2 : 0; var newWindow = window.open(URL,"popup","width=" + w +",height=" + h + ",top=" + topPos +",left=" + leftPos + ",toolbar=0,location=0,directories=0,status=0,scrollbars=0,menubar=0,titlebar=no,title=0,resizable=0,alwaysRaised=yes"); } function checkBrowser(){ this.ver=navigator.appVersion this.dom=document.getElementById?1:0 this.ie5=(this.ver.indexOf("MSIE 5")>-1 && this.dom)?1:0; this.ie4=(document.all && !this.dom)?1:0; this.ns5=(this.dom && parseInt(this.ver) >= 5) ?1:0; this.ns4=(document.layers && !this.dom)?1:0; this.bw=(this.ie5 || this.ie4 || this.ns4 || this.ns5) return this } bw=new checkBrowser() //With nested layers for netscape, this function hides the layer if it's visible and visa versa function shlay(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; if(obj.visibility=='visible' || obj.visibility=='show') obj.visibility='hidden' else obj.visibility='visible' } function slay(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='visible' } //Hides the div function hlay(div,nest){ obj=bw.dom?document.getElementById(div).style:bw.ie4?document.all[div].style:bw.ns4?nest?document[nest].document[div]:document[div]:0; obj.visibility='hidden' }