Orbit Slider: Galería de imágenes para Blogger – Accident – Plataforma – Online

Orbit Slider es una galería de imágenes para Blogger Basada en jQuery la cual tiene la particularidad de tener una opción de pausa para permitir a los usuarios que el script se detenga.

¿Cómo añadirlo a blogger?

Paso 1: Añadiendo el script:

Primero, vamos a ''Diseño | Edición HTML'' en donde marcamos ''Expandir plantillas de artilugios'', buscamos la siguiente zona:
/head

Sobre ésta, pegaremos el siguiente código:
script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/
!--[if IE]
style type="text/css"
.timer { display: none !important; }
div.caption { background:transparent; filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000,endColorstr=#99000000);zoom: 1; }
/style
![endif]--

script type='text/javascript'
$(window).load(function() {
$('#featured').orbit({
advanceSpeed: 5000,
'bullets': true,
'timer' : true,
'animation' : 'horizontal-slide'
});
});
/script

script type='text/javascript'
//![CDATA[

(function(e){e.fn.orbit=function(a){a=e.extend({animation:"fade",animationSpeed:800,advanceSpeed:4E3,startClockOnMouseOut:true,startClockOnMouseOutAfter:3E3,directionalNav:true,captions:true,captionAnimationSpeed:800,timer:false,bullets:false},a);return this.each(function(){function m(c){function g(){f.eq(h).css({"z-index":1});s=false}var h=b,k=c;if(h==k)return false;if(!s){s=true;if(c=="next"){b++;if(b==n)b=0}else if(c=="prev"){b--;if(b0)b=n-1}else{b=c;if(hb)k="next";else if(hb)k="prev"}a.bullets&&
x();if(a.animation=="fade"){f.eq(h).css({"z-index":2});f.eq(b).css({opacity:0,"z-index":3}).animate({opacity:1},a.animationSpeed,g);a.captions&&o()}if(a.animation=="horizontal-slide"){f.eq(h).css({"z-index":2});k=="next"&&f.eq(b).css({left:t,"z-index":3}).animate({left:0},a.animationSpeed,g);k=="prev"&&f.eq(b).css({left:-t,"z-index":3}).animate({left:0},a.animationSpeed,g);a.captions&&o()}if(a.animation=="vertical-slide"){f.eq(h).css({"z-index":2});k=="prev"&&f.eq(b).css({top:u,"z-index":3}).animate({top:0},
a.animationSpeed,g);k=="next"&&f.eq(b).css({top:-u,"z-index":3}).animate({top:0},a.animationSpeed,g);a.captions&&o()}}}var b=0,n=0,t,u,s,d=e(this).addClass("orbit"),f=d.find("img, a img");f.each(function(){var c=e(this),g=c.width();c=c.height();d.width(g);t=d.width();d.height(c);u=d.height();n++});f.eq(b).css({"z-index":3});if(a.timer){d.append('div class="timer"span class="mask"span class="rotator"/span/spanspan class="pause"/span/div');var j=e("div.timer"),p;if(j.length!=0){var C=
a.advanceSpeed/180,v=e("div.timer span.rotator"),y=e("div.timer span.mask"),z=e("div.timer span.pause"),l=0,A,w=function(){p=true;z.removeClass("active");A=setInterval(function(){var c="rotate("+l+"deg)";l+=2;v.css({"-webkit-transform":c,"-moz-transform":c,"-o-transform":c});if(l180){v.addClass("move");y.addClass("move")}if(l360){v.removeClass("move");y.removeClass("move");l=0;m("next")}},C)},q=function(){p=false;clearInterval(A);z.addClass("active")};w();j.click(function(){p?q():w()});if(a.startClockOnMouseOut){var B;
d.mouseleave(function(){B=setTimeout(function(){p||w()},a.startClockOnMouseOutAfter)});d.mouseenter(function(){clearTimeout(B)})}}}if(a.captions){d.append('div class="caption"span class="orbit-caption"/span/div');var r=d.children("div.caption").children("span").addClass("orbit-caption").show(),o=function(){var c=f.eq(b).attr("rel"),g=e("#"+c).html(),h=r.height()+20;r.attr("id","#"+c).html(g);g?r.parent().stop().animate({bottom:0},a.captionAnimationSpeed):r.parent().stop().animate({bottom:-h},
a.captionAnimationSpeed)};o()}if(a.directionalNav){d.append('div class="slider-nav"span class="right"Right/spanspan class="left"Left/span/div');j=d.children("div.slider-nav").children("span.left");var D=d.children("div.slider-nav").children("span.right");j.click(function(){a.timer&&q();m("prev")});D.click(function(){a.timer&&q();m("next")})}if(a.bullets){d.append('ul class="orbit-bullets"/ul');var E=e("ul.orbit-bullets");for(i=0;in;i++){j=e("li"+i+"/li");e("ul.orbit-bullets").append(j);
j.data("index",i);j.click(function(){a.timer&&q();m(e(this).data("index"))})}var x=function(){E.children("li").removeClass("active").eq(b).addClass("active")};x()}})}})(jQuery);
//
/script

Paso 2: Añadiendo los estilos:

Ahora buscamos la siguiente zona:
/b:skin

Debajo de ésta, agregaremos el siguiente código:
#featured {height: 1px; width: 1px; overflow: hidden;}
div.orbit {
width: 1px;
height: 1px;
position: relative;
overflow: hidden;
}

div.orbit img {
position: absolute;
top: 0;
left: 0;
}
div.orbit a img {border: none;}

div.timer {
width: 40px;
height: 40px;
overflow: hidden;
position: absolute;
top: 10px;
right:10px;
opacity: .6;
cursor: pointer;
z-index: 1001;
}

span.rotator {
display: block;
width: 40px;
height: 40px;
position: absolute;
top: 0;
left: -20px;
background: url(http://2.bp.blogspot.com/-9Yg6Ji6wI-8/TacwRsQXGVI/AAAAAAAAAug/h0XzZr2yyVE/s1600/rotator-black.png);
background-repeat: no-repeat;
z-index: 3;
}

span.mask {
display: block;
width: 20px;
height: 40px;
position: absolute;
top: 0;
right: 0;
z-index: 2;
overflow: hidden;
}

span.rotator.move {left: 0;}
span.mask.move {
width: 40px;
left: 0;
background: url(http://3.bp.blogspot.com/-1-pOcqth29A/TacwSFiRNbI/AAAAAAAAAuk/N4FLtDMOyao/s1600/timer-black.png);
background-repeat: repeat;
background-position: 0px 0px;
}

span.pause {
display: block;
width: 40px;
height: 40px;
position: absolute;
top: 0;
left: 0px;
background-image: url(http://1.bp.blogspot.com/-6-y8j5SbSBQ/TacwQ6mIXDI/AAAAAAAAAuc/x5oe6BSMkKQ/s1600/pause-black.png);
background-repeat: no-repeat;
z-index: 4;
opacity: 0;
}

div.timer:hover span.pause,
span.pause.active,
div.timer:hover span.pause.active { opacity: 1; }

div.caption {
background: #000;
background: rgba(0,0,0,.6);
width: 100%;
z-index: 1000;
position: absolute;
bottom:-100px;
color: #fff;
padding: 8px 0;
text-align: center;
}

div.caption span {
padding: 0 10px;
font-size: 14px;
text-shadow: 0px 1px 0px rgba(0,0,0,.8);
margin: 0;
}
.orbit-caption { display: none; }
div.orbit:hover div.slider-nav { display: block; }
div.slider-nav { display: none; }
div.slider-nav span {
width: 33px;
height: 33px;
text-indent: -9999px;
position: absolute;
z-index: 1000;
top: 43%;
cursor: pointer;
}
.orbit-bullets {
position: absolute;
z-index: 1000;
list-style: none;
top: 10px;
left: 7px;
margin: 0;
padding: 0;
}
.orbit-bullets li {
float: left;
margin-left: 5px;
cursor: pointer;
color: #999;
text-indent: -9999px;
background-image: url(http://4.bp.blogspot.com/-Lzza3J6jQLQ/Tacvjr2t30I/AAAAAAAAAuY/A2f9eUZKm6o/s1600/bullets.png);
background-repeat: no-repeat;
background-position: 0 0;
width: 7px;
height: 7px;
overflow: hidden;
}
.orbit-bullets li.active { color: #222; background-position: -7px 0; }

Paso 3: Añadiendo el slideshow en el blog:

Puedes añadir el slider en donde quieras, si lo deseas agregar sobre las entradas y la sidebar, deberás buscar la siguiente línea:
div id='content-wrapper'
Debajo de ésta, pegaremos la siguiente:
div id='featured'

a href='URL-enlace'img rel='fotoA' src="URL de la imagen" style='width:600px; height:238px;'/
span class='orbit-caption' id='fotoA'Descripción Imagen 1./span/a

a href="URL-enlace"img rel='fotoB' src="URL de la imagen" style='width:600px; height:238px;'/
span class='orbit-caption' id='fotoB'Descripción Imagen 2./span/a

a href="URL-enlace"img rel='fotoC' src="URL de la imagen" style='width:600px; height:238px;'/
span class='orbit-caption' id='fotoC' style='text-align:center;'Descripción Imagen 3./span /a

a href='URL-enlace'img rel='fotoD' src="URL de la imagen" style='width:600px; height:238px;'/
span class='orbit-caption' id='fotoD'Descripción Imagen 4./a/span/a
/div

Notas:

Reemplaza los valores siguientes:
  • width:600px: Corresponde al ancho
  • URL-enlace: Corresponde al enlace de destino de la imagen.
  • URL de la imagen: Corresponde a la dirección de la imagen.
  • Descripción Imagen x:Es la descripción que se muestra al pié de las imágenes.
  • advanceSpeed: 5000: Es el tiempo entre imágenes. (Paso 1)

MESOTHELIOMA LAW FIRMDONATE CAR TO CHARITY CALIFORNIAHARDDRIVE DATA RECOVERY SERVICESDONATE A CAR IN MARYLAND DONATING A CAR IN MARYLAND,DONATE CARS ILLINOIS,CRIMINAL DEFENSE ATTORNEYS FLORIDA ,BEST CRIMINAL LAWYER IN ARIZONASTRUCTURED ANNUITY SETTLEMENT,ASBESTOS LAWYERS,NUNAVUT CULTURE,DAYTON FREIGHT LINES ,Bextra Bankruptcy Dental Plan Private JetMundial Football DONATE CAR TO CHARITY CALIFORNIA FIFA World Cup,DONATE CAR FOR TAX CREDIT, and DONATE CARS IN MA,DONATE YOUR CAR SACRAMENTO,HOW TO DONATE A CAR IN CALIFORNIA, SELL ANNUITY PAYMENT and DONATE YOUR CAR FOR KIDS,ASBESTOS LAWYERS pero for you STRUCTURED ANNUITY SETTLEMENT ,ANNUITY SETTLEMENTS, CAR INSURANCE QUOTES COLORADO and future now NUNAVUT CULTURE and pero mas aya del visita DAYTON FREIGHT LINES and Mesothelioma law firm HARDDRIVE DATA RECOVERY SERVICES,Selling annuity payments for cash,Sell my structured settlement,Sell structured settlement,Structured settlement,Structured settlement companies,Sell my annuity payments lump sum,Car accident lawyer Denver,Accident injury attorneys,Sell my annuity

primary pulmonary hypertension Paperport Promotional Code Live casino auto accident lawyer san francisco Computer science classes online DONATE YOUR CAR FOR KIDS WordPress theme designers mesothelioma law firms google adsense mesothelioma lawyers san diego Business management software business voice mail service Online casino WORLD TRADE CENTER FOOTAGE accident lawyers in los angeles ANNUITY SETTLEMENT Cheap auto insurance in VA Casino Donate Car To Charity CALIFORNIA structured settlement purchasers Hire php developers accident attorneys orange county tennessee mesothelioma lawyer Custom WordPress theme designer Online Christmas cards World trade center footage DONATE OLD CARS TO CHARITY car insurance companies Online College Course Cheap Auto Insurance in VA houston tx auto insurance Email Bulk Service Register Free Domains mesothelioma ct Donate Cars Illinois car insurance quotes personal injury law firm Personal Injury Lawyers peritoneal mesothelioma Criminal lawyer Miami Donate a Car in Maryland Mobile casino asbestos lawyers Social media platforms for business structered settlement Adobe illustrator classes Bankruptcy lawyer pharmacist jobs in chicago Make money online Australia Casino reviews DONATE CARS IN MA Attorney Service business software NUNAVUT CULTURE life insurance quotes Royalty Free Images Stock Personal Injury Law Firm Hire php programmers Email bulk service Cheap Car Insurance for Ladies Life Insurance Co Lincoln cheaper insurance companies DUI lawyer webex costs Php programmers cheap domain registration hosting Dwi lawyer refinance with bad credit Home Phone Internet Bundle Criminal lawyer cash out annuity Asbestos Lung Cancer Cheap car insurance in Virginia Criminal defense lawyer WordPress hosting PHD IN COUNSELING EDUCATION Php programmers for hire selling annuity Hire php developer Car Insurance Companies ONLINE COLLEDGES Psd to WordPress Donate Your Car for Kids Photo Christmas cards accident car florida lawyer california law lemon Best social media platforms for business sell my structured settlement WebEx costs DONATE YOUR CAR SACRAMENTO Seo companies Mesothelioma Law Firm Business finance group car crash attorneys New social media platforms domain name yahoo MET AUTO Learning adobe illustrator Sell Annuity Payment auto accident attorney Torrance washington mesothelioma attorney Donate cars Illinois mesothelioma attorneys mesothelioma trial attorney Structures Annuity Settlement bus accident attorney los angeles Best Seo company Tech school Best social media platforms Seo services Custom Christmas cards Automobile Accident Attorney CAR INSURANCE QUOTES COLORADO CAR INSURANCE QUOTES PA event management security

Share: