INCENDIO TEMPLATES HAUT DU FORUM. (overall_header)
Auteur
Message
Rodolfe L. Pupute
have you seen this wizard ?
hominum revelio
Messages : 42 Date d'inscription : 17/12/2013 Age : 29 Localisation : Chez ta mère qui pue la sardine en string et juste un texte pour tester le profil ta vu sinon je sais pas si ça rend bien ok nigga?
Sujet: INCENDIO TEMPLATES HAUT DU FORUM. (overall_header) Dim 5 Oct - 12:37
Spoiler:
{SITENAME_TITLE}{PAGE_TITLE}
{META_FAVICO} {META} {META_FB_LIKE}
{T_HEAD_STYLESHEET} {CSS}
// /* Definir le sens de direction en fonction du panneau admin */ var tickerDirParam = "{switch_ticker.DIRECTION}"; var slid_vert = false; var auto_dir = 'next'; var h_perso = parseInt({switch_ticker.HEIGHT});
case 'bottom': slid_vert = true; auto_dir = 'prev'; break;
case 'right': auto_dir = 'prev'; break;
default: slid_vert = true; }
$(document).ready(function() { var w_cont = $('#fa_ticker_container').width();
if (w_cont > 0) { $('#fa_ticker_container').width(w_cont);
/* Affichage de la liste */ $('#fa_ticker_content').css('display','block');
/* Calcul des dimensions du conteneur et des elements */ var width_max = $('ul#fa_ticker_content').width(); var width_item = Math.floor(width_max / {switch_ticker.SIZE}); var height_max = h_perso;
/* Calcul de la hauteur maximale du conteneur en fonction des elements et de la hauteur personnalisee dans l'admin */ $('ul#fa_ticker_content li').each( function () { if ($(this).height() > height_max) { height_max = $(this).height(); } } );
/* Redimensionnement des elements et des images trop larges */ $('ul#fa_ticker_content li').width(width_item).height(height_max).find('img').each(function () { if ($(this).width() > width_item) { var ratio = $(this).width() / width_item; var new_height = Math.round($(this).height() / ratio); $(this).height(new_height).width(width_item); } });
/* Redimensionnement et centrage du conteneur en mode vertical */ if (slid_vert) { $('ul#fa_ticker_content').width(width_item).height(height_max).css('marginLeft','auto').css('marginRight','auto'); }
Messages : 42 Date d'inscription : 17/12/2013 Age : 29 Localisation : Chez ta mère qui pue la sardine en string et juste un texte pour tester le profil ta vu sinon je sais pas si ça rend bien ok nigga?
Sujet: Re: INCENDIO TEMPLATES HAUT DU FORUM. (overall_header) Dim 5 Oct - 12:39