www.gusucode.com > 47:【198-4327】HTMNL5科技企业通用响应式网站织梦模板(自适应) > 47:【198-4327】HTMNL5科技企业通用响应式网站织梦模板(自适应)/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"); }); })