ECS-L Home Automation and Security Archives
  learn more | view messages for this month | NetBloc® | terms of use | search

Google
 


  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects

Subject:
From:
Date:
Re: [ECS] weather reports made easy (hopefully)...
Scott Reston
Thu, 24 Feb 2000 10:12:54 -0500

 Thu, 24 Feb 2000 10:12:54 -0500
i forgot to mention - i made one other change to weather.bat. i found it useful to have
the content as HTML to include in my HA homepage... my script also 
creates a simple HTML version of the weather forecast. to disable the creation of the
HTML file, there are instructions within the file (you just have to 
comment out a line)

here's a nifty way to include the weather HTML if you're using IE as your browser. put
the code below into the HTML for a page. change the width and 
height as needed... you'll have a scrolling weather marquee. if you want the marquee
to update after you've downloaded new weather info, you'll need to 
reload the page or put a refresh (meta tag) on it. the cool thing is that the marquee
slows down when you mouse over it...

scott reston
ih8gates@concentric.net
http://www.indelible-blue.com/meetib/scott/



===BEGIN===

<IE:Download ID="marqueedata" STYLE="behavior:url(#default#download)" /> 
<marquee id="externalmarquee" direction=up scrollAmount=4 style="width:400px;height:200px;border:1px
solid white;padding:3px" 
onMouseover="this.scrollAmount=2" onMouseout="this.scrollAmount=4" src="file:///c:/progra~1/ecs/weather.html">
</marquee>

<script language="JavaScript1.2">

/*
External Data Source Marquee Script (Updated 99/11/02)- 
c Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions,
100's more DHTML scripts, and Terms Of Use, visit dynamicdrive.com
*/

function downloaddata(){
marqueedata.startDownload(externalmarquee.src,displaydata)
}

function displaydata(data){
externalmarquee.innerHTML=data
}

if (document.all)
window.onload=downloaddata

</script>

===END===




  subject (prev) or (next) | time (prev) or (next) | author (prev) or (next) | view more subjects




Services provided by [NetBloc]®! NetBloc Solutions Inc.
Terms of use. Indexing software (c) 1999 Lin-De, Inc
.