This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| //ajusta a imagem para ocupar toda a tela | |
| function fitToStage(image) | |
| { | |
| var propX = 1680 / $(window).width(); | |
| var propY = 1050 / $(window).height(); | |
| propX > propY ? fitStageHeight(image) : fitStageWidth(image); | |
| } | |
| //ajusta a largura proporcionalmente |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <script type="text/javascript"> | |
| document.createElement('header'); | |
| document.createElement('hgroup'); | |
| document.createElement('nav'); | |
| document.createElement('menu'); | |
| document.createElement('section'); | |
| document.createElement('article'); | |
| document.createElement('aside'); | |
| document.createElement('footer'); | |
| document.createElement('video'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| <style> | |
| body{ background-repeat: no-repeat;} | |
| </style> | |
| </head> | |
| <script language="JavaScript"> | |
| <!-- | |
| // ======================================= | |
| // variáveis |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @charset "utf-8"; | |
| body{ background-color:#3F3;} | |
| @media screen and (orientation:landscape){ | |
| body{ background-color:#C30;} | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE HTML> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name='viewport' content='user-scalable=no' /> | |
| <title>Bloqueando o zoom do iPad</title> | |
| </head> | |
| <body> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script type="text/javascript"> | |
| //SENHA | |
| var senha = '1234'; | |
| //funcao | |
| function entra(){ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> | |
| <html xmlns="http://www.w3.org/1999/xhtml"> | |
| <head> | |
| <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
| <script src="valida_form.js" type="text/javascript"></script> | |
| <style> | |
| label { | |
| display: block; | |
| margin: 5px 0; | |
| } |