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; if(document.getElementById){ newheight = document.getElementById(id).contentWindow.document.body.scrollHeight; newheight = screen.height - 280; // test code //document.getElementById(id).height = (newheight) + "px"; document.getElementById(id).width = window.innerWidth * 0.8; document.getElementById(id).height = window.innerHeight * 0.8; } }
WATER
Introduction
Importance
Habitable Zone
Origin and Structure
Earth History
Water History
Climate Change
Water Quality
Solutions
Resources
Hydrology
Water Properties
Hydro Power and Dams
Phase Changes
Hydrologic Cycle
Water Balance
Water Reuse
Conversions
Resources
Earth's Water
Ice Sheets
Arctic Region
Antarctic Region
Glaciers
Oceans, Seas, Currents
Rivers and Reservoirs
Lakes
Precipitation
Groundwater
Weather Events
Deserts
Drought
Floods
Resources
Arizona Water
Water Geology
Water History
Colorado River Basin
Sonoran Desert
Tribal Water
Rivers
Salt River Project
Drought
Central Arizona Project
Groundwater
Surface Water
Water Quality
Innovation
Lakes and Recreation
Conservation
Legal History
Resources
Tucson Area Water
Climate
Santa Cruz River
Rillito River
Groundwater
Recreation and Lakes
Water Quality
Conservation and Sustainability
Drought
Challenges
Innovation
Resources
Terminology
Acronyms & Abbreviations
Glossary
Units
Search
Site Notes
History
Research
Navigation
Translation
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.