Post by iDesigner » Mon Sep 12, 2011 4:50 pm

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:

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');
        });
    });

Newbie

Posts

Joined
Mon Sep 12, 2011 4:46 pm

Post by neopet001 » Sat Apr 28, 2012 10:43 am

THank you this helps me alot

Newbie

Posts

Joined
Thu Nov 24, 2011 11:56 pm

Post by kidsclubhouse » Fri May 11, 2012 5:38 pm

Hi there,
I'm completely new to this kind of thing, what file did you add this too?
Thanks

User avatar
Newbie

Posts

Joined
Wed Dec 14, 2011 3:45 am
Location - Auckland, New Zealand

Post by jason3w » Fri Jun 15, 2012 12:51 pm

LEGEND!!

New member

Posts

Joined
Mon Jun 11, 2012 4:36 pm

Post by jason3w » Fri Jun 15, 2012 12:52 pm

oh and kidsclubhouse,
the file is at
\admin\view\template\common\header.tpl

New member

Posts

Joined
Mon Jun 11, 2012 4:36 pm
Who is online

Users browsing this forum: No registered users and 2 guests