Render gauges in template
Posted: Wed 11 Dec 2013 9:46 am
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!
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!