<script src="<?php echo $CFG->themewww .'/'. current_theme() ?>/js/jquery-latest.pack.js" type="text/javascript"></script>
-<script type="text/javascript">
+<script type="text/javascript" charset="utf-8">
/* <![CDATA[ */
var script = {
corrections: function () {
if (top.user) {
top.document.getElementsByTagName('frameset')[0].rows = "117,30%,0,200";
}
+
+ var w;
// correct sideblock width for MSIE for columns with a calender
if (window.browserIE6 !== undefined || window.browserIE7 !== undefined) {
var calendar = $('#right-column .block_calendar_month');
if (calendar.length) {
- var w = $('#right-column').width();
+ w = $('#right-column').width();
$('#right-column .sideblock').width(w);
}
calendar = $('#left-column .block_calendar_month');
$('#left-column .sideblock').width(w);
}
}
- if (window.browserIE6 !== undefined) {
- if ($('header-home')) {
- w = $('#header-home').width();
- $('#header-home .i2').width(w - 24);
- }
- if ($('header')) {
- w = $('#header').width();
- $('#header .i2').width(w - 24);
- }
- }
- if (window.browserIE7 !== undefined) {
- if ($('header-home')) {
- w = $('#header-home').width();
- $('#header-home .i2').width(w - 28);
- }
- if ($('header')) {
- w = $('#header').width();
- $('#header .i2').width(w - 24);
- }
- }
},
info: function() {