Does any know a way of displaying the current weather for a set location in demo pad??
Ive guessed its probably simple to do it with a web page, but its knowing which webpage use!
Thanks
Weather
-
- Posts: 37
- Joined: Mon Jul 16, 2012 3:35 pm
- Location: UK
- Contact:
-
- Posts: 37
- Joined: Mon Jul 16, 2012 3:35 pm
- Location: UK
- Contact:
Re: Weather
After trying about 100 web widgets I came across this great site!
http://www.weather-wherever.co.uk/widget/
Works a treat. If you make your web views height slightly smaller than the size it gives you, it will remove the small piece of text at the bottom of it.
http://www.weather-wherever.co.uk/widget/
Works a treat. If you make your web views height slightly smaller than the size it gives you, it will remove the small piece of text at the bottom of it.
-
- Posts: 4
- Joined: Tue Aug 28, 2012 7:49 am
Re: Weather
What part of code are you coping over on this? I'm struggling to get this working very well...
-
- Posts: 37
- Joined: Mon Jul 16, 2012 3:35 pm
- Location: UK
- Contact:
Re: Weather
You need to create a HTML file and host it on a website some where. The code is then copied into that HTML file.
How far have you got?
How far have you got?
-
- Posts: 37
- Joined: Mon Jul 16, 2012 3:35 pm
- Location: UK
- Contact:
Re: Weather
This is the only code in one of my HTML files which is hosted on my server at home.
I created a blank image (png, jpg etc) of the size of the webview area needed. Drew a webview on the page, selected it along with the blank image and used the image resize toolbar to make them the same size. The blank image can now be deleted. Edit the webview properties to point to the html file where ever it might be hosted and your done.
If you need any more info, give me a shout.
The file is also attached.
I created a blank image (png, jpg etc) of the size of the webview area needed. Drew a webview on the page, selected it along with the blank image and used the image resize toolbar to make them the same size. The blank image can now be deleted. Edit the webview properties to point to the html file where ever it might be hosted and your done.
If you need any more info, give me a shout.
The file is also attached.
Code: Select all
<style type="text/css">
body {
background-color: #000;
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
</style>
<div id="cont_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"><div id="spa_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"><a id="a_MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx" href="http://www.weather-wherever.co.uk/united-kingdom/london_v11207/" target="_blank" style="color:#000;text-decoration:none;">London Weather forecast</a></div><script type="text/javascript" src="http://widget.weather-wherever.co.uk/js/MTEyMDd8NXwzfDR8MXxGRkZGRkZ8NnxGRkZGRkZ8Y3wx"></script></div>
You do not have the required permissions to view the files attached to this post.
-
- Posts: 4
- Joined: Tue Aug 28, 2012 7:49 am
Re: Weather
Cheers peeps!!
Gotcha!! Spot on. Doesn't look too bad either....
Thanks for your help!
Gotcha!! Spot on. Doesn't look too bad either....
Thanks for your help!