Şimdi Ara

aynı sayfada 2 js kullanamıyorum ?

Bu Konudaki Kullanıcılar:
1 Misafir - 1 Masaüstü
5 sn
8
Cevap
0
Favori
537
Tıklama
Daha Fazla
İstatistik
  • Konu İstatistikleri Yükleniyor
0 oy
Öne Çıkar
Sayfa: 1
Giriş
Mesaj
  • 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>







  •  
    <a onclick="javascript:void window.open('http://siteadi.com','a','width=700,height=500');return false;">popup</a>
    <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=82426275&url=link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;" data-href="link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;">pop2</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.




  • quote:

    Orijinalden alıntı: TROJ

     
    <a onclick="javascript:void window.open('http://siteadi.com','a','width=700,height=500');return false;">popup</a>
    <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=82430003&url=link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;" data-href="link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;">pop2</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




  • quote:

    Orijinalden alıntı: virtualdjcubase

    quote:

    Orijinalden alıntı: TROJ

     
    <a onclick="javascript:void window.open('http://siteadi.com','a','width=700,height=500');return false;">popup</a>
    <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=82430207&url=link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;" data-href="link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;">pop2</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

    hocam birde bir pop up acıkken diğerini acınca yine önceki acılan boyut ne ise ona göre acıyor :(

    şunu kulalnıyorum <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=82430207&url=link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;" data-href="link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800');return false;">pop2</a>




  • sayfanın neresinde çıkartmak istediğini left top ile yapabilirsin örnek :
    <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=82431036&url=link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800,left=500,top=300');return false;" data-href="link" onclick="javascript:void window.open('http://siteadi.com','b','width=400,height=800,left=500,top=300');return false;">pop2</a>


    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.

    sayfayı % olarak değiştirmek için
     
    <script type="text/javascript">
    function yakinlastir() {
    document.body.style.zoom = "500%"
    }
    </script>
    <body onload="yakinlastir()">
    içerik
    </body>

    bu şekilde body tagları arasına alarak yapabilirsin. kolay gelsin.




  • hocam sadece % değiştirme oalyını için bişe daha soracaktım.
    bazı popuplarımı .png ye yönlendirdim (karınca gibi cıkıyor :)
    bazılarıda normal .html

    ben verdiğiniz aşağıdaki kodu popup içersine koysma olmazmı

    <script type="text/javascript">
    function yakinlastir() {
    document.body.style.zoom = "500%"
    }
    </script>
    <body onload="yakinlastir()">
    içerik
    </body>

    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'
    }

    //]]>
    </script>
    <script language="javascript"type="text/javascript">var CustomerID=0;var DepartmanID="Destek";var Name="";var SirName="";var Email="";var Phone="";var HideInvite="";var chatBar=1;var selectDep="none";var clickClose="block";var isOnline=false;var Inline=false;var chatStatus=true;var lpButtonCTTUrl="";</script>
    <script defer="defer"type="text/javascript">window.onload=function(){var mycode;mycode=document.createElement("script");mycode.type="text/javascript";mycode.src="js/menu.js?12.08.2013%2002:25:06";document.getElementsByTagName("head")[0].appendChild(mycode)}</script>

    <!-- canl destek stop-->




  • yardım
  • 
Sayfa: 1
- x
Bildirim
mesajınız kopyalandı (ctrl+v) yapıştırmak istediğiniz yere yapıştırabilirsiniz.