erich.wanker Posted September 5, 2017 Share Posted September 5, 2017 Hello .. i tryed to give a Image a CSS-Class... MyUniImage.ClientEvents.ExtEvents.Add('beforerender=function beforerender(sender, eOpts){ sender.addClass("icon_normal");}'); and CSS: .icon_normal { border:3px solid #006400; } .icon_norma:hover { border:5px solid #006400; } but doesn.t work Has someone a Idea? ThanX Erich Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2017 Share Posted September 5, 2017 Hi Erich, It should work. What problem do you have ?! And: 1. Hello .. i tryed to give a Image a CSS-Class... MyUniImage.ClientEvents.ExtEvents.Add('beforerender=function beforerender(sender, eOpts){ sender.addClass("icon_normal");}'); Where do you use this code ?! 2. .icon_norma:hover { border:5px solid #006400; } .icon_norma:hover - incorrect .icon_normal:hover - correct Quote Link to comment Share on other sites More sharing options...
erich.wanker Posted September 5, 2017 Author Share Posted September 5, 2017 oooohhhhhh ... .icon_normal:hover - correct ... very very correct ...:-) i missed a letter ... and didnt find it .. i think, i read it 100 times ;-) now it works :-) Quote Link to comment Share on other sites More sharing options...
Sherzod Posted September 5, 2017 Share Posted September 5, 2017 *** now it works :-) Very good Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.