GureWork > espacios de Coworking topalekuak :)
Template:@varosi > FreeMind
    Tabla de contenidos
    No hay encabezados
    // Freemind template
    //
    // make sure you place the visorFreemind.swf file where your users have permissions to access it and put the link to this file here 
    // (I think this file needs to be local to your site in order to work):
    //
    
    //@himikel mod 2010-12-15: Optimized loading local file
    var visor = '/skins/local/flash/VisorFreemind.swf';
    //var visor = 'http://developer.mindtouch.com/@api/deki/files/6745/=visorFreemind.swf';
    
    //
    // only 5 variables at the moment:
    //
    // file               : uri where the mindmap file can be found
    // collapse        1  : the number of levels to show to start with
    // bgcolour  #ffffff  : the background colour of your mindmap
    // width        100%  : the width of the mindmap on the page (write as 400 for 400px or as 100%)
    // height      400px  : the height of the mindmap on the page (write as 400 for 400px or as 100%)
    //
    // so use like this:
    //
    // {{freemind('uri to mindmap');}}
    //
    
    var file = $0 ?? $file;
    var coll = $1 ?? $collapse ?? '1';
    var bgcolour = $2 ?? $bgcolour ?? '#ffffff';
    var width = $3 ?? $width ?? '100%';
    var height = $4 ?? $height ?? '400';
    
    <head><script type="text/javascript" src=(site.uri.."skins/common/swfobject.js")> </script>;
    </head>;
    <body>
    <script type="text/javascript">"
    var flashvars = {
    openUrl:'_blank',
    initLoadFile:'"..(file).."',
    startCollapsedToLevel:'"..(coll).."'
    };
    
    var params = {
    quality:'best',
    bgcolor:'"..(bgcolour).."'
    };
    
    swfobject.embedSWF('"..(visor).."', '"..(@content).."', '"..(width).."', '"..(height).."', '9.0.0', 'expressInstall.swf', flashvars, params);
    
    "</script>;
    <div id=(@content)>
    "Flash plugin or Javascript are turned off. Activate both and reload to view the mindmap";
    </div>;
    </body>;
    
    Powered by MindTouch Core (Expired)