多个颜色框其实我优化我的网站和我有颜色框魔女一些问题让我打电话给太多的脚本组相同的参数
我确实有这个
的jQuery(“a.Miro1”)。 colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.sofia1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.MP13')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.iframeLion')。colorbox({innerWidth:900, innerHeight:800,iframe:true}); jQuery('a.ddopa1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.AppEnt1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.smg1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.almpn1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.kickboxing1')。colorbox({innerWidth:900, innerHeight:800,iframe:true}); jQuery('a.saw01')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.sanggene1')。colorbox({innerWidth:900, innerHeight:800,iframe:true}); jQuery('a.Ucreed1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.dior1')。colorbox({innerWidth:900,innerHeight:800, iframe:true}); jQuery('a.Client')。colorbox({innerWidth:900,innerHeight:800, iframe:true});
如何将所有这一切归为一类?它们都具有相同的参数,只是不同的链接
感谢
问题太新鲜的问题;)我看到3个人建议你bassicaly相同...向所有链接添加普通类... – Peminator