İki jQuery'nin Çakışması

Kodla Büyü

mavi85

Süper Üye
Süper Üye
Seçkin Üye
Mesajlar
1,024
Merhaba arkadaşlar menü ve slider için sayfada 2 adet jQuery kullanıyorum ama sayfaya sliderin .js kodlarından sonra menu'nun .js kodlarını eklersem( menunun ust tarafa ekliyorum) slider kodlarım çalışmıyor. Yani bir yerde çakışma var ama çözemedim, yardımcı olur musunuz?

Menü .js kodları

Kod:
/** jquery.color.js ****************/
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('(c(y,1d){z 2l="N 2P 3b 2T 2R w 3g 3h 3m 3n",2q=/^([\\-+])=\\s*(\\d+\\.?\\d*)/,2t=[{19:/k?\\(\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*,\\s*(\\d{1,3})\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,P:c(x){8[x[1],x[2],x[3],x[4]]}},{19:/k?\\(\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,P:c(x){8[x[1]*2.1K,x[2]*2.1K,x[3]*2.1K,x[4]]}},{19:/#([a-1e-9]{2})([a-1e-9]{2})([a-1e-9]{2})/,P:c(x){8[1b(x[1],16),1b(x[2],16),1b(x[3],16)]}},{19:/#([a-1e-9])([a-1e-9])([a-1e-9])/,P:c(x){8[1b(x[1]+x[1],16),1b(x[2]+x[2],16),1b(x[3]+x[3],16)]}},{19:/B?\\(\\s*(\\d+(?:\\.\\d+)?)\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*,\\s*(\\d+(?:\\.\\d+)?)\\%\\s*(?:,\\s*(\\d?(?:\\.\\d+)?)\\s*)?\\)/,m:"B",P:c(x){8[x[1],x[2]/1U,x[3]/1U,x[4]]}}],w=y.1y=c(w,V,1f,R){8 2A y.1y.O.P(w,V,1f,R)},H={k:{M:{D:{C:0,j:"1G"},V:{C:1,j:"1G"},1f:{C:2,j:"1G"}}},B:{M:{2w:{C:0,j:"2p"},2E:{C:1,j:"1E"},3s:{C:2,j:"1E"}}}},1N={"1G":{1R:1k,L:Z},"1E":{L:1},"2p":{T:1B,1R:1k}},1r=w.1r={},1P=y("<p>")[0],1i,F=y.F;1P.1I.2y="2z-w:k(1,1,1,.5)";1r.k=1P.1I.N.2x("k")>-1;F(H,c(G,m){m.u="21"+G;m.M.R={C:3,j:"1E",1D:1}});c 1m(f,t,2d){z j=1N[t.j]||{};7(f==n){8(2d||!t.1D)?n:t.1D}f=j.1R?~~f:2b(f);7(2M(f)){8 t.1D}7(j.T){8(f+j.T)%j.T}8 0>f?0:j.L<f?j.L:f}c 1W(X){z A=w(),k=A.E=[];X=X.2I();F(2t,c(i,1A){z 12,W=1A.19.2r(X),1X=W&&1A.P(W),G=1A.m||"k";7(1X){12=A[G](1X);A[H[G].u]=12[H[G].u];k=A.E=12.E;8 2B}});7(k.25){7(k.1F()==="0,0,0,0"){y.2h(k,1i.13)}8 A}8 1i[X]}w.O=y.2h(w.24,{P:c(D,V,1f,R){7(D===1d){o.E=[n,n,n,n];8 o}7(D.2J||D.2K){D=y(D).2j(V);V=1d}z A=o,j=y.j(D),k=o.E=[];7(V!==1d){D=[D,V,1f,R];j="1Y"}7(j==="X"){8 o.P(1W(D)||1i.1M)}7(j==="1Y"){F(H.k.M,c(I,t){k[t.C]=1m(D[t.C],t)});8 o}7(j==="1S"){7(D 2H w){F(H,c(G,m){7(D[m.u]){A[m.u]=D[m.u].18()}})}U{F(H,c(G,m){z u=m.u;F(m.M,c(I,t){7(!A[u]&&m.Q){7(I==="R"||D[I]==n){8}A[u]=m.Q(A.E)}A[u][t.C]=1m(D[I],t,1k)});7(A[u]&&y.2C(n,A[u].18(0,3))<0){A[u][3]=1;7(m.14){A.E=m.14(A[u])}}})}8 o}},22:c(2u){z 22=w(2u),1q=1k,A=o;F(H,c(21,m){z 1T,1u=22[m.u];7(1u){1T=A[m.u]||m.Q&&m.Q(A.E)||[];F(m.M,c(21,t){7(1u[t.C]!=n){1q=(1u[t.C]===1T[t.C]);8 1q}})}8 1q});8 1q},2o:c(){z 1Q=[],A=o;F(H,c(G,m){7(A[m.u]){1Q.26(G)}});8 1Q.1p()},2c:c(2n,2k){z Y=w(2n),G=Y.2o(),m=H[G],1O=o.R()===0?w("13"):o,1j=1O[m.u]||m.Q(1O.E),1v=1j.18();Y=Y[m.u];F(m.M,c(I,t){z 1h=t.C,10=1j[1h],1g=Y[1h],j=1N[t.j]||{};7(1g===n){8}7(10===n){1v[1h]=1g}U{7(j.T){7(1g-10>j.T/2){10+=j.T}U 7(10-1g>j.T/2){10-=j.T}}1v[1h]=1m((1g-10)*2k+10,t)}});8 o[G](1v)},1J:c(28){7(o.E[3]===1){8 o}z 1z=o.E.18(),a=1z.1p(),1J=w(28).E;8 w(y.1C(1z,c(v,i){8(1-a)*1J[i]+a*v}))},1V:c(){z 1c="k(",k=y.1C(o.E,c(v,i){8 v==n?(i>2?1:0):v});7(k[3]===1){k.1p();1c="1z("}8 1c+k.1F()+")"},2D:c(){z 1c="B(",B=y.1C(o.B(),c(v,i){7(v==n){v=i>2?1:0}7(i&&i<3){v=17.1l(v*1U)+"%"}8 v});7(B[3]===1){B.1p();1c="2G("}8 1c+B.1F()+")"},2L:c(27){z k=o.E.18(),R=k.1p();7(27){k.26(~~(R*Z))}8"#"+y.1C(k,c(v){v=(v||0).23(16);8 v.25===1?"0"+v:v}).1F("")},23:c(){8 o.E[3]===0?"13":o.1V()}});w.O.P.24=w.O;c 1s(p,q,h){h=(h+1)%1;7(h*6<1){8 p+(q-p)*h*6}7(h*2<1){8 q}7(h*3<2){8 p+(q-p)*((2/3)-h)*6}8 p}H.B.Q=c(k){7(k[0]==n||k[1]==n||k[2]==n){8[n,n,n,k[3]]}z r=k[0]/Z,g=k[1]/Z,b=k[2]/Z,a=k[3],L=17.L(r,g,b),1n=17.1n(r,g,b),15=L-1n,1H=L+1n,l=1H*0.5,h,s;7(1n===L){h=0}U 7(r===L){h=(1L*(g-b)/15)+1B}U 7(g===L){h=(1L*(b-r)/15)+3p}U{h=(1L*(r-g)/15)+3q}7(15===0){s=0}U 7(l<=0.5){s=15/1H}U{s=15/(2-1H)}8[17.1l(h)%1B,s,l,a==n?1:a]};H.B.14=c(B){7(B[0]==n||B[1]==n||B[2]==n){8[n,n,n,B[3]]}z h=B[0]/1B,s=B[1],l=B[2],a=B[3],q=l<=0.5?l*(1+s):l+s-l*s,p=2*l-q;8[17.1l(1s(p,q,h+(1/3))*Z),17.1l(1s(p,q,h)*Z),17.1l(1s(p,q,h-(1/3))*Z),a]};F(H,c(G,m){z M=m.M,u=m.u,Q=m.Q,14=m.14;w.O[G]=c(f){7(Q&&!o[u]){o[u]=Q(o.E)}7(f===1d){8 o[u].18()}z 1t,j=y.j(f),29=(j==="1Y"||j==="1S")?f:3t,S=o[u].18();F(M,c(I,t){z 1w=29[j==="1S"?I:t.C];7(1w==n){1w=S[t.C]}S[t.C]=1m(1w,t)});7(14){1t=w(14(S));1t[u]=S;8 1t}U{8 w(S)}};F(M,c(I,t){7(w.O[I]){8}w.O[I]=c(f){z 1o=y.j(f),O=(I==="R"?(o.3y?"B":"k"):G),S=o[O](),1x=S[t.C],W;7(1o==="1d"){8 1x}7(1o==="c"){f=f.3w(o,1x);1o=y.j(f)}7(f==n&&t.3x){8 o}7(1o==="X"){W=2q.2r(f);7(W){f=1x+2b(W[2])*(W[1]==="+"?1:-1)}}S[t.C]=f;8 o[O](S)}})});w.K=c(K){z 2s=K.30(" ");F(2s,c(i,K){y.1Z[K]={2g:c(1a,f){z 12,11,N="";7(f!=="13"&&(y.j(f)!=="X"||(12=1W(f)))){f=w(12||f);7(!1r.k&&f.E[3]!==1){11=K==="N"?1a.2i:1a;2S((N===""||N==="13")&&11&&11.1I){2e{N=y.2j(11,"N");11=11.2i}2m(e){}}f=f.1J(N&&N!=="13"?N:"1M")}f=f.1V()}2e{1a.1I[K]=f}2m(e){}}};y.J.3a[K]=c(J){7(!J.2f){J.1j=w(J.1a,K);J.Y=w(J.Y);J.2f=1k}y.1Z[K].2g(J.1a,J.1j.2c(J.Y,J.39))}})};w.K(2l);y.1Z.33={35:c(f){z 20={};F(["37","3i","3d","32"],c(i,2v){20["2U"+2v+"1y"]=f});8 20}};1i=y.1y.2F={3r:"#2N",3B:"#31",1f:"#36",34:"#38",3e:"#3c",V:"#2Q",2O:"#2V",2Z:"#2Y",2W:"#2X",3f:"#3v",3u:"#3z",D:"#3D",3C:"#3A",3E:"#3l",3k:"#2a",3j:"#3o",13:[n,n,n,0],1M:"#2a"}}(y));',62,227,'|||||||if|return||||function|||value||||type|rgba||space|null|this|||||prop|cache||color|execResult|jQuery|var|inst|hsla|idx|red|_rgba|each|spaceName|spaces|key|fx|hook|max|props|backgroundColor|fn|parse|to|alpha|local|mod|else|green|match|string|end|255|startValue|curElem|parsed|transparent|from|diff||Math|slice|re|elem|parseInt|prefix|undefined|f0|blue|endValue|index|colors|start|true|round|clamp|min|vtype|pop|same|support|hue2rgb|ret|isCache|result|val|cur|Color|rgb|parser|360|map|def|percent|join|byte|add|style|blend|55|60|_default|propTypes|startColor|supportElem|used|floor|object|localCache|100|toRgbaString|stringParse|values|array|cssHooks|expanded|_|is|toString|prototype|length|push|includeAlpha|opaque|arr|ffffff|parseFloat|transition|allowEmpty|try|colorInit|set|extend|parentNode|css|distance|stepHooks|catch|other|_space|degrees|rplusequals|exec|hooks|stringParsers|compare|part|hue|indexOf|cssText|background|new|false|inArray|toHslaString|saturation|names|hsl|instanceof|toLowerCase|jquery|nodeType|toHexString|isNaN|00ffff|lime|borderBottomColor|008000|borderTopColor|while|borderRightColor|border|00ff00|navy|000080|800000|maroon|split|000000|Left|borderColor|fuchsia|expand|0000ff|Top|ff00ff|pos|step|borderLeftColor|808080|Bottom|gray|olive|columnRuleColor|outlineColor|Right|yellow|white|008080|textDecorationColor|textEmphasisColor|ffff00|120|240|aqua|lightness|arguments|purple|808000|call|empty|_hsla|800080|c0c0c0|black|silver|ff0000|teal'.split('|'),0,{}));

/** jquery.lavalamp.js ****************/
/**
 * LavaLamp - A menu plugin for jQuery with cool hover effects.
 * @requires jQuery v1.1.3.1 or above
 *
 * http://gmarwaha.com/blog/?p=7
 *
 * Copyright (c) 2007 Ganeshji Marwaha (gmarwaha.com)
 * Dual licensed under the MIT and GPL licenses:
 * http://www.opensource.org/licenses/mit-license.php
 * http://www.gnu.org/licenses/gpl.html
 *
 * Version: 0.1.0
 */

/**
 * Creates a menu with an unordered list of menu-items. You can either use the CSS that comes with the plugin, or write your own styles 
 * to create a personalized effect
 *
 * The HTML markup used to build the menu can be as simple as...
 *
 *       <ul class="lavaLamp">
 *           <li><a href="#">Home</a></li>
 *           <li><a href="#">Plant a tree</a></li>
 *           <li><a href="#">Travel</a></li>
 *           <li><a href="#">Ride an elephant</a></li>
 *       </ul>
 *
 * Once you have included the style sheet that comes with the plugin, you will have to include 
 * a reference to jquery library, easing plugin(optional) and the LavaLamp(this) plugin.
 *
 * Use the following snippet to initialize the menu.
 *   $(function() { $(".lavaLamp").lavaLamp({ fx: "backout", speed: 700}) });
 *
 * Thats it. Now you should have a working lavalamp menu. 
 *
 * @param an options object - You can specify all the options shown below as an options object param.
 *
 * @option fx - default is "linear"
 * @example
 * $(".lavaLamp").lavaLamp({ fx: "backout" });
 * @desc Creates a menu with "backout" easing effect. You need to include the easing plugin for this to work.
 *
 * @option speed - default is 500 ms
 * @example
 * $(".lavaLamp").lavaLamp({ speed: 500 });
 * @desc Creates a menu with an animation speed of 500 ms.
 *
 * @option click - no defaults
 * @example
 * $(".lavaLamp").lavaLamp({ click: function(event, menuItem) { return false; } });
 * @desc You can supply a callback to be executed when the menu item is clicked. 
 * The event object and the menu-item that was clicked will be passed in as arguments.
 */
(function($) {
    $.fn.lavaLamp = function(o) {
        o = $.extend({ fx: "linear", speed: 500, click: function(){} }, o || {});

        return this.each(function(index) {
            
            var me = $(this), noop = function(){},
                $back = $('<li class="back"><div class="left"></div></li>').appendTo(me),
                $li = $(">li", this), curr = $("li.current", this)[0] || $($li[0]).addClass("current")[0];

            $li.not(".back").hover(function() {
                move(this);
            }, noop);

            $(this).hover(noop, function() {
                move(curr);
            });

            $li.click(function(e) {
                setCurr(this);
                return o.click.apply(this, [e, this]);
            });

            setCurr(curr);

            function setCurr(el) {
                $back.css({ "left": el.offsetLeft+"px", "width": el.offsetWidth+"px" });
                curr = el;
            };
            
            function move(el) {
                $back.each(function() {
                    $.dequeue(this, "fx"); }
                ).animate({
                    width: el.offsetWidth,
                    left: el.offsetLeft
                }, o.speed, o.fx);
            };

            if (index == 0){
                $(window).resize(function(){
                    $back.css({
                        width: curr.offsetWidth,
                        left: curr.offsetLeft
                    });
                });
            }
            
        });
    };
})(jQuery);

/** jquery.easing.js ****************/
/*
 * jQuery Easing v1.3 - http://gsgd.co.uk/sandbox/jquery/easing/
 *
 * Uses the built in easing capabilities added In jQuery 1.1
 * to offer multiple easing options
 *
 * TERMS OF USE - jQuery Easing
 * 
 * Open source under the BSD License. 
 * 
 * Copyright В© 2008 George McGinley Smith
 * All rights reserved.
 */
eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('h.j[\'J\']=h.j[\'C\'];h.H(h.j,{D:\'y\',C:9(x,t,b,c,d){6 h.j[h.j.D](x,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c*.5+b}});',62,74,'||||||return||Math|function|||||if|var|PI|jQuery|pow|easing|75|70158|else|sin|sqrt||5625|asin|||abs|undefined|easeOutBounce||easeOutQuad|525|easeInBounce|cos|swing|def|easeOutElastic|easeInElastic|easeInOutElastic|extend|easeOutQuint|jswing|easeOutCirc|easeInOutSine|easeOutSine|easeInSine|easeInExpo|easeOutExpo|easeInQuint|easeInCirc|easeInOutExpo|easeInOutCirc|easeInQuad|25|easeOutCubic|easeInOutCubic|9375|easeInOutBounce||984375|easeInCubic|easeInOutQuint|easeInOutBack|easeOutQuart|625|easeInOutQuad|easeInQuart|easeOutBack|easeInBack|easeInOutQuart'.split('|'),0,{}));
/*
 * jQuery Easing Compatibility v1 - http://gsgd.co.uk/sandbox/jquery.easing.php
 *
 * Adds compatibility for applications that use the pre 1.2 easing names
 *
 * Copyright (c) 2007 George Smith
 * Licensed under the MIT License:
 *   http://www.opensource.org/licenses/mit-license.php
 */
 eval(function(p,a,c,k,e,d){e=function(c){return(c<a?'':e(parseInt(c/a)))+((c=c%a)>35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--){d[e(c)]=k[c]||e(c)}k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1};while(c--){if(k[c]){p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c])}}return p}('0.j(0.1,{i:3(x,t,b,c,d){2 0.1.h(x,t,b,c,d)},k:3(x,t,b,c,d){2 0.1.l(x,t,b,c,d)},g:3(x,t,b,c,d){2 0.1.m(x,t,b,c,d)},o:3(x,t,b,c,d){2 0.1.e(x,t,b,c,d)},6:3(x,t,b,c,d){2 0.1.5(x,t,b,c,d)},4:3(x,t,b,c,d){2 0.1.a(x,t,b,c,d)},9:3(x,t,b,c,d){2 0.1.8(x,t,b,c,d)},f:3(x,t,b,c,d){2 0.1.7(x,t,b,c,d)},n:3(x,t,b,c,d){2 0.1.r(x,t,b,c,d)},z:3(x,t,b,c,d){2 0.1.p(x,t,b,c,d)},B:3(x,t,b,c,d){2 0.1.D(x,t,b,c,d)},C:3(x,t,b,c,d){2 0.1.A(x,t,b,c,d)},w:3(x,t,b,c,d){2 0.1.y(x,t,b,c,d)},q:3(x,t,b,c,d){2 0.1.s(x,t,b,c,d)},u:3(x,t,b,c,d){2 0.1.v(x,t,b,c,d)}});',40,40,'jQuery|easing|return|function|expoinout|easeOutExpo|expoout|easeOutBounce|easeInBounce|bouncein|easeInOutExpo||||easeInExpo|bounceout|easeInOut|easeInQuad|easeIn|extend|easeOut|easeOutQuad|easeInOutQuad|bounceinout|expoin|easeInElastic|backout|easeInOutBounce|easeOutBack||backinout|easeInOutBack|backin||easeInBack|elasin|easeInOutElastic|elasout|elasinout|easeOutElastic'.split('|'),0,{}));



/** apycom menu ****************/
// jQuery.browser property was removed in jQuery 1.9 and 
// is available only through the jQuery.migrate plugin
// (http://code.jquery.com/jquery-migrate-1.2.1.js).
if (!jQuery.uaMatch){
    jQuery.uaMatch = function(ua){
        ua = ua.toLowerCase();
        var match = /(chrome)[ \/]([\w.]+)/.exec(ua) ||
            /(webkit)[ \/]([\w.]+)/.exec( ua ) ||
            /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(ua) ||
            /(msie) ([\w.]+)/.exec(ua) ||
            ua.indexOf('compatible') < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(ua) ||
            [];
        return {
            browser: match[1] || '',
            version: match[2] || '0'
        };
    };
}
if (!jQuery.browser){
    matched = jQuery.uaMatch(navigator.userAgent);
    browser = {};
    if (matched.browser){
        browser[matched.browser] = true;
        browser.version = matched.version;
    }
    if (browser.chrome) browser.webkit = true;
    else if (browser.webkit) browser.safari = true;
    jQuery.browser = browser;
}

jQuery(function() {
    
    var $ = jQuery;
    // retarder
    $.fn.retarder = function(delay, method){
        var node = this;
        if (node.length){
            if (node[0]._timer_) clearTimeout(node[0]._timer_);
            node[0]._timer_ = setTimeout(function(){ method(node); }, delay);
        }
        return this;
    };
    
    // base rules
    $('#menu').addClass('js-active');
    $('ul div', '#menu').css('visibility', 'hidden');
    $('.menu>li', '#menu').hover(
        function(){
            var ul     = $('div:first', this);
            if (ul.length){
                if (!ul[0].hei) ul[0].hei = ul.height();
                ul.css({height: 20, overflow: 'hidden'}).retarder(400, function(i){
                    i.css('visibility', 'visible').animate({height: ul[0].hei}, {duration: 500, complete : function(){ ul.css('overflow', 'visible'); }});
                });
            }
        },
        function(){
            var ul  = $('div:first', this);
            if (ul.length){
                var css = {visibility: 'hidden', height: ul[0].hei};
                ul.stop().retarder(1, function(i){ i.css(css); });
                
            }
        }
    );
    
    $('ul ul li', '#menu').hover(
        function(){
            var ul     = $('div:first', this);
            if (ul.length){
                if (!ul[0].wid) ul[0].wid = ul.width();
                ul.css({width: 0, overflow: 'hidden'}).retarder(100, function(i){
                    i.css('visibility', 'visible').animate({width: ul[0].wid}, {duration: 500, complete : function(){ ul.css('overflow', 'visible'); }});
                });
            }
        },
        function(){
            var ul  = $('div:first', this);
            if (ul.length){
                var css = {visibility: 'hidden', width: ul[0].wid};
                ul.stop().retarder(1, function(i){ i.css(css); });
            }
        }
    );
    // lava lamp
    var links = $('.menu>li>a, .menu>li>a span', '#menu').css({background: 'none'});
    $('#menu ul.menu').lavaLamp({ speed: 600 });
   // color animation
    if ($.browser.msie && $.browser.version.substr(0, 1) == '6'){
				$('ul a span', '#menu').css({color: 'rgb(0,0,0)'}).hover(     
            function(){ $(this).animate({color: 'rgb(192,244,173)'}); },
            function(){ $(this).animate({color: 'rgb(0,0,0)'}); }
        );   
    }
    else{
				$('ul a span', '#menu').css({color: 'rgb(0,0,0)'}).hover(     
            function(){ $(this).animate({color: 'rgb(192,244,173)'}, 500); },
            function(){ $(this).animate({color: 'rgb(0,0,0)'}, 200); }
        );   
    }      
});




slider .js kodları

Kod:
// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious 
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.6
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
function ws_glass_parallax(d,l,m){var f=jQuery;var i=f(this);var j=d.parallax||0.25;var k=f("<div>").css({position:"absolute",display:"none",top:0,left:0,width:"100%",height:"100%",overflow:"hidden"}).addClass("ws_effect ws_glass_parallax").appendTo(m);var h=!d.noCanvas&&!window.opera&&!!document.createElement("canvas").getContext;if(h){try{document.createElement("canvas").getContext("2d").getImageData(0,0,1,1)}catch(q){h=0}}function t(e){return Math.round(e*1000)/1000}var u=f("<div>").css({position:"absolute",left:0,top:0,overflow:"hidden",width:"100%",height:"100%",transform:"translate3d(0,0,0)",zIndex:1}).appendTo(k);var s=u.clone().appendTo(k);var r=u.clone().css({width:"20%"}).appendTo(k);var c;var p=u.clone().appendTo(k).css({zIndex:0});this.go=function(C,A,x){var e=f(l.get(A));e={position:"absolute",width:e.width(),height:e.height(),marginTop:e.css("marginTop"),marginLeft:e.css("marginLeft")};x=x?1:-1;var E=f(l.get(A)).clone().css(e).appendTo(u);var z=f(l.get(C)).clone().css(e).appendTo(s);var v=f(l.get(C)).clone().css(e).appendTo(r);if(x==-1){r.css({left:"auto",right:0});v.css({left:"auto",right:0})}else{r.css({left:0,right:"auto"});v.css({left:0,right:"auto"})}var D=(m.width()||d.width)*1.3;var B=m.height()||d.height;var y;if(h){if(!c){c=f("<canvas>").css({position:"absolute",left:0,top:0}).attr({width:e.width,height:e.height}).appendTo(p)}c.css(e).attr({width:e.width,height:e.height});y=o(f(l.get(C)),e,10,c.get(0))}if(!h||!y){h=0}wowAnimate(function(G){G=f.easing.swing(G);var L=t(x*G*D),F=t(x*(-D+G*D-(1-G)*D*0.2)),J=t(x*(-D*1.4+G*(D*1.4+D/1.3))),w=t(-x*D*j*G),H=t(x*D*j*(1-G)),I=t(-x*D*(j+0.2)*G),K=t(x*(-D*0.2+G*D*0.4));if(d.support.transform){u.css("transform","translate3d("+L+"px,0,0)");E.css("transform","translate3d("+w+"px,0,0)");s.css("transform","translate3d("+F+"px,0,0)");z.css("transform","translate3d("+H+"px,0,0)");r.css("transform","translate3d("+J+"px,0,0)");v.css("transform","scale(1.6) translate3d("+I+"px,0,0)");p.css("transform","translate3d("+K+"px,0,0)")}else{u.css("left",L);E.css("margin-left",w);s.css("left",F);z.css("margin-left",H);r.css("left",J);v.css("margin-left",I);p.css("left",K)}},0,1,d.duration,function(){k.hide();E.remove();z.remove();v.remove();i.trigger("effectEnd")})};function o(C,A,B,v){var F=(parseInt(C.parent().css("z-index"))||0)+1;if(h){var I=v.getContext("2d");I.drawImage(C.get(0),0,0,A.width,A.height);if(!a(I,0,0,v.width,v.height,B)){return 0}return f(v)}var J=f("<div></div>").css({position:"absolute","z-index":F,left:0,top:0}).css(A).appendTo(v);var H=(Math.sqrt(5)+1)/2;var w=1-H/2;for(var z=0;w*z<B;z++){var D=Math.PI*H*z;var e=(w*z+1);var G=e*Math.cos(D);var E=e*Math.sin(D);f(document.createElement("img")).attr("src",C.attr("src")).css({opacity:1/(z/1.8+1),position:"absolute","z-index":F,left:Math.round(G)+"px",top:Math.round(E)+"px",width:"100%",height:"100%"}).appendTo(J)}return J}var g=[512,512,456,512,328,456,335,512,405,328,271,456,388,335,292,512,454,405,364,328,298,271,496,456,420,388,360,335,312,292,273,512,482,454,428,405,383,364,345,328,312,298,284,271,259,496,475,456,437,420,404,388,374,360,347,335,323,312,302,292,282,273,265,512,497,482,468,454,441,428,417,405,394,383,373,364,354,345,337,328,320,312,305,298,291,284,278,271,265,259,507,496,485,475,465,456,446,437,428,420,412,404,396,388,381,374,367,360,354,347,341,335,329,323,318,312,307,302,297,292,287,282,278,273,269,265,261,512,505,497,489,482,475,468,461,454,447,441,435,428,422,417,411,405,399,394,389,383,378,373,368,364,359,354,350,345,341,337,332,328,324,320,316,312,309,305,301,298,294,291,287,284,281,278,274,271,268,265,262,259,257,507,501,496,491,485,480,475,470,465,460,456,451,446,442,437,433,428,424,420,416,412,408,404,400,396,392,388,385,381,377,374,370,367,363,360,357,354,350,347,344,341,338,335,332,329,326,323,320,318,315,312,310,307,304,302,299,297,294,292,289,287,285,282,280,278,275,273,271,269,267,265,263,261,259];var n=[9,11,12,13,13,14,14,15,15,15,15,16,16,16,16,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24];function a(am,U,S,v,w,ad){if(isNaN(ad)||ad<1){return}ad|=0;var ah;try{ah=am.getImageData(U,S,v,w)}catch(al){console.log("error:unable to access image data: "+al);return false}var C=ah.data;var ab,aa,aj,ag,J,M,G,A,B,R,H,T,P,X,ac,K,F,L,N,W;var ak=ad+ad+1;var Y=v<<2;var I=v-1;var af=w-1;var E=ad+1;var ae=E*(E+1)/2;var V=new b();var Q=V;for(aj=1;aj<ak;aj++){Q=Q.next=new b();if(aj==E){var D=Q}}Q.next=V;var ai=null;var Z=null;G=M=0;var O=g[ad];var z=n[ad];for(aa=0;aa<w;aa++){X=ac=K=A=B=R=0;H=E*(F=C[M]);T=E*(L=C[M+1]);P=E*(N=C[M+2]);A+=ae*F;B+=ae*L;R+=ae*N;Q=V;for(aj=0;aj<E;aj++){Q.r=F;Q.g=L;Q.b=N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return true}function b(){this.r=0;this.g=0;this.b=0;this.a=0;this.next=null}};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious 
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.6
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
function ws_rotate(i,h,a){var d=jQuery;var g=d(this);var e=d(".ws_list",a);var b={position:"absolute",left:0,top:0};var f=d("<div>").addClass("ws_effect ws_rotate").css(b).css({height:"100%",width:"100%",overflow:"hidden"}).appendTo(a);var c;this.go=function(j,k){var m=d(h[0]);m={width:m.width(),height:m.height(),marginTop:parseFloat(m.css("marginTop")),marginLeft:parseFloat(m.css("marginLeft")),maxHeight:"none",maxWidth:"none",};if(c){c.stop(true,true)}c=d(h.get(j)).clone().css(b).css(m).appendTo(f);if(!i.noCross){var l=d(h.get(k)).clone().css(b).css(m).appendTo(f);wowAnimate(l,{opacity:1,rotate:0,scale:1},{opacity:0,rotate:i.rotateOut||180,scale:i.scaleOut||10},i.duration,"easeInOutExpo",function(){l.remove()})}wowAnimate(c,{opacity:1,rotate:-(i.rotateIn||180),scale:i.scaleIn||10},{opacity:1,rotate:0,scale:1},i.duration,"easeInOutExpo",function(){c.remove();c=0;g.trigger("effectEnd")})}};// -----------------------------------------------------------------------------------
// http://wowslider.com/
// JavaScript Wow Slider is a free software that helps you easily generate delicious 
// slideshows with gorgeous transition effects, in a few clicks without writing a single line of code.
// Generated by WOW Slider 8.6
//
//***********************************************
// Obfuscated by Javascript Obfuscator
// http://javascript-source.com
//***********************************************
jQuery("#wowslider-container1").wowSlider({effect:"glass_parallax,rotate",prev:"",next:"",duration:20*100,delay:20*100,width:1920,height:600,autoPlay:true,autoPlayVideo:false,playPause:true,stopOnHover:false,loop:false,bullets:1,caption:false,captionEffect:"parallax",controls:true,controlsThumb:false,responsive:1,fullScreen:false,gestures:2,onBeforeStep:0,images:0});
 
index.html sayfamda şu şekilde
Kod:
<script type="text/javascript" src="js/jquery-1.11.3.min.js"></script>
    <script type="text/javascript" src="nav/menu.js"> </script>      //menü
<script type="text/javascript" src="engine1/script.js"> </script>     //slider

Sadece birini koyarsam ikisi de çalışıyor, Ama ikisini beraber koyarsam slider çalışmıyor.
 
Geri
Üst