www.gusucode.com > 49:【198-3358】绿色智能家居家具类网站织梦模板(带手机端) > 49:【198-3358】绿色智能家居家具类网站织梦模板(带手机端)/member/templets/js/base.js
$(function(){ //文本框Style $(".text").mouseover(function(){ $(this).addClass("text_o"); }).mouseout(function(){ $(this).removeClass("text_o"); }).focus(function(){ $(this).addClass("text_s"); }).blur(function(){ $(this).removeClass("text_s"); }); $(".intxt").mouseover(function(){ $(this).addClass("text_o"); }).mouseout(function(){ $(this).removeClass("text_o"); }).focus(function(){ $(this).addClass("text_s"); }).blur(function(){ $(this).removeClass("text_s"); }); })