Water // test function when the user scrolls down 20px from the top of the document, show the button window.onscroll = function() {scrollFunction()}; function scrollFunction() { if (document.body.scrollTop > 20 || document.documentElement.scrollTop > 20) { document.getElementById("myBtn").style.display = "block"; } else { document.getElementById("myBtn").style.display = "none"; } } // test function When the user clicks on the button, scroll to the top of the document function topFunction() { document.body.scrollTop = 0; // For Safari document.documentElement.scrollTop = 0; // For Chrome, Firefox, IE and Opera } /*********************************************** * Flex Level Drop Down Menu- (c) Dynamic Drive DHTML code library (www.dynamicdrive.com) * This notice MUST stay intact for legal use * Visit Dynamic Drive at http://www.dynamicdrive.com/ for this script and 100s more ***********************************************/ function openwin(url,theWidth,theHeight) { var theTop=(screen.height/2)-(theHeight/2); var theLeft=(screen.width/2)-(theWidth/2); var features='height='+theHeight+',width='+theWidth+',top='+theTop+',left='+theLeft+',scrollbars="yes"'; theWin=window.open(url,'',features); } function autoResize(id){ var newheight; var newwidth; if(document.getElementById){ newheight = document.getElementById(id).contentWindow.document.body.scrollHeight; newheight = screen.height - 300; } document.getElementById(id).height = (newheight) + "px"; }
WATER
Introduction
Importance
Habitable Zone
Origin and Structure
Earth History
Water History
Climate Change
Resources
Hydrology
Water Properties
Hydro Power
Phase Changes
Hydrologic Cycle
Water Balance
Conversions
Resources
Earth's Water
Ice Sheets
Arctic Region
Antarctic Region
Glaciers
Oceans and Currents
Rivers
Lakes
Precipitation
Groundwater
Weather Events
Drought
Floods
Resources
Arizona Water
Water History
Tribal Water
Rivers
Salt River Project
Colorado River Basin
Drought
Central Arizona Project
Water Geology
Groundwater
Surface Water
Water Quality
Innovation
Recreation and Lakes
Conservation
Legal History
Resources
Tucson Area Water
Climate
Santa Cruz River
Rillito River
Groundwater
Recreation and Lakes
Water Quality
Conservation
Drought
Challenges
Innovation
Resources
Terminology
Search
Acronyms & Abbreviations
Glossary
Units
Site Notes
History
Research
Navigation
Credits
Permissions
Author Works
Webmaster: Dr. Denise Meeks, email:
tucsonkosmicgirl@gmail.com
CC BY-NC 4.0 Non-Commercial International License for this author's materials.
Respect the copyrights of all sources listed on this website.