Roland Haeder
2e18a053bb
- moved JS of Raphael (seems to be a lib?) to own sub folder - removed redundant jquery-1.4.2.min.js - added version number to almost all JS files (see cache-busting) Signed-off-by: Roland Haeder <roland@mxchange.org>
32 lines
757 B
JavaScript
32 lines
757 B
JavaScript
|
|
function openClose(theID) {
|
|
if (document.getElementById(theID).style.display == "block") {
|
|
document.getElementById(theID).style.display = "none"
|
|
} else {
|
|
document.getElementById(theID).style.display = "block"
|
|
}
|
|
}
|
|
|
|
function openMenu(theID) {
|
|
document.getElementById(theID).style.display = "block"
|
|
}
|
|
|
|
function closeMenu(theID) {
|
|
document.getElementById(theID).style.display = "none"
|
|
}
|
|
|
|
function commentOpen(obj,id) {
|
|
if (obj.value == 'Comment') {
|
|
obj.value = '';
|
|
obj.className = "comment-edit-text-full";
|
|
openMenu("comment-edit-submit-wrapper-" + id);
|
|
}
|
|
}
|
|
|
|
function commentClose(obj,id) {
|
|
if (obj.value == '') {
|
|
obj.value = 'Comment';
|
|
obj.className="comment-edit-text-empty";
|
|
closeMenu("comment-edit-submit-wrapper-" + id);
|
|
}
|
|
}
|