$(function(){ GoSwitch = function(a){ $(".layout").removeClass("check"); $("#"+this.rel).addClass("check"); };});
js:
div.layout { z-index:0;position:position; }.check { z-index:1 }
css:
点我 flash或者随便放啥 点我 flash或者随便放啥
html:
借花献佛,很臃肿的代码,不过可以实现你要的功能。