You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
399 B
JavaScript

2 years ago
$(document).ready(function() {
$("#nav>li").click(function () {
$(this).siblings('li').removeClass('current');
$(this).addClass('current'); //<2F><>һ<EFBFBD><D2BB>Ԫ<EFBFBD><D4AA><EFBFBD><EFBFBD>ʾ
$(this).siblings('li').removeClass('current');
var url = $(this).children(".J_menuItem").attr('href');
$("#J_iframe").attr('src', url);
return false; //<2F><>ֹĬ<D6B9><C4AC><EFBFBD>¼<EFBFBD>
});
});