is there a script to show graphs

yes i completely modified that statement but it kept wiping the page.

Hi

I have it working on my videopage (embedded video).

I hope we find a solution with the graph files (.gifs) - how about

I tried all sorts of things including iframes but every time it rewrites over the top of the calendar, the problem is that i carnt find any primary control over it.

Thats what happened to me when i tried and i dont know what im doing lol

You video page uses this

		    document.getElementById("player").URL="/vejret/vejrdata/" + y + m + d + "dayvideo.wmv";

I will have a play

Hi again

I have asked “weatherc” if he has a solution - and I think he is getting closer - his first test looks very promising - lets see what happens.

Best regards,

Henrik

PS. Henkka (weatherc) thank you very much for all your help.

Thats good news, I have been playing with something along this idea

then using your code from the vid page and modifying it to this but no go

document.getElementById(“graph”).URL="= “./” + y + m + d + “.gif”;

I thougth it was a long show but was worth a try… Perhaps it will give
someone something to work with?

Hi Bashy

Hold the horse - I think Henkka has the solution ready very soon.

I have seen his testpage and its working the way we want it to.

Best regards,

Henrik

Consider it back in the stable :wink:

thats good news,i would like to see how its been done, my guess is that its been encoded in php rather than JS??

Hi

Henkka (weatherc) is the man!!!

We owe him a BIG THANK YOU for all his help.

Here is a running testpage - default is 24 hours graphs presented.

www.buskelundtoften.dk/vejret/test/kalender.php

Just grab the source from the page above.

Now I need to implement it to my website.

Best regards,

Henrik

Thats good, there is some script in there that i used - Just a few bits in between that i was missing.

Thats briliant thanks Henrik and Henkka but i have a placement issue with mine
It should be showing to the left of the graph and below the text but its actually in the footer
for some unknown reason

http://www.northantsweather.com/wx6.html

any ideas please?

No matter what i try to do it always aligns itself to the bottom left of the page
it didnt do this with the original script, is it something in the new code thats making
it do this please?

i added my code in a txt to this post for someone to take a look if you can please?


wxlocal6.txt (24 KB)

Hi Bashy!

I think I found your problem, your page miss the

wich show the calendar and thats why it goes to bottom of the page, try to put it near the preview-div, I don’t find it on your page and thats what i used to show the almanac in my testpage…

Henkka

Excellent Henkka that sorted it, something so simple i missed out #-o :oops:

Thanks for your hard work, i am really gratefull :slight_smile:

Good to hear you get it to work :smiley:

Henkka

Thanks again Henkka, just a quicky, i have been trying to sort it so it aint 100% in width
so as to get rid of the side panels when page is too wide, i tried adding width 100px; to
the css thats in use but nothing happened so im assuming there must be something else
i need to do, any ideas please?

Hi again Bashy!

I noted that too when I tested on my page that putting width in the div where calendar shows have now effect, and it showed that horrible box for me too. So found in the stylesheet of the theme in use, quite in beging of it found this:
div.calendar { position: relative;}
and change to this:
div.calendar { position: relative; width: 198px; }

hope it helps.

Henkka

Thats perfect thank you again, i just realised that i had actually tried editing the
wrong sheet anyway when i tried it, i was doing win2k-1 and it should have been
win2k-cold-1 pmsl… #-o :oops:

Anyway, sorted now thanks again, your a star

Hi guys!

I have mine up and running in Danish and English language:

www.buskelundtoften.dk/vejret/english/grafkalender.php

I know there is some problems with Firefox - but cant figure out what the problem is. The calendar is working fine - but looks a little strage.

Again - THANK YOU VERY MUCH TO YOU HENKKA!

Best regards,

Henrik