Scrolling web page content over a static background:
body {background-attachment: fixed}
I just love simple things that do a lot. Or, am I easily amused?...
I used it here.
City of Santa Rosa - Student Internship - GIS
8 years ago
<script type="text/javascript">
function favs() {
if ( navigator.appName != 'Microsoft Internet Explorer' ) {
window.sidebar.addPanel(
"Google","http://www.google.com","");
} else {
window.external.AddFavorite(
"http://www.google.com","Google");
}
}
</script>
<a href="javascript:void(favs());">
Click to bookmark this page</a>
<a href="#" onclick="func(); return false;">theLinkText</a>
The return false tells the browser that the action of returning
a reference to a URL should not evaluate. It will instead, return
false and therefore do nothing with the octothorpe (hey, how
often does one get to use that in a sentence?). This even
works in IE...
Copyright © 2009 Sage Website Designs