mirror of
https://github.com/sqlalchemy/sqlalchemy.git
synced 2026-05-09 10:20:00 -04:00
25 lines
689 B
JavaScript
25 lines
689 B
JavaScript
|
|
function togglePopbox(id, show, hide) {
|
|
var link = document.getElementById(id + "_link");
|
|
var div = document.getElementById(id + "_div");
|
|
if (div.style.display == 'block') {
|
|
div.style.display = 'none';
|
|
if (link) {
|
|
link.firstChild.nodeValue = show;
|
|
}
|
|
}
|
|
else if (div.style.display == 'none') {
|
|
div.style.display = 'block';
|
|
if (link) {
|
|
link.firstChild.nodeValue = hide;
|
|
}
|
|
}
|
|
}
|
|
|
|
function alphaApi() {
|
|
window.open("alphaapi.html", "_blank", "width=600,height=400, scrollbars=yes,resizable=yes,toolbar=no");
|
|
}
|
|
|
|
function alphaImplementation() {
|
|
window.open("alphaimplementation.html", "_blank", "width=600,height=400, scrollbars=yes,resizable=yes,toolbar=no");
|
|
} |