Skip to content

Commit

Permalink
Version 2.1.13
Browse files Browse the repository at this point in the history
  • Loading branch information
Engelbert Niehaus committed Jan 8, 2021
1 parent efe16a5 commit cd7e41a
Show file tree
Hide file tree
Showing 3 changed files with 180 additions and 169 deletions.
2 changes: 2 additions & 0 deletions docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
//document.location.href=vURL;
window.open(vURL);
};

function callWiki2DZSlides() {
var vURL = "wiki2dzslides.html?language="+el("sWikiLanguage").value + "&domain=" + el("sWikiDomain").value;
vURL += "&title="+encodeURI(el("tTitle").value);
Expand All @@ -66,6 +67,7 @@
};

function callWikiFooter() {
console.log("Title='" + el("tTitle").value + "'");
var vURL = "wiki2reveal_footer.html?language="+el("sWikiLanguage").value + "&domain=" + el("sWikiDomain").value;
vURL += "&title="+encodeURI(el("tTitle").value);
vURL += "&author="+encodeURI(el("tAuthor").value);
Expand Down
9 changes: 9 additions & 0 deletions docs/wiki2reveal_footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -271,21 +271,27 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
if (vLinkParam.exists("title")) {
// e.g. index.html?title=Normen,_Metriken,_Topologie
vTitle= vLinkParam.getValue("title");
el("tTitle").value = vLinkParam.getValue("title");
};
//------ AUTHOR -------------------------
if (vLinkParam.exists("author")) {
// e.g. index.html?author=Engelbert_Niehaus
vAuthor = vLinkParam.getValue("author");
el("tAuthor").value = vLinkParam.getValue("author");
};
//------ COURSE NAME ---------------------
if (vLinkParam.exists("course")) {
// e.g. index.html?author=Engelbert_Niehaus
vAuthor = vLinkParam.getValue("course");
el("tAuthor").value = vLinkParam.getValue("course");
};
//------CALC SHORT TiTLE --------------------------
vShortTitle = getShortTitle(vTitle);
//------ SLIDETYPE -----------------------
if (vLinkParam.exists("slidetype")) {
// e.g. index.html?author=Engelbert_Niehaus
vSlideType = vLinkParam.getValue("slidetype");
el("sSlideType").value = vLinkParam.getValue("slidetype");
};
//------ DEMO -------------------------
if (vLinkParam.exists("demo")) {
Expand All @@ -299,17 +305,20 @@ <h3>Footer Creator for Wiki2Reveal Presentation:</h3>
if (vLinkParam.exists("language")) {
// e.g. index.html?language=de
vLanguage = vLinkParam.getValue("language");
el("sWikiLanguage").value = vLinkParam.getValue("language");
};
//------ DOMAIN ------------------------
if (vLinkParam.exists("domain")) {
// e.g. index.html?domain=wikipedia
vDomain = vLinkParam.getValue("domain");
el("sWikiDomain").value = vLinkParam.getValue("domain");
vDomainName = firstUpperCase(vDomain);
};
//------ AUDIO SLIDE ------------------------
if (vLinkParam.exists("audioslide")) {
// e.g. index.html?domain=wikipedia
vAudioSlide = vLinkParam.getValue("audioslide");
el("sAudioSlide").value = vLinkParam.getValue("audioslide");
};
//--------------------------------------
function createFooter() {
Expand Down

0 comments on commit cd7e41a

Please sign in to comment.