Monday, November 17, 2014

How to use fancyBox

Tips:
  • use this tutorial: http://fancybox.net/howto
  • if it's an image
    • if the URL of the fancyBoxed doesn't end with it's extention, e.g. .png, .jpg
      • you need to specify the image type on your js: 
        • $(document).ready(function() {
                  $(".fancybox").fancybox({type : "image"});
                  });

Monday, November 10, 2014

How to install and run QtiPlot on Linux

Download Demo/Evaluation version on this website:
http://www.qtiplot.com/download.html

For running, just execute the qtiplot executable file under the root directory
./qtiplot-0.9.8.7/qtiplot

I had the following problem. Due to x86 x64 compatibility, the library libGLU.so.1 x86 version was not installed.
./qtiplot-0.9.8.7/qtiplot: error while loading shared libraries: libGLU.so.1: cannot open shared object file: No such file or directory

To solve:
sudo apt-get install libglu1-mesa:i386 - or try to get libglu-1XXX (other version)