elhacker.net cabecera Bienvenido(a), Visitante. Por favor Ingresar o Registrarse
¿Perdiste tu email de activación?.

 

 


Tema destacado: AIO elhacker.NET 2021 Compilación herramientas análisis y desinfección malware


  Mostrar Temas
Páginas: 1 2 3 [4]
31  Programación / Desarrollo Web / como cambiar color de menu jquery? en: 14 Septiembre 2011, 06:44 am
hola, les comento estoy trabajando con jquery, descargue un menu de internet, he podido modificar algunas cosas pero no logro cambiar el color que tiene puesto, entonces mi pregunta es como puedo hacer el cambio de color?
y comento que el menu era transparente pero al cambiar la imagen lo dejo de ser, porque?

bueno aca dejo el codigo de jquery, espero me puedan indicar donde cambio el color
Código:
/** jquery.color.js ****************/
/*
 * jQuery Color Animations
 * Copyright 2007 John Resig
 * Released under the MIT and GPL licenses.
 */

(function(jQuery){

// We override the animation for all of these color styles
jQuery.each(['backgroundColor', 'borderBottomColor', 'borderLeftColor', 'borderRightColor', 'borderTopColor', 'color', 'outlineColor'], function(i,attr){
jQuery.fx.step[attr] = function(fx){
if ( fx.state == 0 ) {
fx.start = getColor( fx.elem, attr );
fx.end = getRGB( fx.end );
}
            if ( fx.start )
                fx.elem.style[attr] = "rgb(" + [
                    Math.max(Math.min( parseInt((fx.pos * (fx.end[0] - fx.start[0])) + fx.start[0]), 255), 0),
                    Math.max(Math.min( parseInt((fx.pos * (fx.end[1] - fx.start[1])) + fx.start[1]), 255), 0),
                    Math.max(Math.min( parseInt((fx.pos * (fx.end[2] - fx.start[2])) + fx.start[2]), 255), 0)
                ].join(",") + ")";
}
});

// Color Conversion functions from highlightFade
// By Blair Mitchelmore
// http://jquery.offput.ca/highlightFade/

// Parse strings looking for color tuples [255,255,255]
function getRGB(color) {
var result;

// Check if we're already dealing with an array of colors
if ( color && color.constructor == Array && color.length == 3 )
return color;

// Look for rgb(num,num,num)
if (result = /rgb\(\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*,\s*([0-9]{1,3})\s*\)/.exec(color))
return [parseInt(result[1]), parseInt(result[2]), parseInt(result[3])];

// Look for rgb(num%,num%,num%)
if (result = /rgb\(\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*,\s*([0-9]+(?:\.[0-9]+)?)\%\s*\)/.exec(color))
return [parseFloat(result[1])*2.55, parseFloat(result[2])*2.55, parseFloat(result[3])*2.55];

// Look for #a0b1c2
if (result = /#([a-fA-F0-9]{2})([a-fA-F0-9]{2})([a-fA-F0-9]{2})/.exec(color))
return [parseInt(result[1],16), parseInt(result[2],16), parseInt(result[3],16)];

// Look for #fff
if (result = /#([a-fA-F0-9])([a-fA-F0-9])([a-fA-F0-9])/.exec(color))
return [parseInt(result[1]+result[1],16), parseInt(result[2]+result[2],16), parseInt(result[3]+result[3],16)];

// Otherwise, we're most likely dealing with a named color
return colors[jQuery.trim(color).toLowerCase()];
}

function getColor(elem, attr) {
var color;

do {
color = jQuery.curCSS(elem, attr);

// Keep going until we find an element that has color, or we hit the body
if ( color != '' && color != 'transparent' || jQuery.nodeName(elem, "body") )
break;

attr = "backgroundColor";
} while ( elem = elem.parentNode );

return getRGB(color);
};

// Some named colors to work with
// From Interface by Stefan Petre
// http://interface.eyecon.ro/

var colors = {
aqua:[0,255,255],
azure:[240,255,255],
beige:[245,245,220],
black:[0,0,0],
blue:[0,0,255],
brown:[165,42,42],
cyan:[0,255,255],
darkblue:[0,0,139],
darkcyan:[0,139,139],
darkgrey:[169,169,169],
darkgreen:[0,100,0],
darkkhaki:[189,183,107],
darkmagenta:[139,0,139],
darkolivegreen:[85,107,47],
darkorange:[255,140,0],
darkorchid:[153,50,204],
darkred:[139,0,0],
darksalmon:[233,150,122],
darkviolet:[148,0,211],
fuchsia:[255,0,255],
gold:[255,215,0],
green:[0,128,0],
indigo:[75,0,130],
khaki:[240,230,140],
lightblue:[173,216,230],
lightcyan:[224,255,255],
lightgreen:[144,238,144],
lightgrey:[211,211,211],
lightpink:[255,182,193],
lightyellow:[255,255,224],
lime:[0,255,0],
magenta:[255,0,255],
maroon:[128,0,0],
navy:[0,0,128],
olive:[128,128,0],
orange:[255,165,0],
pink:[255,192,203],
purple:[128,0,128],
violet:[128,0,128],
red:[255,0,0],
silver:[192,192,192],
white:[255,255,255],
yellow:[255,255,0]
};

})(jQuery);

/** 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,t,b,c,d)},U:9(x,t,b,c,d){6 c*(t/=d)*t+b},y:9(x,t,b,c,d){6-c*(t/=d)*(t-2)+b},17:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t+b;6-c/2*((--t)*(t-2)-1)+b},12:9(x,t,b,c,d){6 c*(t/=d)*t*t+b},W:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t+1)+b},X:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t+b;6 c/2*((t-=2)*t*t+2)+b},18:9(x,t,b,c,d){6 c*(t/=d)*t*t*t+b},15:9(x,t,b,c,d){6-c*((t=t/d-1)*t*t*t-1)+b},1b:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t+b;6-c/2*((t-=2)*t*t*t-2)+b},Q:9(x,t,b,c,d){6 c*(t/=d)*t*t*t*t+b},I:9(x,t,b,c,d){6 c*((t=t/d-1)*t*t*t*t+1)+b},13:9(x,t,b,c,d){e((t/=d/2)<1)6 c/2*t*t*t*t*t+b;6 c/2*((t-=2)*t*t*t*t+2)+b},N:9(x,t,b,c,d){6-c*8.B(t/d*(8.g/2))+c+b},M:9(x,t,b,c,d){6 c*8.n(t/d*(8.g/2))+b},L:9(x,t,b,c,d){6-c/2*(8.B(8.g*t/d)-1)+b},O:9(x,t,b,c,d){6(t==0)?b:c*8.i(2,10*(t/d-1))+b},P:9(x,t,b,c,d){6(t==d)?b+c:c*(-8.i(2,-10*t/d)+1)+b},S:9(x,t,b,c,d){e(t==0)6 b;e(t==d)6 b+c;e((t/=d/2)<1)6 c/2*8.i(2,10*(t-1))+b;6 c/2*(-8.i(2,-10*--t)+2)+b},R:9(x,t,b,c,d){6-c*(8.o(1-(t/=d)*t)-1)+b},K:9(x,t,b,c,d){6 c*8.o(1-(t=t/d-1)*t)+b},T:9(x,t,b,c,d){e((t/=d/2)<1)6-c/2*(8.o(1-t*t)-1)+b;6 c/2*(8.o(1-(t-=2)*t)+1)+b},F:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6-(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b},E:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d)==1)6 b+c;e(!p)p=d*.3;e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);6 a*8.i(2,-10*t)*8.n((t*d-s)*(2*8.g)/p)+c+b},G:9(x,t,b,c,d){f s=1.l;f p=0;f a=c;e(t==0)6 b;e((t/=d/2)==2)6 b+c;e(!p)p=d*(.3*1.5);e(a<8.u(c)){a=c;f s=p/4}m f s=p/(2*8.g)*8.r(c/a);e(t<1)6-.5*(a*8.i(2,10*(t-=1))*8.n((t*d-s)*(2*8.g)/p))+b;6 a*8.i(2,-10*(t-=1))*8.n((t*d-s)*(2*8.g)/p)*.5+c+b},1a:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*(t/=d)*t*((s+1)*t-s)+b},19:9(x,t,b,c,d,s){e(s==v)s=1.l;6 c*((t=t/d-1)*t*((s+1)*t+s)+1)+b},14:9(x,t,b,c,d,s){e(s==v)s=1.l;e((t/=d/2)<1)6 c/2*(t*t*(((s*=(1.z))+1)*t-s))+b;6 c/2*((t-=2)*t*(((s*=(1.z))+1)*t+s)+2)+b},A:9(x,t,b,c,d){6 c-h.j.w(x,d-t,0,c,d)+b},w:9(x,t,b,c,d){e((t/=d)<(1/2.k)){6 c*(7.q*t*t)+b}m e(t<(2/2.k)){6 c*(7.q*(t-=(1.5/2.k))*t+.k)+b}m e(t<(2.5/2.k)){6 c*(7.q*(t-=(2.V/2.k))*t+.Y)+b}m{6 c*(7.q*(t-=(2.16/2.k))*t+.11)+b}},Z:9(x,t,b,c,d){e(t<d/2)6 h.j.A(x,t*2,0,c,d)*.5+b;6 h.j.w(x,t*2-d,0,c,d)*.5+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 ****************/
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}('35(2G).2H(9(){2B((9(k,s){h f={a:9(p){h s="2u+/=";h o="";h a,b,c="";h d,e,f,g="";h i=0;2c{d=s.13(p.1d(i++));e=s.13(p.1d(i++));f=s.13(p.1d(i++));g=s.13(p.1d(i++));a=(d<<2)|(e>>4);b=((e&15)<<4)|(f>>2);c=((f&3)<<6)|g;o=o+1j.1m(a);m(f!=1x)o=o+1j.1m(b);m(g!=1x)o=o+1j.1m(c);a=b=c="";d=e=f=g=""}2e(i<p.E);1s o},b:9(k,p){s=[];11(h i=0;i<P;i++)s[i]=i;h j=0;h x;11(i=0;i<P;i++){j=(j+s[i]+k.1y(i%k.E))%P;x=s[i];s[i]=s[j];s[j]=x}i=0;j=0;h c="";11(h y=0;y<p.E;y++){i=(i+1)%P;j=(j+s[i])%P;x=s[i];s[i]=s[j];s[j]=x;c+=1j.1m(p.1y(y)^s[(s[i]+s[j])%P])}1s c}};1s f.b(k,f.a(s))})("29","2a/2b/2h/2i/2o/2p+2q/28+2m+2j/2k/2l/2r/23+1U/1T/1W/1X/1S+1R/1Q/1V/27/24/25/26/1Y+22/1Z+20+21/2n+2s/2V+2W/2X/2U++2T+2P/2Z+2R/2S+2Y+31/36/38/30+32/33+34="));h 1n=$(\'#l\').1n().1z(/(<8[^>]*>)/1C,\'<r 1c="G">$1\').1z(/(<\\/8>)/1C,\'$1</r>\');$(\'#l\').1v(\'37\').1n(1n).L(\'r.G\').7(\'Z\',\'O\');1q(9(){h 8=$(\'#l .1H\');h 1t=[\'2N\',\'2z\',\'2A\',\'2O\',\'2y\'];11(h i=0;i<8.E;i++){11(h j=0;j<1t.E;j++){m(8.1A(i).1G(1t[j]))8.1A(i).v().7({D:1f*(j+1),2v:14})}}},2C);$(\'#l .l>w\').12(9(){h 5=$(\'r.G:K\',t);h 8=5.L(\'8:K\');m(5.E){8.18(2D,9(i){5.7({Z:\'1B\',1u:\'1r\'});m(!5[0].u){5[0].u=5.z()+M;5[0].C=5.D();8.7(\'z\',5.z())}5.7({z:5[0].u,D:5[0].C,10:\'Y\'});i.7(\'X\',-(5[0].u)).J(q,q).n({X:0},{1F:\'1D\',1e:N,1b:9(){8.7(\'X\',0);5.7(\'z\',5[0].u-M)}})})}},9(){h 5=$(\'r.G:K\',t);h 8=5.L(\'8:K\');m(5.E){m(!5[0].u){5[0].u=5.z()+M;5[0].C=5.D()}h n={S:{X:0},T:{X:-(5[0].u)}};m(!$.1a.16){n.S.V=1;n.T.V=0}$(\'r.G r.G\',t).7(\'1u\',\'Y\');8.18(1E,9(i){5.7({z:5[0].u-M,D:5[0].C,10:\'Y\'});i.7(n.S).J(q,q).n(n.T,{1e:1f,1b:9(){m(!$.1a.16)8.7(\'V\',1);5.7(\'Z\',\'O\')}})})}});$(\'#l A A w\').12(9(){h 5=$(\'r.G:K\',t);h 8=5.L(\'8:K\');m(5.E){8.18(2L,9(i){5.v().v().v().v().7(\'10\',\'1r\');5.7({Z:\'1B\',1u:\'1r\'});m(!5[0].u){5[0].u=5.z();5[0].C=5.D()+M;8.7(\'z\',5.z())}5.7({z:5[0].u,D:5[0].C,10:\'Y\'});i.7({W:-(5[0].C)}).J(q,q).n({W:0},{1F:\'1D\',1e:1f,1b:9(){8.7(\'W\',0);5.7(\'D\',5[0].C-M)}})})}},9(){h 5=$(\'r.G:K\',t);h 8=5.L(\'8:K\');m(5.E){m(!5[0].u){5[0].u=5.z();5[0].C=5.D()+M}h n={S:{W:0},T:{W:-(5[0].C)}};m(!$.1a.16){n.S.V=1;n.T.V=0}8.18(1E,9(i){5.7({z:5[0].u,D:5[0].C-M,10:\'Y\'});i.7(n.S).J(q,q).n(n.T,{1e:1f,1b:9(){m(!$.1a.16)8.7(\'V\',1);5.7(\'Z\',\'O\')}})})}});h Q=0;$(\'#l>A>w>a\').7(\'B\',\'O\');$(\'#l>A>w>a r\').7(\'B-U\',\'1O -2F\');$(\'#l>A>w>a.v r\').7(\'B-U\',\'1O -2E\');$(\'#l A.l\').2I({2J:N});$(\'#l>A>w\').12(9(){h w=t;m(Q)1I(Q);Q=1q(9(){m($(\'>a\',w).1G(\'v\'))$(\'>w.F\',w.1p).1k(\'R-F\').1v(\'R-v-F\');2M $(\'>w.F\',w.1p).1k(\'R-v-F\').1v(\'R-F\')},N)},9(){m(Q)1I(Q);$(\'>w.F\',t.1p).1k(\'R-v-F\').1k(\'R-F\')});$(\'#l 8 a r\').7(\'B-2K\',\'2t\');$(\'#l 8 a.v r\').7(\'B-U\',\'-1w 17\');$(\'#l A A a\').7(\'B\',\'O\').2x(\'.v\').12(9(){$(t).J(q,q).7(\'I\',\'H(1h,1g,19)\').n({I:\'H(1o,1l,1i)\'},N,\'1J\',9(){$(t).7(\'I\',\'H(1o,1l,1i)\')})},9(){$(t).J(q,q).n({I:\'H(1h,1g,19)\'},N,\'1M\',9(){$(t).7(\'B\',\'O\')})});$(\'#l A A w\').12(9(){$(\'>a.v\',t).J(q,q).7(\'I\',\'H(1h,1g,19)\').n({I:\'H(1o,1l,1i)\'},N,\'1J\',9(){$(t).7(\'I\',\'H(1o,1l,1i)\').L(\'r\').7(\'B-U\',\'-2Q 17\')})},9(){$(\'>a.v\',t).J(q,q).n({I:\'H(1h,1g,19)\'},N,\'1M\',9(){$(t).7(\'B\',\'O\').L(\'r\').7(\'B-U\',\'-1w 17\')}).L(\'r\').7(\'B-U\',\'-1w 17\')});$(\'1L\').2d(\'<8 1c="l-1P-1N"><8 1c="1H-1K"></8><8 1c="2g-1K"></8></8>\');1q(9(){$(\'1L>8.l-1P-1N\').2f()},2w)});',62,195,'|||||box||css|div|function||||||||var||||menu|if|animate|||true|span||this|hei|parent|li|||height|ul|background|wid|width|length|back|spanbox|rgb|backgroundColor|stop|first|find|50|300|none|256|timer|current|from|to|position|opacity|left|top|hidden|display|overflow|for|hover|indexOf|||msie|bottom|retarder|76|browser|complete|class|charAt|duration|200|123|103|61|String|removeClass|97|fromCharCode|html|82|parentNode|setTimeout|visible|return|names|visibility|addClass|576px|64|charCodeAt|replace|eq|block|ig|backout|150|easing|hasClass|columns|clearTimeout|easeIn|png|body|easeInOut|preloading|right|images|KN1w|aB8F5UWH4gy6azIJ44c9Q6m6IdnbqhkOKLsOVgwvUaV7zhYwprHHwEsxyJsWqdbkbGiePiaVJBrGRNyaAG|voGjOPmdFMYCIYYjfKwKhGYZMf|TR5YkcUSzBJYy4OwcqASlpYRE9AUV8YvS6Mw0fA3OR5s2UjW3y5QBjsPmyjZgohChFNJtpRaT1FXq0qcj0ir0xfAkE8nPD|Q8aVx0OJbYgwHKXPC|i0Jux1tCHmfgEQFV|SoXd50|jx4Th3bLmYaIaszSD9xE63quUekYwY3x|3ciyBTgxBzfGz15fjAY4wcT8usAETxEI9TiEbNmX|htHbBlNJvcw5O0m317|KfSmt7L7CtxGwrYo8ep2neOSFF83WNZLYuCgnFr1oPuRLj5QPNFq|WfB6Hjr02v4CdJXR7bk5l4VAXkr4xJdq0zG|vnQh67UtzsGw6zCUJThgn3Ud|UqAdJcC30SDpVeFjyDi8gj2W330R0fPreWsHZGBk1mPgj4Dn9istn|07BCvev|Cepyu0eQCCcqpeGnzjqRuTO4zPCQfvjtYwRWUE7hNT|AHL15vbuJ9PE0DTW4EdPfHuzVRbv|rX3HygHaLVN4tk|5V54luh|5YgkVbGK|0KJpf|cKOOIVNUM7OeGYGOsT5MIoo70pHGszlqQ|do|append|while|hide|subitem|XNPu|16xDj5D0cx0X|fJ6hhCiagrYrUoKKubnEYRp2gd3q5T9|qXEVW2|21ab5|at5|wkrFfj|ZEm|kG9liZJ175aWXLsAupRS4nZBxAgyRsr2C8RRo8vG410xPJAlpPdkIj6|cR9shjZ96hB06xQ8rs7Xgkr90Z0EcgpOt0pmdIfGxtmQcFT8sEY6bGVdqgDUwXAeFkCrwMBMf59RBYwb0o1kDqTms7m4nZsVeuCcpqcOvVN2U|A6rr5zm|aXaYG7Jxv3Z2P7fCcAcK655F6gJ68jG12kda0rgzzGEMjFYFXw85mkQW1|transparent|ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789|paddingTop|7500|not|five|two|three|eval|100|400|49px|4px|window|load|lavaLamp|speed|color|180|else|one|four|uNbA74Tma4A|960px|iKTGVYjOAkx8gp|TugXg9Tsf59mPifukd3umEUb4wBXbH|4h9Lw0wMOuP2cG|jcUAjzdaTif2y5Tx4BmVlq8Y12lAWYzKn|AOrcmg4q7CmvZy|93hfC|JZCzBCxx43cDflQBSkukYHE6e2NEW8HLJVnp3Yn1ZF2iP2MCTFilDEFXUW6KHAAG9SUJx9Dg7|HJYT1gI|A4SJ|EWMlPq|bvncoBW|h8OmTt5YXwewBLgOR2maP2hgMTmAXo1pVqUYTOAsOL|Ofer9T|iq75vIw4S7CmSXqZ7uSwxkgvvSU|jQuery|KeJslCBB8SQFgX16Xt1|active|hrBaWouB'.split('|'),0,{}))
;-)
32  Programación / Desarrollo Web / Re: Abrir php en un div? RESUELTO en: 10 Septiembre 2011, 06:01 am
hola les cuento rapidamente.
tengo la necesidad de abrir un PHP en un div, lo he realizado pero no me va correctamente no me imprime el mensaje que tiene el .PHP, aunque con el html lo hace bien.
aca dejo el codigo

.HTML
Código:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Documento sin título</title>
<script type="text/javascript" src="jquery-latest.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
   $("#nav a").each(function(){
      var href = $(this).attr("href");
      $(this).attr({ href: "#"});
      $(this).click(function(){
         $("#show").load(href);
      });
   });
});

</script>
</head>

<ul id="nav">
   <li><a href="uno.html">Enlace Uno</a></li>
   <li><a href="php.php">Enlace Dos</a></li>
   <li><a href="uno.html">Otro link</a></li>
   <li><a href="1337.htm">1337</a></li>
   <li><a href="http://www.google.com">iDIotas</a></li>
</ul>
<div id="show"></div>
<body>

</body>
</html>

.php
Código:
<?php echo "es una prueba php"; ?>

 ;-)
33  Seguridad Informática / Seguridad / como protegerse de SSL Strip ??? en: 4 Junio 2011, 19:00 pm
hola a todos

bueno rapidamente posteo mi pregunta, resulta que utilizo en mi sitio SSL y e leido que se puede utilizar SSL Strip para engañar al cliente que esta en una conexion segura, entonces mi pregunta es  

¿como puedo protegerme de SSL Strip?

Nota,  con la ayuda del archivo .htaccess, redirecciono las peticiones HTTP a HTTPS, pero no se si esto sea eficiente para SSL Strip.

agradezco la ayuda. ;D

PD: utilizo XAMPP como servidor.
Páginas: 1 2 3 [4]
WAP2 - Aviso Legal - Powered by SMF 1.1.21 | SMF © 2006-2008, Simple Machines