I was looking at some stuff on google and they have these cool links that when you click them it opens up more content and pushses text underneath it down.
I looked at their coding and css and put together this but it didnt work. any ideas how?
HTML Code:
<html>
<head>
<title>Hello</title>
<style type="text/css">
.zippy_content {
display: block;
}
/* Known Issues */
.known_issues_table th {
font-weight: normal;
}
a.expand{
background: url('http://www.google.com/images/zippy_minus_sm.gif') no-repeat 0 0;
padding-left: 20px;
}
a.collapse{
background: url('http://www.google.com/images/zippy_plus_sm.gif') no-repeat 0 0;
padding-left: 20px;
}
a.expand h3, a.collapse h3 {
display: inline;
text-decoration: none;
}
</style>
</head>
<body>
<p><a href="javascript:toggleLayer('sc1');toggleZippy('a1')" id="a1" class="collapse"><strong>Current Known Issues</strong></a></p>
<div style="display:none" id="sc1">
<p>
<p>Issue: The Advanced Reporting feature to "Show data by targeting type - contextual or placement" currently returns aggregate results, instead of results by targeting type.</p>
<p>Update: Our engineers are aware of the issue and are working to resolve it as quickly as possible.</p>
</div>
</body>
</html>
|