Diff for Metafox/libpub/calendar/calendar1.js between version 1.2 and 1.3
| version 1.2, 2010/11/02 08:54:01 |
version 1.3, 2010/12/10 14:30:27 |
|
|
| document.getElementById(popup_div).style.visibility='visible'; |
document.getElementById(popup_div).style.visibility='visible'; |
| // document.getElementById(popup_div).style.left=posX+'px'; |
// document.getElementById(popup_div).style.left=posX+'px'; |
| // document.getElementById(popup_div).style.top=posY+'px'; |
// document.getElementById(popup_div).style.top=posY+'px'; |
| document.getElementById(popup_div).style.marginLeft=posX+'px'; |
|
| document.getElementById(popup_div).style.marginTop=posY+'px'; |
|
| |
|
| |
|
| document.getElementById(popup_div).innerHTML=document.getElementById('data_'+cellDay).innerHTML; |
document.getElementById(popup_div).innerHTML=document.getElementById('data_'+cellDay).innerHTML; |
| |
|
| |
var popup_display = "right"; |
| |
if ((typeof( window['calendar_popup_display'] ) != "undefined") |
| |
&& (calendar_popup_display.length > 0)) |
| |
{ |
| |
popup_display = calendar_popup_display; |
| |
} |
| |
|
| |
var leftShow = 0; |
| |
switch (popup_display) { |
| |
case 'left': |
| |
leftShow = document.getElementById(popup_div).offsetWidth; |
| |
posX -= leftShow; // odpocita sirku popup okna |
| |
posX += obj.offsetWidth + 20; // pripocita sirku okienka dna + rezerva |
| |
break; |
| |
} |
| |
|
| |
document.getElementById(popup_div).style.marginLeft=posX+'px'; |
| |
document.getElementById(popup_div).style.marginTop=posY+'px'; |
| |
|
| |
|
| |
|
| } |
} |
| |
|
| function hiddenPopup(popup) { |
function hiddenPopup(popup) { |
Platon Group <platon@platon.org> http://platon.org/
|
|