www.gusucode.com > 黑色化妆品类企业网站织梦模板(demo126) > 黑色化妆品类企业网站织梦模板(demo126)/www7/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"); }); })