Help Please with Website yowindow creation

Any questions? Any answers?
Post Reply
gateway2capecod

Help Please with Website yowindow creation

Post by gateway2capecod »

hello...

I got the yowindow working fine on my desktop and also on my desktop it is getting the data from my Weather Display station. I then decided I want to add it somehow as a stand alone webpage to my website....sorta like this one I did today:

http://www.gateway2capecod.com/wxyowindow.php

This is one that I basically used code from the "Free weather widget" page.

what I need help with in setting up is first...How do I get my yowindow to display the data from my home weather station, and not from my closest airport Metar station? ..which is why it currently says at top left of my page "Wareham Center" and not "West Wareham, Ma Weather" which is my own data.

The 2nd thing I need help with is how do I make my yowindow image on my website look like the one on this page here:

http://www.silkeborg-vejret.dk/english/ ... igt_yr.php

the yowindow on the link above shows a lot more data on the right side and looks a lot more like the actual screen on my desktop when yowindow is running. What I dont know is where I get the code to display my yowindow like this, instead of the way I have it now.

is there a section somewhere in this forum that describes how to set it up like this? or a different type of code somewhere I overlooked?

I knwo that the forecast part is something different on his site above, I am just looking to find out how to make my yowindow look like his and also make it display my stations data and not the data from the closest Airport Metar.

Thank you for any help....Chris
User avatar
countryroads
Posts: 8844
Joined: Tue Apr 27, 2010 3:38 am
Name: Marty
Location: Mansfield, Ohio USA
Contact:

Re: Help Please with Website yowindow creation

Post by countryroads »

Hi Chris,

I am sending you an example of one of my html's. Disregard the fact that I am comparing 2 cities. Look at the top where it reads 'object.....' . You will notice width= and height= . You need to work with these. I think the example you showed from someone else was width="800" and height="300".

I hope this helps you out.

Marty
Attachments
how to change widget size.JPG
how to change widget size.JPG (102.82 KiB) Viewed 3862 times
gateway2capecod

Re: Help Please with Website yowindow creation

Post by gateway2capecod »

Hello....

Thank you for the help. I also received a message from Jim McMurray and he mentioned that I need to make my "height=" a little bit bigger than what I had it at so that the data would appear on the right of the yowindow screen on my webpage.

I had width=650 and height=245 and changed it to width=650 and height=350 and now the data is appearing and looks Real Nice there. I cant go any larger in width because of the narrow.css templates I am using for my site, but that didnt matter, all I need to was to adjust the height = up a bit and that did the trick.

I also recently added to lower section/below the yowindow..the YR.NO forecast script since my original post, so have a look now and see how it all looks:

http://www.gateway2capecod.com/wxyowindow.php

Much appreciate the Help...Thank you...Chris
Post Reply