• 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 ;)


 

Commenti  

 
#1 Warren 2015-02-28 02:22 Good post. I'm experiencing many of these iesues as well.. Citazione
 
 
#2 Giganetwebhosting 2015-08-27 04:56 Your style is really unique in comparison to other folks I've read stuff from.
Thank you for posting when you have the opportunity, Guess I'll just bookmark this blog.
Citazione
 
 
#3 giganetwebhosting. 2015-09-26 07:39 Very good post. I am experiencing some of these issues as well.. Citazione
 
 
#4 Shared Web hosting 2015-09-30 10:06 I’m not that much of a internet reader to be honest but your blogs really nice, keep iit up!
I'll go ahead and bookmark your website to come
back later. Many thanks
Citazione
 

Aggiungi commento


Codice di sicurezza
Aggiorna


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