Traduza ao Português/Portuguese Translate to English Übersetzen Sie zum Deutsch/German Traduzca al Español/Spanish Traduisez au Français/French Traduca ad Italiano/Italian 日本語に翻訳しなさい /Japanese Vertaal aan het Nederlands/Dutch Μεταφράστε στα ελληνικά/Greek Переведите к русскому/Russian Plugin by Taragana www.contraposta.com/ Imagem de cabeçalho aleatória Categoria: Geral Jan 29, 2008
Aqui vai um tutorial simples mas bastante útil de como criar imagens aleatórias. Penso que será extremamente útil para quem utilize a plataforma Blogger pois essa não permite o uso de plugins como o MovableType ou WordPress. Primeiro é necessário ter várias imagens para funcionarem como fundo. Procurem no Google ou sites de fotos imagens relacionadas com o que pretendem.
Este deve ser o código CSS que existe na página do template do blog:
De seguida vou criar um script que o que faz é criar um novo estilo de forma a substituir a propriedade «background». Caso o script não funcione, por qualquer motivo, a imagem definida no CSS irá aparecer.
Coloquem este script dentro da tag e deverá funcionar. Verifiquem se o vosso cabeçalho tem o nome de header, caso não tenha terá de alterar isso no script.
E pronto, se fizeram tudo correctamente agora cada vez que a página for carregada deverá aparecer uma imagem aleatória. Para testar basta carregar na tecla F5 no vosso blog.
The Cat, also known as the Domestic Cat or House Cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its
CLIQUE AQUI
TESTE3
TESTE4
The Cat, also known as the Domestic Cat or House Cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its
Dogs
The dog is a domestic subspecies of the wolf, a mammal of the Canidae family of the order Carnivora. The term encompasses both feral and pet varieties and is also sometimes used to describe wild canids of other subspecies or species. The domestic dog has been (and continues to be) one of the most widely-kept working and companion animals in human history, as well as being a food source in some cultures.
Cats
The Cat, also known as the Domestic Cat or House Cat to distinguish it from other felines, is a small carnivorous species of crepuscular mammal that is often valued by humans for its companionship and its ability to hunt vermin. It has been associated with humans for at least 9,500 years.
Rabbits
Rabbits are small mammals in the family Leporidae of the order Lagomorpha, found in several parts of the world. There are seven different genera in the family classified as rabbits, including the European rabbit (Oryctolagus cuniculus), cottontail rabbit (genus Sylvilagus; 13 species), and the Amami rabbit (Pentalagus furnessi, endangered species on Amami O-shima, Japan). There are many other species of rabbit, and these, along with cottontails, pikas, and hares, make up the order Lagomorpha. Rabbits generally live between four and twenty years.