本文实例讲述了jQuery动态效果显示人物结构关系图的方法。分享给大家供大家参考。具体分析如下:
这是一个人物关系图,可动态展示,效果非常漂亮。点击文字可出现动态关系图的转换效果。
Untitled document #box{ width:500px; height:500px; position: relative } .host{ position:absolute; width:100px; height:50px; line-height:50px; text-align:center; color:#000000; background-color:#eeeeee; border:#000000 1px solid; font-weight:bolder } .guest{ position:absolute; width:80px; height:40px; line-height:40px;text-align:center; color: #999999; background-color:#FFFFFF; border:#000000 1px solid; cursor:pointer } .relationship{ position:absolute; width:60px; height:20px; color: #aaa; line-height:20px; font-size:12px; text-align:center }
希望本文所述对大家的jQuery程序设计有所帮助。



