Page 1 of 1

Render gauges in template

Posted: Wed 11 Dec 2013 9:46 am
by marius
Hi everybody! I've been asked to edit the standard templates for cumulus, and I have stumbled upon a problem. The gauges renders incorrectly. I am not sure exactly what causes this, but hopefully someone can shed a light on this. It seems like the javascript that renders the overlay for the gauges are doing so too far up. There are also supposed to be text in a sister div on the right hand side of the gauges on the index page that is completely removed for some reason.

Using Firebug I can see that there are a lot of div's created that position the overlay. How do I edit the standard values for them?

Website is here: http://www.lksa.no/vm/

Edit: I actually managed to position the gauges on the frontpage correctly by creating a dummy div with the id of the gauge I want to render. However, this method did not work well on the gauges (MÃ¥lere) page. No idea how to fix that.

Edit again: Sorry, managed to solve the last problem as well. Floating divs all over the place broke the JS. Clear fix to the rescue! :bash:

Re: Render gauges in template

Posted: Wed 11 Dec 2013 4:11 pm
by N0BGS
Your site looks very good now.

Well done!

--Kurt