Created
December 8, 2009 09:29
-
-
Save mpj/251543 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript" src="http://golfweather.systeamhalmstad.se/GolfWeather.mvc/RenderScript"></script> | |
<script type="text/javascript"> | |
// Required: weather_golf_club_id | |
// The GIT id of the golf club that you want weather for. | |
// The golf club must have the weather module enabled. | |
var weather_golf_club_id = "1285a58f-cae3-4654-84cf-4f687febef3d"; | |
// Optional: Custom Images | |
// Any url can be inserted here. | |
// For IE6, the .png extension will be replaced with .gif. So use alpha transparent PNGs | |
// and create a .GIF variant for IE6 in the same directory. | |
// The example url points to new, nice icons. If this is not provided, GolfWeather2009 will default back to YR.NO-hosted icons. | |
var custom_weather_image_url = "http://golfweather.systeamhalmstad.se/Content/Images/weather_{0}.png"; | |
var custom_wind_direction_image_url = "http://golfweather.systeamhalmstad.se/Content/Images/wind_{0}.png"; | |
var custom_temperature_image_url = "http://golfweather.systeamhalmstad.se/Content/Images/thermometer.png"; | |
// Custom ajax loader | |
var custom_loading_image_url = "http://golfweather.systeamhalmstad.se/Content/Images/ajax-loader-lightgray.gif" | |
$(initializeWeather); | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment