[xwiki-users] GeoGebra's applet
Hello! I want to use the Xwiki Enterprise to display Geogebra's applets. On this page http://geogebra.normala.hr/xwiki/bin/view/Main/Applet you can see an applet. Page calls file from attachment, and executable geogebra.jar file from other folder. On page is HTML code by which it works applet. Please, can you help someone create a macro to simplify the procedure. I thank in advance, Sime Suljic
Hello! In edit mode of Xwiki, is it possible to add one more (special) session, such as help panel for Xwiki syntax for my specific needs? Of course, I beg you, and how? All the best Sime S.
Sime Suljic wrote:
Hello! In edit mode of Xwiki, is it possible to add one more (special) session, such as help panel for Xwiki syntax for my specific needs? Of course, I beg you, and how?
Yes, edit editpanelsvars.vm from your skin and change the variables in there. -- Sergiu Dumitriu http://purl.org/net/sergiu/
Sime, Could you please add this to a FAQ entry on xwiki.org? Thanks -Vincent On Sep 12, 2008, at 1:03 AM, Sergiu Dumitriu wrote:
Sime Suljic wrote:
Hello! In edit mode of Xwiki, is it possible to add one more (special) session, such as help panel for Xwiki syntax for my specific needs? Of course, I beg you, and how?
Yes, edit editpanelsvars.vm from your skin and change the variables in there.
-- Sergiu Dumitriu http://purl.org/net/sergiu/
I want to use the Xwiki Enterprise to display Geogebra's applets. ... can you help me create a macro ...
GeoGebra is a free and multi-platform dynamic mathematics software for schools that joins geometry, algebra and calculus. This piece of software is very popular, as the other new European portal for Geometry is based on the platform Xwiki (http://i2geo.net/xwiki/bin/view/Main/WebHome). I think it is useful to have a macro command for Geogebra and I managed to do it. You can see the result here http://apleti.normala.hr/xwiki/bin/view/Sandbox/GgbMakro. However, as I am not a programmer may still be at optimizing. You can see a macro command below. best regards Sime S. #macro(geogebra $filename $width $height $frame $reset $zoom $menu $tool $help $input $border) #if(!$width) #set($width="700") #end #if(!$height) #set($height="550") #end #if($frame=="0") #set($frame="false") #else #set($frame="true") #end #if($reset=="0") #set($reset="false") #else #set($reset="true") #end #if($zoom=="0") #set($zoom="false") #else #set($zoom="true") #end #if($menu=="1") #set($menu="true") #else #set($menu="false") #end #if($tool=="1") #set($tool="true") #else #set($tool="false") #end #if($help=="1") #set($help="true") #else #set($help="false") #end #if($input=="1") #set($input="true") #else #set($input="false") #end #if(!$border) #set($width="#f0f0f0") #end <applet name="ggbApplet" code="geogebra.GeoGebraApplet" codebase="http://www.yourServerName.com/xwiki/bin/download" archive="../../geogebra/geogebra.jar" width="${width}" height="${height}"> <param name="filename" value="$doc.space/$doc.name/$filename"> <param name="framePossible" value="$frame"> <param name="showResetIcon" value="$reset"> <param name="enableRightClick" value="$click"> <param name="enableShiftDragZoom" value="$zoom"> <param name="showMenuBar" value="$menu"> <param name="showToolBar" value="$tool"> <param name="showToolBarHelp" value="$help"> <param name="showAlgebraInput" value="$input"> <param name="borderColor" value="$border"> Sorry, the GeoGebra Applet could not be started. Please make sure that Java 1.4.2 (or later) is installed and active in your browser (<a href="http://java.sun.com/getjava">Click here to install Java now</a>) </applet> #end
participants (3)
-
Sergiu Dumitriu -
Sime Suljic -
Vincent Massol