...

View Full Version : auto popup first time visit



mrx
02-09-2007, 08:35 PM
im doing a tooltip layer popup with css
how do i make this automaticly popup only for the first time visit the page


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<style>
a.info{
position:relative; /*this is the key*/
z-index:24; background-color:#ccc;
color:#000;
text-decoration:none}

a.info:hover{z-index:25; background-color:#ff0}

a.info span{display: none}

a.info:hover span{ /*the span will display just on :hover state*/
display:block;
position:absolute;
top:2em; left:2em; width:15em;
border:1px solid #0cf;
background-color:#cff; color:#000;
text-align: center}
</style>
</head>

<body>
<a href="#" class="info">hover tooltip text<span>testing text text</span></a>
</body>
</html>

_Aerospace_Eng_
02-09-2007, 09:22 PM
And what exactly have you tried? Anything or were you just expecting someone to give you code without you trying?

mrx
02-09-2007, 09:43 PM
well i dont now how or what to begin with



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum