15 fevereiro 2014

PESQUISA SUPER COMPLETA


Este código gera uma caixa de pesquisa dentro do blog com vários navegadores. Você escolhe o que quer pesquisar e com quem quer pesquisar. Copie e cole o código abaixo em seu gadget - html - java e pronto. Seus usuários não vão precisar sair do seu blog para pesquisar alguma coisa.



----------------------------------------------
<script language="JavaScript" src="suzi.js" type="text/javascript">

</script>



<script language="JavaScript" type="text/javascript">

//<![CDATA[

<!--

function startSearch(){searchString = document.searchForm.searchText.value;if(searchString != ""){searchEngine = document.searchForm.whichEngine.selectedIndex + 1;finalSearchString = "";

if(searchEngine == 1){finalSearchString = "http://yourUrlgoeshere.com";}

if(searchEngine == 2){finalSearchString = "http://www.aesop.com/cgi-bin/search/search.cgi?q=" + searchString;}

if(searchEngine == 3){finalSearchString = "http://altavista.digital.com/cgi-bin/query?pg=q&what=web&fmt=d&q=" + searchString;}

if(searchEngine == 4){finalSearchString = "http://atopqualitysite.com/cgi-bin/search/search.pl?Terms=" + searchString;}

if(searchEngine == 5){finalSearchString = "http://www.galaxy.com/cgi-bin/query?keys=" + searchString;}

if(searchEngine == 6){finalSearchString = "http://www.google.com/search?q=" + searchString + "&btnG=Google+Search";}

if(searchEngine == 7){finalSearchString = "http://www.icyspicy.com/cgi-bin/search/search.cgi?keywords=" + searchString;}

if(searchEngine == 9){finalSearchString = "http://www.lycos.com/cgi-bin/pursuit?query=" + searchString + "&backlink=639";}

if(searchEngine == 8){finalSearchString = "http://search.mamma.com/Mamma?query=" + searchString + " method=GET";}

if(searchEngine == 10){finalSearchString = "http://search.yahoo.com/bin/search?p=" + searchString;}

if(searchEngine == 11){finalSearchString = "http://search.gallery.yahoo.com/search/corbis?p=" + searchString + "&r=all";}

if(searchEngine == 12){finalSearchString = "http://www.gamedex.com/find.cgi?string=" + searchString;}

if(searchEngine == 13){finalSearchString = "http://download.cnet.com/downloads/1,10150,0-10000-103-0-1-7,00.html?tag=srch&qt=" + searchString + "&cn=&ca=10000";}

if(searchEngine == 14){finalSearchString = "http://hotfiles.zdnet.com/cgi-bin/texis/swlib/hotfiles/search.html?Usrt=rel&Usrchtype=simple&Utext=" + searchString;}

if(searchEngine == 15){finalSearchString = "http://dk.altavista.com/q?pg=q&q=" + searchString + "&kl=XX&what=dk&search.x=26&search.y=11";}

if(searchEngine == 16){finalSearchString = "http://dk.search.yahoo.com/search/dk?p=" + searchString;}

if(searchEngine == 17){finalSearchString = "http://de.altavista.com/q?pg=q&q=" + searchString + "&kl=XX&what=de&search.x=26&search.y=11";}

if(searchEngine == 18){finalSearchString = "http://de.search.yahoo.com/search/de?p=" + searchString;}location.href = finalSearchString;}}// -->

//]]>

</script>



<form name="searchForm"><b>Pesquisa</b> <input name="searchText"

type="text" /> <b>Navegador</b> <select name="whichEngine"

onchange="startSearch()">

<option selected />Select / Reset

<option />Aesop



<option />Altavista

<option />Awards & Topsites

<option />Galaxy

<option />Google

<option />IcySpicy

<option />Lycos

<option />Mamma

<option />Yahoo!



<option />Yahoo (PixSearch)

<option />Games - GameDex

<option />Software - CNet Downloads

<option />Software - Hotfiles ZDNet

<option />Denmark - AltaVista (DK)

<option />Denmark - Yahoo (DK)

<option />Deutschland - Altavista (DE)

<option />Deutschland - Yahoo (DE)

</select></form>
------------------------------------------------

MENU EM OUTRA JANELINHA


Este código gera um Menu diferente que se abre em outra janela. O menu é totalmente editável e muito bom para economia de espaço. Copie o código abaixo e cole em um gadget - html - java.



---------------------------------------------------
<script language="JavaScript">



<!-- Begin

var X = 200; // change the # at the left for a fixed X co-ordinate to accommodate browsers other than IE or NS

var Y = 200; // change the # at the left for a fixed Y co-ordinate to accommodate browsers other than IE or NS



if (navigator.appName.indexOf("Netscape")!=-1) {

document.captureEvents(Event.MOUSEMOVE)

function getcoords(e) {

X = parseInt(e.screenX) - 80; // change the # at the left to further adjust the left-margin depending on the size of the window

Y = parseInt(e.screenY) - 60; // change the # at the left to further adjust the top-margin depending on the size of the window

return true;}

document.onmousemove = getcoords;



function openWin() {



if (navigator.appName.indexOf("Microsoft")!=-1) {

X = parseInt(event.screenX) - 80; // change the # at the left to further adjust the left-margin depending on the size of the window

Y = parseInt(event.screenY) - 60; } // change the # at the left to further adjust the top-margin depending on the size of the window

display=window.open('','NewWin','menubar=0,location=no,status=no,directories=no,toolbar=no,scrollbars=yes,height=110,width=190')

message="<font face='verdana, arial, helvetica, san-serif' size='2'><form>";

message+="<input type='checkbox' onClick=window.open('http://cacema.blogspot.com/','') onBlur='window.close();' />CACEMA<br />";

message+="<input type='checkbox' onClick=window.open('http://dr-misterblog.blogspot.com/','') onBlur='window.close();' />Dr MisterBlog<br />";

message+="<input type='checkbox' onClick=window.open('http://cacema.blogspot.com/','') onBlur='window.close();' />CACEMA<br />";

message+="<input type='checkbox' onClick=window.open('http://dr-misterblog.blogspot.com/','') onBlur='window.close();' />Dr MisterBlog<br />";

message+="</form></font>";

display.moveTo(X,Y);

display.document.write(message); }

}



// End -->

</script>


<form>

<input type="button" value="---ABRINDO MENU---" onclick="openWin()" />

</form>
---------------------------------------------------

Troque os links em vermelho e o nome do botão em azul para o que você quiser.
Até a próxima...



CRÉDITOS: http://dr-misterblog.blogspot.com.br/
Neste blog você encontra muitos tutoriais ótimos.

Colocar imagem de fundo nas postagem

Hoje quero mostrar uma dica que pode ser muito boa, porém, ao mesmo tempo, pode ser um grande fracasso dependendo da proposta que você quer dar ao artigo. Veja que eu estou postando de uma forma diferente com uma imagem de fundo. Como a imagem é escura eu fui obrigado a contrastar com o artigo digitado em branco. A colocação do fundo nas postagens é muito simples e, requer um código muito pequeno. Basta copiar o código abaixo e colocá-lo diretamente na área HTML da postagem.
 CÓDIGO
<div style="background-image: url(Endereço da imagem de fundo); padding: 5px;"> Aqui vai o conteúdo </span></div> 
Deixe o código na área de postagem(na area HTML) 
 Este código voce encontra no blog:http://dr-misterblog.blogspot.com.br/2013/02/como-colocar-imagem-de-fundo-na-postagem.html

29 janeiro 2014

Menu para sidebar

Pra quem gosta de usar menus na sidebar, hoje trouxe um código feito por mim (que orgulho *_*). Eu usei ele no lay free Blogger to tumblr, portanto clique aqui para ver como fica.

Para colocá-lo no seu blog, vá no seu HTML, aperte Ctrl + F e procure por ]]>

Então cole esse código logo acima:
/*menu por Liah - Cherry Bomb - credite sempre*/#menucb {
float: left;
display: line;
margin:1px;
background:#f2eee8; /*Cor de fundo */
width: 87px; /*Largura de cada link do menu */
height: 25px;
text-align:center;
font-size: 16px; /*Tamanho da fonte*/
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
-moz-box-shadow: 1px 0px 9px #cccccc;
-webkit-box-shadow: 1px 0px 9px #cccccc;
box-shadow: 1px 0px 9px #cccccc;
text-shadow: 0px 1px 5px #cccccc;
-webkit-transition: color 0.7s ease-out;-moz-transition:
color 0.7s ease-out;transition: color 0.7s ease-out;
}
#menucb:hover {
background: #cfd9f6; /* Cor de funo quando passa o mouse*/
color: #fff; /*Cor do texto quando passa o mouse*/
}

Salve as alterações.


AGORA:Vá até o layout do seu blog, adicione um gadget de HMTL/Javascript onde você quiser que o menu apareça e coloque esse código:

<a href='LINK' id='menucb'>TÍTULO DO LINK</a>

Repita ele para cada link que for colocar no menu e substitua a url e o nome do link. Depois é só salvar o gadget e pronto!

Espero que tenham gostado, e se usarem, dêem os créditos por favor. Ah, voltamos a ter uma cbox aqui no blog, é só clicar na imagem ali na sidebar que ela abre feito mágica *_*

07 janeiro 2014

Embed para sites de filmes!E seriados

Cole este código em HTML/javascript

Hoje postarei um embed para sites e blogs,esse embed eu encontrei no seguinte site :megafilmeshd.net 
Esse embed foi feito especialmente para sites de tv e filmes.
segue o código abaixo :

<iframe name="megafilmes"  marginheight="1" marginwidth="1" scrolling="no"  width="100%"  src="http://www.megafilmeshd.net/lista.html"  frameborder="0" height="500"></iframe>

 *****************************************************************

 Código para colocar seriado em seu blog
segue o código abaixo:
<iframe name="megaseries"  marginheight="1" marginwidth="1" scrolling="no"  width="468"  src="http://megafilmeshd.net/series/"  frameborder="0" height="350"></iframe>
megafilmeshd.net