No javascript required:
PHP Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
#specific {
display: <?php
$theDisplay = isset($_GET['ud'])? $_GET['ud'] : '';
echo $theDisplay === 'y'? 'block' : 'none'; ?>;
}
</style>
</head>
<body>
<div id="specific">
I'm Specific.
</div>
<div>
Some other stuff.
</div>
</body>
</html>
Bookmarks