PixelBlender.net  Our web design and company branding Pixel Blender is live!  Click here for these tasty templates »

php Website Backup
Moving Clouds Flash Animation php Foto Flow        php File Manager php Mailing List php Content Editor php Website Backup php Site Recommender php Click Counter Floating Webpage Toolbar php Yahoo! Stock Widget Full Color Business Cards MySpace and ShoutLife Template Package asp Digital Auto Pixelblender Website and Logo Templates        Hotscripts.com

  Script:		php Yahoo! Weather Widget loopScroller
  Version:		1.1
  Rights:		© Revived Wire Media - revivedwire.com


[Installation - loopScroller]
****Note: File paths within the loopScroller are critical. Please keep the directory structure intact to avoid issues.
  1. Everything you need for the loopScroller is contained within the loopScroller folder
  2. demo.php and the folder demo_files are not required. They are included to demonstrate how to integrate the loopScroller
  3. Once you have chosen the location in which the loopScroller will reside, begin by inserting the following into that section of code

    <iframe class="loopScroller" frameborder="0" marginheight="0" marginwidth="0" scrolling="No" src="loopScroller.php" width="140" height="100"></iframe>
  4. Open loopScroller.php and add or remove the divs for each location/city (further instruction is located in this file just above the divs)
  5. Open any demo*.php and make the necessary configuration changes (for cities that do not have a zip code, you must enter a location ID. To find your location ID, browse or search for your city from the Yahoo! Weather home page. The weather ID is in the RSS URL for the forecast page for that city. For example, if you search for Zurich, Switzerland on the Yahoo! Weather home page and click the orange RSS button, the forecast page for that city is http://weather.yahooapis.com/forecastrss?p=SZXX0033&u=f. The location ID is SZXX0033.
  6. ****Note: define('IMAGES', in the config section must have an absolute path from your web root (or the full web address - e.g. http://www.yourdomain.com/loopScroller/locations/weather/icons/ ). Also, in these location .php files, the stylesheet code can be modified and the meta tags can be modified or removed to suit your needs. You should, however, retain the doctype, html, head and body tags.
  7. Upload files and folders!
Sweet Niblets!If the weather data isn't being displayed or the xml file is not generated and placed in your server directory — please don't get all crazy and remove us from your Christmas lists! :) Try replacing line two in your "display" file so that it references the alternative version — entitled weather.class.alt.php (or weather.class.5day.alt.php) — which uses different php functions. If this doesn't resolve the issue, try changing the chmod of the folder in which all of the weather files reside — as well as the folder entitled icons — to 777. If this doesn't work, try chmoding everything to 777 (it's highly unlikely that this last option would be a necessity).