En réponse à :
23 août 2011 13:22, par HAok SAM
Hi, Creamama !
About params...
The "orientation" can be "vertical" or "horizontal", right ? (So you wrote in comment line)
Then what is doing the below code from your plugin ? ()
switch (orientation) case ’haut’ : $(’#scrollbar’).css(’margin-top’ :’0px’) ; break ; case ’centre’ : var marge = (params.taille_englobe -params.taille_scrollbar)/2 ; $(’#scrollbar’).css(’margin-top’:marge+’px’) ; break ; case ’bas’ : var marge = params.taille_englobe -params.taille_scrollbar ; $(’#scrollbar’).css(’margin-top’:marge+’px’) ; break (...)