diff --git a/docs/index.html b/docs/index.html index 98afaf2..cf63ed3 100644 --- a/docs/index.html +++ b/docs/index.html @@ -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); @@ -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); diff --git a/docs/wiki2reveal_footer.html b/docs/wiki2reveal_footer.html index f136faa..be71836 100644 --- a/docs/wiki2reveal_footer.html +++ b/docs/wiki2reveal_footer.html @@ -271,21 +271,27 @@

Footer Creator for Wiki2Reveal Presentation:

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")) { @@ -299,17 +305,20 @@

Footer Creator for Wiki2Reveal Presentation:

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() { diff --git a/docs/wiki2reveal_link.html b/docs/wiki2reveal_link.html index f136faa..184af43 100644 --- a/docs/wiki2reveal_link.html +++ b/docs/wiki2reveal_link.html @@ -3,7 +3,7 @@ - Wiki2Reveal Footer + Wiki2Reveal Link @@ -20,9 +20,10 @@ //--------------------------------------- //------DEFAULT VALUES------------------- //--------------------------------------- - var vTitle = "Normen, Metriken, Topologie"; + var vTitle = "Kurs:Funktionentheorie/Potenzreihe"; var vShortTitle ="undefined"; var vAuthor = "Kurs:Funktionentheorie"; + var vShortTitle ="undefined"; var vLanguage = "de"; var vDomain = "wikiversity"; var vDomainName = "Wikiversity"; @@ -48,126 +49,129 @@ el("wikiid").value = el("sWikiLanguage").value + el("sWikiDomain").value }; - + + + - -

- Generator for Wiki Footer - Version: 2.1.13 + +

-
- -
- - - - + + + + + + + + +
- Wiki Domain - - +
+ +
+ + + - - - - - - - - - - + + + - - + + - -
+ Wiki Domain
- Article - - -
- Course/Author - - -
- Audio Slides + +
+ Article - - +
- Language + Course/Author - +
-

Footer Creator for Wiki2Reveal Presentation:

+
+ Audio Slides + + + +
+ Language + + +
+
+

Remark:

Copy the link in the textbox below into your course page: -
- +
Footer Wiki Source EN:
- Footer Wiki Source DE:
Footer Wiki Source FR:
Footer Wiki Source ES:
+ + +