Difference: SandboxJavaScriptToggleImagesPeterZumbruch (r3 vs. r2)

Toggle Images

This JavaScript-function (by Simon Lang) enables you to switch between 2 different sizes of a picture , toggled by a click:


The syntax is


Instead of using an external adress outside the Wiki Simon suggests to use the %INCLUDE{...}% feature by putting the JavaScript Code into an own page an reference this via %INCLUDE{...}%

Following this idea JavaScriptToggleImages JavaScriptToggleImagesPeterZumbruch contains now the code fragment which is now included via %INCLUDE{...}% . Using this method you will find in this new topic SandboxJavaScriptToggleImagesViaIncludePeterZumbruch.

Click on the picture below and enjoy!


-- PeterZumbruch - 02 Mar 2006

onclickZoomImage.jsjsonclickZoomImage.jsmanage 0.4 K 01 Mar 2006 - 18:03PeterZumbruch JavaScript source for zoomToogle

View topic | View difference side by side | History: r3 < r2 < r1 | More topic actions
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Hades Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)