▼ categorias

Mostrando postagens com marcador dicas. Mostrar todas as postagens
Mostrando postagens com marcador dicas. Mostrar todas as postagens

Como permitir que os visitantes do site mudar o fundo e cores de texto?

How to Let Website Visitors Change the Background and Text Colors



You can add fun functionality to your website by letting your visitors change the text and background colors with simple dropdown menus. Try it:
Background
Text
To add this option to your website, you need to create HTML id tags for the area in which the background color and text color will be changed. Then create two drop down menus with your choice of colors.
(Step 1) Open your site in an HTML editor or Notepad so that you can edit the code by hand. First make sure that you have a DOCTYPE specified before the opening HTML tag. For instance, something like

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

(Step 2)
Identify the area of your website where you want the colors to be changed and add this pair of div tags to the beginning of that section:
Now add this pair of closing tags at the end of the section:
If you save and compile, you'll notice that nothing has changed yet. This is because we haven't yet added the color-change script and dropdown menus. The id tags serve as name references for the next step.

(Step 3) 


Locate the area where you want visitors to access the dropdown menus. Copy and paste these lines of HTML and JavaScript code:


Notice where the id tags are referenced by the "getElementById" commands. This code generates a set of dropdown menus with four background colors and four text colors. Each color is uniquely identified by a 6-digit hexadecimal number, as seen within the quotation marks.

You can easily add more color choices by following the template and inserting additional option tags. To find more colors and their hex codes, see either this resource or this resource.



fonte:
had2know.

traduzido:                                                         


Como permitir que os visitantes do site mudar o fundo e cores de texto



Você pode adicionar funcionalidades divertidas para o seu site, permitindo que seus visitantes mudar o texto e cores de fundo com simples menus drop-down. 

Experimente:
Fundo
Texto
Para adicionar esta opção para o seu site, você precisa criar tags HTML id para a área em que a cor de fundo e cor do texto será alterado. Em seguida, crie dois menus drop down com sua escolha de cores. (Passo 1) Abra o seu site em um editor de HTML ou o Bloco de notas para que você possa editar o código manualmente. Primeiro, verifique se você tem um DOCTYPE especificado antes da tag HTML de abertura. Por exemplo, algo como <DOCTYPE HTML PUBLIC "- / / W3C / / DTD HTML 4.01 Transitional / / EN" "http://www.w3.org/TR/html4/loose.dtd"> 

 (Passo 2)

  Identificar a área do seu site onde deseja que as cores para ser mudado e adicionar este par de tags div para o início dessa seção:

<div id='changemybg'><div id='changemytext'>


Agora adicione este par de marcas de fechamento no final 

da seção:

</div></div>
 


Se você salvar e compilar, você vai perceber que nada mudou ainda. Isto é porque nós ainda não adicionou o script de mudança de cor e menus drop-down.As tags ID de servir como referências de nome para a próxima etapa. (Etapa 3)Localize a área onde você quer que os visitantes para aceder aos menus drop-down. Copie e cole essas linhas de código HTML e JavaScript:

<table width=300 border=0><tr>
<td align=center><form name=bcolors>Background<br><select NAME=bgc size=4
onChange="document.getElementById('changemybg').style.backgroundColor=bgc.
options[selectedIndex].value">
    <option VALUE="#FFFFFF">White </option>
    <option VALUE="#F0F0FF">Light Blue </option>
    <option VALUE="#FFFFD4">Light Yellow </option>
    <option VALUE="#EEEEEE">Light Gray </option>
</select></form></td>
<td align="center"><form name=tcolors>Text<br><select NAME=tc size=4
onChange="document.getElementById('changemytext').style.color=tc.options
[selectedIndex].value">
    <option VALUE="#000000">Black </option>
    <option VALUE="#444444">Charcoal </option>
    <option VALUE="#000088">Dark Blue </option>
    <option VALUE="#117722">Dark Green </option>
</select></form></td>
</tr></table>

Observe que as etiquetas de identificação são referenciados pelo "getElementById" comandos. Este código gera um conjunto de menus dropdown com quatro cores de fundo e quatro cores de texto. Cada cor é unicamente identificado por um número hexadecimal de 6 dígitos, como visto dentro das aspas. Você pode facilmente adicionar mais opções de cores, seguindo o modelo e inserir as tags opção adicional. Para encontrar mais cores e seus códigos hex, quer ver esse recurso ou este recurso .


saiba como instalar slider para o Blogger

Kwicks Slider for Blogger

Kwicks Slider
Trước giờ chưa viết bài nào về jQuery Slider và cũng có một số bạn hỏi cách làm một Slider ở trang chủ nên trong bài này Noct sẽ giới thiệu một Slider khá ấn tượng, đó là Kwicks Slider.

Loại Slider này thường thấy ở Wordpress, nhưng có thể đây là lần đầu tiên bạn thấy nó trên Blogger. Nội dung trên Slider thường là các bài đăng mà bạn tâm đắc, như vậy sẽ thu hút thêm 1 lượng traffic cho blog của bạn và góp phần xây dựng Sitelinks theo ý muốn.


 
 
Như thường lệ, chèn đoạn CSS sau phía trên </b:skin>

#slider{height:300px;margin:auto;padding:20px 0;width:900px;position:relative}
#slider h2{display:none}
.kwicks_container{width:900px;margin:0 auto}
#top .kwicks{list-style:none;position:relative;margin:0;padding:0;width:900px;height:300px;z-index:2}
#top .kwicks li{display:block}
.kwicks li{display:block;float:left;overflow:hidden;padding:0;cursor:pointer;width:180px;height:300px;z-index:2}
.kwicks li a{outline:none;display:block;z-index:100;cursor:pointer;text-decoration:none;color:#FFF}
li#kwick{-moz-box-shadow:0 0 10px #333;-webkit-box-shadow:0 0 10px #333;box-shadow:0 0 10px #333}
.kwicks a:hover,.kwicks #active{color:#f1f1f1}
.slider{background:#222;filter:alpha(opacity=80);opacity:0.8;-moz-opacity:0.8}
.slider{width:570px;position:absolute;display:block;bottom:0;left:0;z-index:2;padding:5px 15px;font-size:12px;line-height:1em;cursor:pointer}
.sliderheading{display:block;font-size:15px;margin:10px 0}

Lưu lại, tiếp tục tìm đến đoạn sau:

<div id='content-wrapper'>

 
Chèn phía trên nó:

<b:if cond='data:blog.url == data:blog.homepageUrl'>
<script src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js' type='text/javascript'/>
<script src='http://noctland.googlecode.com/files/jquery.easing.1.3.js' type='text/javascript'/>
<script src='http://noctland.googlecode.com/files/jquery.kwicks-1.5.1.js' type='text/javascript'/>
<b:section id='slider' maxwidgets='1' showaddelement='no'>
<b:widget id='HTML90' locked='true' title='Slider' type='HTML'/>
</b:section>
</b:if>

Đoạn code trên sẽ tạo một tiện ích HTML/Javascript mới trên blog của bạn, hãy quay lại Phần tử trang và tiếp tục chèn vào tiện ích này đoạn sau:

<div class="kwicks_container">
<ul class="kwicks">

<li id="kwick">
<a href="URL">
<span class="slider">
<span class="sliderheading">Post Title 1</span></span>
<img width="600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiym5ihepUB2lLeW7xpouijIsGCBzL-hp30aHuM8wfwVjb6LkW6FjO2tybLWI1Hho2jOIZ9wB_e1uYTUcm78e7QShNL28VTEcUDmR_0qTZaOGBHvEQCuBvA2iFEoRFRH5CFTurpw5aU5Jg/"/></a></li>

<li id="kwick">
<a href="URL">
<span class="slider">
<span class="sliderheading">Post Title 2</span></span>
<img width="600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Bx54QBpx_tj03ZJn4gz2gLs_Ft2f15ebWazk9Vdi7S7uGn96JmTVEhxiTET483CF09tfmt61i0AFoJxvTPk3pocCNTxPy3myaeJ5c7XcBjbEQOu3ajStFqG8KL5gkvB366FjEYJiNd4/"/></a></li>

<li id="kwick">
<a href="URL">
<span class="slider">
<span class="sliderheading">Post Title 3</span></span>
<img width="600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgD_99El0V-aCThhQtF4THOhkvx7jqzlR236bSl00KT8XsD2kbOMwy2BWrXvzj_Vl0SC_J3eYk7FtIUstLOz-SKI4d3JlC292TXqoj1c0SM1slpiqalVSQW7NOpYc2nnIGy2QrirqkVDBQ/"/></a></li>

<li id="kwick">
<a href="URL">
<span class="slider">
<span class="sliderheading">Post Title 4</span></span>
<img width="600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiteL02F3pFFMnEb4Xym4XaKTZWr-OI1x00u4pvu9uHkR-E1Snh9Yzhyphenhyphen5zyVFoEKjxM1IIpLH59AhD1Wk425rGlsHc82fDhwPAD2BLtBBQr0CMo7YZSU9A0sjEeA_PAL-pQ9nRpEGdnPMo/"/></a></li>

<li id="kwick">
<a href="URL">
<span class="slider">
<span class="sliderheading">Post Title 5</span></span>
<img width="600" height="300" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgRa5qQuXhny2T5aJ6Pul6zflVxN4nsaZpf_FKHXGsxOslm6bIa-RtzQYUyTKjYKtm-lBeuxFhHJj7G1bA-QmbqduuxYvRld1SQjaRfSH321VRdhO45cPJqffpcRsOsM98daXG8GXPH3eQ/"/></a></li>

</ul></div>

Các dòng tô màu bạn có thể sửa lại cho phù hợp, kích thước ảnh theo mặc định là 600x300. Hy vọng bạn sẽ thích Slider này. 
 

fonte:


traduzido:

Kwicks Slider para o Blogger



Kwicks Slider
Antes, não escrever sobre jQuery Slider e também algumas de vocês perguntaram como fazer um controle deslizante na página inicial assim neste NOCT irá introduzir umSlider é bastante impressionante, é Slider kwicks .

Tipo Slider é comumente encontrada em Wordpress , mas esta poderia ser a primeira vez que vi na Blogger.O conteúdo do Slider é geralmente os lugares que você concordo plenamente, por isso vai atrair um tráfego de qualidade para o seu blog e contribuir para a construção Sitelinks
 vontade. Como de costume, insira o CSS acima </ b : skin>deslizante # {height: 300px; margin: auto; padding: 20px 0; width: 900px; position: relative}# deslizante h2 {display: none}kwicks_container {width: 900px; margin: 0 auto}.# top. kwicks {list-style: none; position: relative; margin: 0; padding: 0; width: 900px; height: 300px; z-index: 2}# top kwicks li {display: block}.kwicks.li0 10px # 333;-webkit-box-shadow: 10px 0 0 # 333; box-shadow: 10px 0 0 # 333}.. kwicks a: hover, kwicks0}Guardar, continue com o seguinte:<div id='content-wrapper'>Inserir acima dela:<b:if cond='data:blog.url == data:blog.homepageUrl'>script < src = "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" type = "text / javascript '/>http://noctland.googlecode <script src = ' texto .com/files/jquery.easing.1.3.js 'type =' / javascript '/>tipo <script src = 'http://noctland.googlecode.com/files/jquery.kwicks-1.5.1.js' 'text / javascript "= /><b:section id='slider' maxwidgets='1' showaddelement='no'><b: widget id = 'HTML90 "fechado title =' true 'type =' Slider '=' HTML '/></ b: section></ b: if>O código acima irá adicionar um HTML / Javascript para o
 
seu novo blog, volte para o elemento superior e continuar 
 
inserir este adicionar o seguinte parágrafo:<div class="kwicks_container"><ul class="kwicks"><li id="kwick"><a href = "URL"><span class="slider"><span class="sliderheading">Título Mensagem 1</ span> </ span><img width = "600" height = "300"id = "kwick"><a href = "URL"><span class="slider"><span class="sliderheading">Mensagem Título 2</ span> </ span><img width = "600" height = "300"id = "kwick"><a href = "URL"><span class="slider"><span class="sliderheading">Mensagem Título 3</ span> </ span><img width = "600" height = "300"id = "kwick"><a href = "URL"><span class="slider"><span class="sliderheading">Mensagem Título 4</ span> </ span><img width = "600" height = "300"id = "kwick"><a href = "URL"><span class="slider"><span class="sliderheading">Mensagem Título 5</ span> </ span><img width = "600" height = "300"pintura de linha você pode editar em conformidade, o tamanho da imagem padrão é600x300 . Espero que tenham gostado Slider isso. 
























































PARAR MARQUEE ... Pausando e reiniciando a marquee.

PARAR MARQUEE

Pausando e reiniciando a marquee.

como editar marquees com imagens
 
Para pausar a marquee quando o botão do mouse está sobre ela e reiniciar quando retira, coloque o seguinte script java: 

<marquee behavior="alternate" bgcolor="#888888" onmouseover="this.stop();" onmouseout="this.start();">
<a href="http://www.novidades100.com.br/games/godofwar.html">
<img src="http://www.novidades100.com.br/images/gifs/2.gif">
</a>
</marquee>

 

na cor azul : pode ser alterado

na cor vermelha: pode ser alterado

 <marquee behavior="alternate" bgcolor="#888888" onmouseover="this.stop();" onmouseout="this.start();">
<a href="sua URL/ENDEREÇOWEB">
<img src="ENDEREÇODEIMAGEM/URL">
</a>
</marquee>

 

CONCLUSÃO

Pronto. Aí está uma demonstração básica de marquee, o mais você inventa, cria, transforma.
Obs: As propriedades da marquee você deve editar no arquivo css.

Alguns dos atributos utilizadas nos exemplos acima:
→ border;
→ color;
→ font-size;
→ font-family;
→ font-weight;
→ width;
→ height, entre outras.
http://instagram.com/edilenebrandaodasilva LinkedInTwitter Facebookstumbleupon Google Plus RSS Feed Email/