6/29/2013

Tutorial: Slide no Blog


Oi amigos trousse um tutorial bem simples e facil de fazer


1. Primeiramente vá até editar HTML e procure por:

</head>

2. Depois que achar esta tag cole o seguinte codigo em baixo dela:

<style type="text/css">
/* <![CDATA[ */
#w2bSlideContainer           {position: relative;display: block; top:0px; left:0px; right:0px;/*Ajuste as posição do slide*/}
#w2bNivoSlider              { position:relative;
width:640px  !important; /*largura do slide*/height:300px  !important; /*Altura do slide*/
background:  #fff url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMz8g4E6daetr8zP1P0crodJAeEMPwZiqI0lc11LabNW1qD65ECFcxX5yZefGSCJgsrNoS2jcqr_ZlCSaOI8hcWmq3cmv8WrnIjo1qxzoV96jY8K43Yp3BvoSiJVdtoRL0ZHbpZzsc7q6c/s1600/w2bLoader.gif") no-repeat 50% 50%;
margin: 20px auto 35px;
border: 3px solid #000;/*Coloque borda se quiser*/ }
#w2bNivoSlider img           {position:absolute; top:0; left:0;  display:none}
.nivoSlider                  {position:relative;width:100%;height:auto;}
.nivoSlider img              {position:absolute;top:0;left:0}
.nivo-main-image             {display:block!important;position:relative!important;width:100%!important}
.nivoSlider a.nivo-imageLink {position:absolute;top:0;left:0;width:100%;height:100%;border:0;padding:0;margin:0;z-index:6;display:none}
.nivo-slice                  {display:block;position:absolute;z-index:5;height:100%;top:0}
.nivo-box                    {display:block;position:absolute;z-index:5;overflow:hidden}
.nivo-box img                {display:block}
.nivo-caption                {padding: 5px;
font-family: Arial,sans-serif;position:absolute; /*Fonte da legenda*/Font-size: 14px; /*Tamanho da fonte da legenda*/background:#000; /*Cor de fundo da legenda*/color:#fff; /*Cor do texto da legenda*/-ms-filter:"alpha(opacity=80)";filter:alpha(opacity=80);opacity:.8; width: 630px;/*Largura da legenda*/ z-index:8;}
.nivo-caption p              {padding:2px;margin:0}
.nivo-caption a              {display:inline!important}
.nivo-html-caption           {display:none}
.nivo-directionNav a         {position:absolute;top:45%;z-index:9;cursor:pointer;display:block;width:30px;height:30px;
background: url("URL_IMG_SETA") no-repeat;text-indent:-9999px;border:0}
.nivo-prevNav                {left:10px}
.nivo-nextNav                {background-position:-30px 0!important;right:10px}
.nivo-controlNav             {position:absolute;left:0;right:0;bottom:-35px;text-align:center}
.nivo-controlNav a           {position:relative;z-index:9;cursor:pointer;display:inline-block;width:22px;height:22px;
background:url("URL_IMG_BULLETS") no-repeat;text-indent:-9999px;border:0;margin-right:3px}
.nivo-controlNav a.active    {font-weight:bold;background-position:0 -22px}
/* ]]> */
</style>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js' type='text/javascript'/>
<script src='http://static.tumblr.com/y66747w/9hlmdpcpa/nivoslider.js' type='text/javascript'/>
<script type='text/javascript'>
/* <![CDATA[ */
jQuery(document).ready(function($) {
$('#w2bNivoSlider').nivoSlider({
effect           : 'random',
slices           : 10,
boxCols          : 8,
boxRows          : 4,
animSpeed        : 500,
pauseTime        : 4000,
startSlide       : 0,
directionNav     : true,
directionNavHide : true,
controlNav       : true,
keyboardNav      : false,
pauseOnHover     : true,
captionOpacity   : 0.8
});
});
/* ]]> */
</script>


Depois vá ate adicionar um gadget java cript e cole  seguinte codigo:

<div id="w2bSlideContainer">
<div id="w2bNivoSlider">
<a href="LINK_DO_SLIDE_1"><img src="URL_DA_IMAGEM_1" title="LEGENDA DA IMAGEM 1"/></a>
<a href="LINK_DO_SLIDE_2"><img src="URL_DA_IMAGEM_2" title="LEGENDA DA IMAGEM 2"/></a>
<a href="LINK_DO_SLIDE_3"><img src="URL_DA_IMAGEM_3" title="LEGENDA DA IMAGEM 3"/></a>
<a href="LINK_DO_SLIDE_4"><img src="URL_DA_IMAGEM_4" title="LEGENDA DA IMAGEM 4"/></a>
</div>
</div>
Depois é só colocar o url da imagem, e o url da imagem, se voce não quiser colocar a lengenda da imagem apague isso:
LEGENDA DA IMAGEM 1
Depois é só salvar e pronto!! e aqui esta algumas seta e buttons:

Setas:







Buttons:





Para colocar as setas vá ate editar html e vá la no codigo do slide que botamos,ai você vai encontrar isso:


background: url("URL_IMG_SETA") no-repeat;
Onde esta URL_IMG_SETA você apaga isso depois que apagar você vai ate a imagem da seta e coloca o url da seta que vai ficar assim


background: url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgoWbbl9XiQ5D-6hILG_9SFW3UIjr4UL9eHOjdUXGdo-FFR8ffAzgTbzyqFGPTrA-S9KtDrbhJ16WXxcWlz7jJ-T9mfUPBN-yc3DgDzpSKNudgar30nmSMHWvbZ2v-jRPdLoxGbfiEKPX-W/s1600/s-2.png") no-repeat;
Depois faça a mesma coisa com o url do button mais amigos eu acho o button não muito bom.
O Button vai ta assim
background:url("URL_IMG_BULLETS") no-repeat;
Depois que você achar isso você vai até no url do button e vai ficar assim: 

background:url("https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhRM0BVoJKuFexJAPXWkNPveW6Ce7BnjjqlrMeeRpHPJsWiHNY3FuQmA-5EqvXLrQBjWd_x1G6IpEwyr5qLH7SpGtQvwg_DYxd3BPYu-ytdhK6QDOm-jDg8ayfYWceDzkFymrvHZ49_sbsS/s1600/b-6.png") no-repeat;
Depois é só salvar e pronto.. espero ter ajudado

Um comentário:

  1. The history of Western music has included many talents who pushed the boundaries of what audiences thought possible at the time, such as Wolfgang Amadeus Mozart, Ludwig van Beethoven, Charlie Parker, Miles Davis, John Cage, and many more. ET, according to NBC News tracker.

    Morro said he's learning how to use the video conferencing system Zoom as an alternative to in person hearings.. She opened her show with a monologue from her living room in which she extended her gratitude to medical workers and everyone else on the front lines of combating COVID 19.

    The Bernie Sanders of 1987 talked of the unfair tax system that placed a large burden on working people and the need for universal health care."We are one of two nations in the industrialized world that does not Cheap Yeezy Shoes Sale have a national Air Force 1 In Store health care system," declared Sanders in 1987.Three decades later, in both his 2016 and 2020 presidential campaigns, Sanders continued with that theme.

    It's just very unfortunate I got New Air Jordan Shoes hurt each season. The YouTube video advises patients to take five deep breaths, holding each one for five seconds, and to take a big MK Outlet cough (with the mouth covered) after the sixth deep breath. Officials Jordan Shoes For Sale expressed disappointment over its decision to end an intelligence sharing pact with Cheap Nike Air Force 1 Japan..

    A) News does not warrant the accuracy of the content which you access through this Site. He's just got 'it.'"Lawson said he spoke to Saban on Coach Outlet Clearance Friday afternoon."He told me they were excited to have me," Lawson said. James Jamal Curry, 31, coughed on an Yeezy Shoes For Sale officer arm while he was being arrested on a domestic violence charge in Florida on 27 March..

    ResponderExcluir

- Você não gostou do layout? Você não gostou do blog? Então não precisa seguir este blog, e não precisa comentar

- Proibido comentar Anônimo

- Proibido xingar ou comentar com palavrões

- Se quizer que eu siga seu blog siga primeiro o meu

- Obrigada!!!