• Meetings e Workshop
    l'associazione organizza workshop e meeting periodici

  • HowTo e manuali
    come costruire da te gadget elettronici e come programmarli

  • Hacking della PS3
    howto su come installare linux ed effettuare altri hack

  • Una comunità organizzata
    entra a far parte di una associazione organizzata e attiva

  • Strumenti di supporto
    per mantenersi in contatto e favorire la cooperazione

intermediate - jBgallery 2.0, add random image loading - UPDATED PDF Stampa E-mail
Scritto da Carlo Denaro - Blackout   
Carlo Denaro - Blackout

Hi there. I'm add a nice feature in jBgallery 2.0 beta by Massimiliano Balestrieri.

 

 

The mod for RANDOMIZE

In row number 42 i've add a config parameter:

randomize   : true, //RANDOMIZE - blackout: http://www.grayhats.org

and after Interface approx in row 293

 jBGallery.Interface = function(el, data, options){
//RANDOM LOAD - blackout: http://www.grayhats.org
 if( options.randomize==true )
 {
 options.current = Math.ceil(data.length*Math.random());
 if( options.current > data.length || options.current==0 )
 options.current = 1;
 }
 // -- RANDOM LOAD - blackout: http://www.grayhats.org

;-) enjoy open source

Files

jbgallery-2.0 modded

Website

http://code.google.com/p/jbgallery/ - commit add in google code rep ;)


 

Aggiungi commento


Codice di sicurezza
Aggiorna


grayhats.org, Powered by Joomla!; Joomla templates by SG web hosting
valid xhtml valid css