BY Lane
ON January 14, 2009
IN Run in the internet
原始HTML大概是从BLUEIDEA得来的吧,记不清了。
PHP我写的,也写了好久了。
现在不用了,在BLOG上留个记录。
CSS部分:
| | <style type="text/css">
| | <!--
| | ul.q-graph {border:2px solid #0063be; background:#ffc url(images/graphbg.png) repeat-x scroll 0 0 !important;background:#ffc repeat-x scroll 0 0; position:relative;list-style:none;margin:1.1em 0 3.5em 0; padding:0;}
| | .q-graph li { position:absolute;text-align:center;bottom:0;padding:0;margin:0;}
| | li.qtr {border-right:1px dotted #41a3e2; word-wrap:break-word; z-index:2;}
| | .q-graph ul {list-style:none;}
| | li.bar {width:34px; font-size:9px; color:#fff; background:#ddd url('images/graphbar.gif') no-repeat -34px 0;}
| | li.ticks {left:0;width:100%;z-index:1;}
| | div.ticks {position:relative;margin:0;border-top:1px dotted #41a3e2;}
| | div.ticks:first-child {border-top:none;} /*only4 Firefx IE 7+*/
| | div.ticks p {position:absolute;left:101%;top:-2px;margin:0;color:#f00; font-weight:bold;}
| | -->
| | </style> |
|
PHP部分:阅读剩余部分...
BY Lane
ON December 5, 2008
IN Run in the internet
在经典上找了个VML图表,可惜只有ASP的输出程序,废半天劲改成PHP的,又加入url传递参数,好乱,眼睛都花了。
VML我不懂,不知哪里有问题,在IE8下,鼠标放上去显示出的百分比不正常。如果有知道的人麻烦告知一下谢谢。
查看效果
==========
用家里的电脑再次确认了一次,也是IE8,没有出现问题,看来是公司电脑的问题,但不明白为什么看原来的VML没有问题。。。