Page 1 of 2

Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 12:45 am
by CaLi
Hi all, i kindly took Daj up on his offer to host my weather stations live data.

I was particularly fond of the style but it did what it needed to do, so i have been working on a new layout for mine.

Its not fully complete as i still need to sort out integrating some css files to sort out the Trends page so the graphs enlarge once clicked.

I did however have a problem that my guages page isnt working at all, and i could figure out why.. turns out i spelt gauges wrong lol

You can check out the new layout >> here <<

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 12:59 am
by beteljuice
At the moment you've lost two important javascripts and included a new one twice ;)

Code: Select all

<script src="js/cufon-replace.js" type="text/javascript"></script>
<script src="js/cufon-replace.js" type="text/javascript"></script>

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 1:05 am
by CaLi
i would ignore them, as i used a template so i need to remove them.

Which ones am i missing? when i look at the origional templates i cant see any scripts in the header :?

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 1:41 am
by beteljuice
In fact you've lost everything that makes the gauges work :shock:

In the header should be:

<script language="JavaScript" src="wz_jsgraphics.js" type="text/javascript"></script>

BUT ..

before the closing </body> tag you've deleted ALL the processed variables AND the calls to:

<script language="JavaScript1.2" type="text/javascript" src="dbimages/dashboard.js"></script>

<script language="JavaScript1.2" type="text/javascript" src="dbimages/boxover.js"></script>


... better look at the original template again ....

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 11:14 am
by CaLi
thanks for your help, not sure how that happened but it was late at night,

page is now working correctly :D

http://wepre.localweatherview.net/gauges.htm.

Edit: Also Fixed the trends page had missed out

Code: Select all

<script type="text/javascript">
function changeImage(im) {
	document.images["graphs"].src = im + "?" + new Date().getTime();
}
</script>

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 11:59 am
by beteljuice
Almost fixed your trends page ......

Extra < in your opening <header> tag.

Code: Select all

<<title>Wepre Weather Station</title>

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 12:02 pm
by hills
Very nice looking website, I like it!!

BTW, you've misspelled gauges ;)

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 12:07 pm
by CaLi
cheers beteljuice, just removed that extra tag. I will go through the rest of the pages and tidy up the html.

and hills.. dont get me started on spelling of guages/gauges, iv never been more confused in my life lol :D

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 1:10 pm
by nitrx
It seems your pressure is set wrong (to low) most pressure is above 1000 hPa in the UK see this topic https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=20

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 4:43 pm
by CaLi
nitrx wrote:It seems your pressure is set wrong (to low) most pressure is above 1000 hPa in the UK see this topic https://cumulus.hosiene.co.uk/viewtopic.p ... 3&start=20
I just love this forum, everyone is so helpfull and pleasant :)

I have now corrected my pressure, i would have never noticed this was wrong. i guess my forecasts will be more accurate now its correct?

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 5:55 pm
by robynfali
Lookin pretty good there, love the design, whereabouts in Wales are you?

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 6:00 pm
by robynfali
DOH!!

just read it on your page.....not TOO far down the road from me

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 6:55 pm
by nitrx
I have now corrected my pressure, i would have never noticed this was wrong. i guess my forecasts will be more accurate now its correct?
You probably get less rain and wind :lol:

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 8:43 pm
by daj
Love the styling -- very fresh.

I've only checked two pages page but you have some orphan tags! These can cause some browser to freak out.

index page....

Line 38 you have an opening <div> contained within <h3>'s it would need to close before the </h3> if it was supposed to be there. I suggest removing it.

You then have a closing </div> line 136 -- should be removed. now all your tags will match :)

the today page...

You are forgetting to close the table body before you close the table...need a </tbody> just above </table>. You are not closing the main div at the very bottom, before you close the </body>

Sorry, I know it sounds a bit petty but it is important. I can check the others if you wish, or maybe you want to check them

Still a nice style ;)

Re: Custom Website using localweatherview.net

Posted: Fri 18 Feb 2011 9:00 pm
by CaLi
Daj, im going to go through all the pages as im sure there are loads of mistakes as i only use ms notepad, i guess i should really use something abit better really but im so used to notepad.

Alot of the code is messed up and not perfect, will have a look and sort the obvious and i also need to thin out the css file as i dont use all the classes in there.

if i have a look myself and clear up what i can see is wrong then i would appreciate you giving it a final go over to check its all 100% correct.

I am pleased with the way the site looks but im thinking of changing it to blue and replacing the flower with a beach sea themed picture but not decided on this yet