confused I don't know why SandboxJavaScriptToggleImagesViaIncludePeterZumbruch is working,
confused but this doesn't
confused JavaScript itself is working, see SandboxJavaScriptSwitchImagesPeterZumbruch
confused Maybe someone else finds the reason. confused

Switch Images

<!-- %INCLUDE{"Personalpages.JavaScriptSwitchImagesPeterZumbruch"}% -->
<img     src="" 
The syntax is
     <img src="A" onclick="switchToggle(this,'A','B','C');">
Up to 9 sources can be used.

Click on the picture below and enjoy!


-- PeterZumbruch - 02 Mar 2006
Topic attachments
I Attachment Action Size Date Who Comment
onclickSwitchImage.jsjs onclickSwitchImage.js manage 2.3 K 2006-03-02 - 17:09 PeterZumbruch JavaScript for this functionality
Topic revision: r2 - 2006-08-24, PeterZumbruch
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 GSI Wiki? Send feedback
Imprint (in German)
Privacy Policy (in German)