frm按钮悬浮显示超链接样式可否修改(改变白色选择框的字体颜色 背景颜色 位置 大小等),初始化事件: var el = this.element.children(); // 获取当前控件 el.css('background', 'url(/webroot/egy/P01/首页-normal@2x.png) no-repeat 100% 100%/100% 100%'); // 默认 el.hover(function(e) { // 控件的鼠标监听 $(this).css('background','url(/webroot/egy/P01/首页-select@2x.png) no-repeat 100% 100%/100% 100%'); FR.doHyperlink(event||window.event, [{"data":"var as=arguments; return FR.tc(function(){FR.doHyperlinkByPost({\"url\":\"/webroot/decision/view/form?viewlet=EGY_FINAL%2FP00_%5B9996%5D%5B9875%5D.frm\",\"para\":{},\"target\":\"_self\",\"feature\":{\"width\":400,\"height\":400,\"isCenter\":true,\"title\":\"\"},\"title\":\"网络报表1\"})}, this, as)","name":"网络报表1"} ,{"data":"var as=arguments; return FR.tc(function(){FR.doHyperlinkByPost({\"url\":\"/webroot/decision/view/form?viewlet=EGY_FINAL%2FP00_%5B9996%5D%5B9875%5D.frm\",\"para\":{},\"target\":\"_self\",\"feature\":{\"width\":400,\"height\":400,\"isCenter\":true,\"title\":\"\"},\"title\":\"网络报表1\"})}, this, as)","name":"网络报表1"}], true) // 悬移 }, function(e) { $(this).css('background', 'url(/webroot/egy/P01/首页-normal@2x.png) no-repeat 100% 100%/100% 100%'); // 移除 }); |