Template:GraphHeader
From 2009.igem.org
(Difference between revisions)
(Axis titles DO work! (with some extra code)) |
(Some CSS to (partially) fix graphs in IE8.) |
||
(One intermediate revision not shown) | |||
Line 4: | Line 4: | ||
</style> | </style> | ||
<script type="text/javascript" src="http://www.google.com/jsapi"></script> | <script type="text/javascript" src="http://www.google.com/jsapi"></script> | ||
- | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3. | + | <script type="text/javascript" src="http://o.aolcdn.com/dojo/1.3.2/dojo/dojo.xd.js" djConfig="isDebug:false"></script> |
<script type="text/javascript" src="/wiki/index.php?title=Template:GraphHeader/GraphCreator.js&action=raw"></script> | <script type="text/javascript" src="/wiki/index.php?title=Template:GraphHeader/GraphCreator.js&action=raw"></script> | ||
+ | <!--[if IE 8]><style> | ||
+ | v\:rect, v\:roundrect, v\:line, v\:polyline, v\:curve, v\:arc, v\:oval, v\:image, v\:shape, v\:group, v\:skew, v\:stroke, v\:fill, v\:textbox, v\:textpath { behavior:url(#default#VML); display:inline-block } | ||
+ | </style><![endif]--> | ||
</html><noinclude>This template has to be included on any page that uses [[Template:Graph]], as it loads certain scripts required for actually showing the graphs.</noinclude> | </html><noinclude>This template has to be included on any page that uses [[Template:Graph]], as it loads certain scripts required for actually showing the graphs.</noinclude> |
Latest revision as of 10:04, 25 September 2009
This template has to be included on any page that uses Template:Graph, as it loads certain scripts required for actually showing the graphs.