用数组实现滑动门效果最近看到网站上有好多这样的效果,好几个栏目共用一个区域,把鼠标移到栏目的那几个字上面,下面自动显示相关栏目的内容。这是怎么实现的呢,我就自学了一下,是DIV+CSS实现的,并不难,SDmodel.sd(["m01","m02"],["c01","c02"],"sd01","sd02");/mo1是栏目的调用,c01是内容的调用*/SDmodel.sd(["mm01","mm02"],["cc01","cc02"],"sd01","sd02");SDmodel.sd(["mmm01","mmm02"],["ccc01","ccc02"],"sd01","sd02");SDmodel.sd(["mmmm01","mmmm02"],["cccc01","cccc02"],"sd01","sd02");下面是源代码: