diff --git a/Builder/IISMainHandler/build.txt b/Builder/IISMainHandler/build.txt index 880a8fb..91530ab 100644 --- a/Builder/IISMainHandler/build.txt +++ b/Builder/IISMainHandler/build.txt @@ -1 +1 @@ -1305 \ No newline at end of file +1313 \ No newline at end of file diff --git a/static/images/machichara/simple/hexsex.gif b/static/images/machichara/simple/hexsex.gif new file mode 100644 index 0000000..fddb018 Binary files /dev/null and b/static/images/machichara/simple/hexsex.gif differ diff --git a/static/js/machichara/simple.js b/static/js/machichara/simple.js new file mode 100644 index 0000000..3d7ba19 --- /dev/null +++ b/static/js/machichara/simple.js @@ -0,0 +1,22 @@ + +function simpleMachicharaUpdate(element) { + element.style.top = Math.floor(Math.random()*110 - 10) + "%"; + element.style.left = Math.floor(Math.random()*110 - 10) + "%"; + window.setTimeout(function() { + simpleMachicharaUpdate(element); + }, 5000+Math.floor(Math.random()*25000)); +} + +function simpleMachichara(imageUrl) { + var machicharaSimpleElement = document.createElement("div"); + machicharaSimpleElement.zIndex = 1000; + machicharaSimpleElement.style.position = "absolute"; + machicharaSimpleElement.style.top = "50%"; + machicharaSimpleElement.style.left = "50%"; + document.body.appendChild(machicharaSimpleElement); + var machicharaSimpleImageElement = document.createElement("img"); + machicharaSimpleImageElement.src = imageUrl; + machicharaSimpleImageElement.style.border = "none"; + machicharaSimpleElement.appendChild(machicharaSimpleImageElement); + simpleMachicharaUpdate(machicharaSimpleElement); +} \ No newline at end of file diff --git a/templates/Full/elems/Main.xslt b/templates/Full/elems/Main.xslt index adf4782..66d86e5 100644 --- a/templates/Full/elems/Main.xslt +++ b/templates/Full/elems/Main.xslt @@ -11,6 +11,7 @@ + <xsl:call-template name="specificTitle"/> <xsl:text> - </xsl:text> @@ -18,6 +19,7 @@ + simpleMachichara("/static/images/machichara/simple/hexsex.gif");