switchMenu(this) 去掉 this 试试!
switchMenu 所在那个js 你没有引用在页面上
引用外部js脚本
switchMenu(this)是什么意思呢?switchMenu 有这个函数么? 你没有贴js代码 还是就没有js代码呢?