www.gusucode.com > 【S99】HTML5响应式自适应网络公司品牌推广公司企业网站织梦模板 > 【S99】HTML5响应式自适应网络公司品牌推广公司企业网站织梦模板/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"); }); })