3
How to show a notification when entering the site and disappear after a few seconds with jQuery
?
I tried something but I couldn’t.
JSFIDDLE: http://jsfiddle.net/sunnypmody/XDaEk/
Code:
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta charset="utf-8">
<title>haxP v2</title>
<link rel="shortcut icon" href="./favicon.png">
<link href='https://fonts.googleapis.com/css?family=Pacifico' rel='stylesheet' type='text/css'>
<body bgcolor="#3CB371"/>
<center>
<style>body {left:0;line-height:200px;margin:auto;margin-top:-100px;position:absolute;top:50%;width:100%;color:#ffffff;font-family:Constantia,"Lucida Bright","DejaVu Serif",Georgia,serif;font-size:56px;}#frase{left:0;line-height:200px;margin:auto;margin-top:-100px;position:absolute;top:65%;width:87%;;font-family:Constantia,"Lucida Bright","DejaVu Serif",Georgia,serif;font-size:8px;}#rodape{left:0;line-height:200px;margin:fixed;margin-top:0px;position:absolute;bottom:0;top:110%;width:100%;;font-family:Constantia,"Lucida Bright","DejaVu Serif",Georgia,serif;font-size:10px;}</style>
</head>
<body>
<div id="texto">
<font face="Pacifico">Welcome Underground</font>
</div>
<div id="frase">
Cada sonho que você deixa pra trás, é um pedaço do seu futuro que deixa de existir.
</div>
<div id="rodape">
Powered by <b><font face="Pacifico" size="2">Cruz</font></b>
</div>
</body>
</html>
</center>
Welcome to sopt. What you have tried, don’t try any in the presented code.
– user28595
The problem is I can’t fit that Codex: http://jsfiddle.net/sunnypmody/XDaEk/
– Cruz
Can you add this jsfiddle link to the question? Click [Edit]
– user28595
JS Fiddle Added
– Cruz