Change row background color when hover in admin
5 posts
• Page 1 of 1
Change row background color when hover in admin
Hello,
In admin, all data is presented in tables. I believe that it would be nice to change the background color of the row when you hover over it.
I add this code to the admin header:
In admin, all data is presented in tables. I believe that it would be nice to change the background color of the row when you hover over it.
I add this code to the admin header:
- Code: Select all
$(function() {
$('tr').hover(function() {
$(this).find('td').css('background-color', '#f0f0f0');
},
function() {
$(this).find('td').css('background-color', '#FFFFFF');
$(this).contents('td').css('border', '1px solid #DDDDDD');
});
});
- iDesigner
- Posts: 4
- Joined: Mon Sep 12, 2011 8:46 am
Re: Change row background color when hover in admin
THank you this helps me alot
- neopet001
- Posts: 6
- Joined: Thu Nov 24, 2011 3:56 pm
Re: Change row background color when hover in admin
Hi there,
I'm completely new to this kind of thing, what file did you add this too?
Thanks
I'm completely new to this kind of thing, what file did you add this too?
Thanks
-

kidsclubhouse - Posts: 6
- Joined: Tue Dec 13, 2011 7:45 pm
- Location: Auckland, New Zealand
Re: Change row background color when hover in admin
oh and kidsclubhouse,
the file is at
\admin\view\template\common\header.tpl
the file is at
\admin\view\template\common\header.tpl
- jason3w
- Posts: 8
- Joined: Mon Jun 11, 2012 8:36 am
5 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests













