Revision: 2067
http://mrbs.svn.sourceforge.net/mrbs/?rev=2067&view=rev
Author: cimorrison
Date: 2011-10-07 12:25:46 +0000 (Fri, 07 Oct 2011)
Log Message:
-----------
Restored highlighting of the cell in the month view when you hover over it (got
lost in the last revision)
Modified Paths:
--------------
mrbs/trunk/web/Themes/default/header.inc
mrbs/trunk/web/mrbs.css.php
Modified: mrbs/trunk/web/Themes/default/header.inc
===================================================================
--- mrbs/trunk/web/Themes/default/header.inc 2011-10-07 10:43:10 UTC (rev
2066)
+++ mrbs/trunk/web/Themes/default/header.inc 2011-10-07 12:25:46 UTC (rev
2067)
@@ -1247,11 +1247,17 @@
?>
if (lteIE6)
{
- $('table.dwm_main a.new_booking').parent().parent()
- .hover(function() {
-
$(this).not('.multiple_booking').toggleClass('hover');
-
$(this).parent().find('td.row_labels').toggleClass('row_labels_hover');
- });
+ $('#day_main, #week_main').find('a.new_booking')
+ .parent().parent()
+ .hover(function() {
+ $(this).not('.multiple_booking').toggleClass('hover');
+
$(this).parent().find('td.row_labels').toggleClass('row_labels_hover');
+ });
+ $('#month_main .valid a.new_booking')
+ .parent().parent()
+ .hover(function() {
+ $(this).toggleClass('valid_hover');
+ });
}
<?php
Modified: mrbs/trunk/web/mrbs.css.php
===================================================================
--- mrbs/trunk/web/mrbs.css.php 2011-10-07 10:43:10 UTC (rev 2066)
+++ mrbs/trunk/web/mrbs.css.php 2011-10-07 12:25:46 UTC (rev 2067)
@@ -302,14 +302,14 @@
// in the month view). However the fifth rule does have the useful effect of
highlighting the time slot that
// corresponds to the start of a booking when you hover over a booked cell.
The sixth rule provides highlighting in the month view.
//
-// The row_labels_hover class is applied by JavaScript when running IE6
because IE6 does
+// The *hover classes are applied by JavaScript when running IE6 because IE6
does
// not support the :hover pseudo class on anything other than an anchor.
?>
.dwm_main td:hover.odd_row, .dwm_main td:hover.even_row, .dwm_main td.hover
{background-color: <?php echo $row_highlight_color ?>}
.dwm_main td:hover.multiple_booking.odd_row {background-color: <?php echo
$row_odd_color ?>}
.dwm_main td:hover.multiple_booking.even_row {background-color: <?php echo
$row_even_color ?>}
.dwm_main tr:hover td.row_labels, .dwm_main td.row_labels_hover
{background-color: <?php echo $row_highlight_color ?>; color: <?php echo
$standard_font_color ?>}
-.dwm_main#month_main td:hover.valid {background-color: <?php echo
$row_highlight_color ?>}
+.dwm_main#month_main td:hover.valid, .dwm_main#month_main td.valid_hover
{background-color: <?php echo $row_highlight_color ?>}
<?php
// would be nicer to use color: inherit in the four rules below, but inherit
is not supported by IE until IE8.
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security
threats, fraudulent activity, and more. Splunk takes this data and makes
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2dcopy2
_______________________________________________
Mrbs-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mrbs-commits