Mar 12

Buenas galera, primeiramente irei me apresentar.

Me chamo Willians Fernandes e trabalho com Web Design e Criação em geral, estarei por aqui dando dicas e criando alguns tutoriais sobre design.

Hoje iremos entender sobre o tal “Fullscreen” pelo browser, um exemplo claro é o que se faz quando aumentamos a tela de um vídeo no site Youtube. Esta função foi criada a partir do Adobe Flash 9 e é o que vamos aprender hoje.

Primeiramente iremos criar um novo arquivo no flash e em Action Scrpit 2.0. Crie um palco com tamanho de 400×400.

ft1.jpg

Em seguida iremos criar uma nova camada e iremos colocar o código abaixo:

ft2.jpg

Na camada de baixo iremos criar um botão e instanciamos o seu nome de “fullmode” sem as aspas.

ft3.jpg

Em seguida publique seu arquivo e no código Html mude a opção ‘allowFullScreen’, ‘false’, para true:

ft4.jpg

Salve seu arquivo Html e teste seu swf.É isso, espero que gostem e aos poucos vamos postando mais tutoriais.

Grande abraço a todos.


Will
contato@willportifolio.com.br

Tags: , , , , , , , ,

Mar 10

Este sábado estava criando um menu de cascata utilizando JavaScript + CSS, em determinado momento senti a necessidade de alterar propriedades Css (background-color, border, color e etc.) via Javascript. Pesquisei encontrei essa excelente lista com as definições de Css X JavaScript, obra do grande Profº Hebert.

Segue a lista:

Propriedade - CSS Referência - JavaScript
background background
background-attachment backgroundAttachment
background-color backgroundColor
background-image backgroundImage
background-position backgroundPosition
background-repeat backgroundRepeat
border border
border-bottom borderBottom
border-bottom-color borderBottomColor
border-bottom-style borderBottomStyle
border-bottom-width borderBottomWidth
border-color borderColor
border-left borderLeft
border-left-color borderLeftColor
border-left-style borderLeftStyle
border-left-width borderLeftWidth
border-right borderRight
border-right-color borderRightColor
border-right-style borderRightStyle
border-right-width borderRightWidth
border-style borderStyle
border-top borderTop
border-top-color borderTopColor
border-top-style borderTopStyle
border-top-width borderTopWidth
border-width borderWidth
clear clear
clip clip
color color
cursor cursor
display display
filter filter
font font
font-family fontFamily
font-size fontSize
font-variant fontVariant
font-weight fontWeight
height height
left left
letter-spacing letterSpacing
line-height lineHeight
list-style listStyle
list-style-image listStyleImage
list-style-position listStylePosition
list-style-type listStyleType
margin margin
margin-bottom marginBottom
margin-left marginLeft
margin-right marginRight
margin-top marginTop
overflow overflow
padding padding
padding-bottom paddingBottom
padding-left paddingLeft
padding-right paddingRight
padding-top paddingTop
page-break-after pageBreakAfter
page-break-before pageBreakBefore
position position
float styleFloat
text-align textAlign
text-decoration textDecoration
text-decoration: blink textDecorationBlink
text-decoration: line-through textDecorationLineThrough
text-decoration: none textDecorationNone
text-decoration: overline textDecorationOverline
text-decoration: underline textDecorationUnderline
text-indent textIndent
text-transform textTransform
top top
vertical-align verticalAlign
visibility visibility
width width
z-index zIndex

Fonte: Clique aqui

Davi de Alencar Silva
davi@portaltecnologia.net

Tags: , , , , , , , ,