TrackMania Teams - Gestion de teams (équipes) pour le jeu TrackMania

Chargement de TM Teams... Login / Inscrip.
Suivez TM Teams sur Google+ Suivez TM Teams sur Twitter Trackmania Teams est sur Facebook

SImple Code, for "Noobs" (don't take it badly)

Just Copy this code then paste it where you would like the widget to be shown


<script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>
<link href="http://www.tm-teams.com/Css/widget/team.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="http://www.tm-teams.com/js/widget/team.js" ></script>
<script>
$(document).ready(function() {
        $("#tmteams_widgetdemo").getTmTeams_WidgetTeam(
            {
                teamId :1,
                width :"100%"
            }
        );
    });
</script>
<!--Le widget s'afichera a l'interieur de cette balise.-->
<div id="tmteams_widgetdemo"> </div>

Javascript Code


<script type="text/javascript" src="js/widget/team.js" ></script>
<script>
    $(document).ready(function() {
        $("#tmteams_widgetdemo").getTmTeams_WidgetTeam(
            {
                teamId :1,
                width :"100%"
            }
        );
    });
</script>
<!--Le widget s'afichera a l'interieur de cette balise.-->
<div id="tmteams_widgetdemo"> </div>

Options

  • teamId : Null
        The id of the team
    _
  • showgames : 'true'
        $lang_texte.title_tab1_jsopt.showgames}
    _
  • showplayers : 'true'
        Show Teams player list
    _
  • shownickname : 'true'
        Should we show nicknames instead of logins
    _
  • showlogin : 'true'
        If nicknames are shown this option will allow you to show the login next to it. This allows you yo show login and nickname at the same time
    _
  • showtransfers : 'true'
        Show the list of Transfers done by the Team
    _
  • maxtransfers : 0
        How many transfer should be shown. (0 means that it will be limited by the server)
    _
  • width : '250px'
        Width of the widget.(Exemple : 100% or 300px
    _
  • slideIn : 'true'
        Activate or Deactivate SlideIn Effect

The Default Css file to use

If you don't want to bother you can use this CSS file. YOu also can modify it and use your own
Url : www.tm-teams.com/Css/widget/team.css

Code To include the CSS :
<link href="http://www.tm-teams.com/Css/widget/team.css" rel="stylesheet" type="text/css" />

Adding JQuery /!\Important

The Tm-Teams widget needs Jquery to work. If your website doesen't use Jquery you will need to add it.

Add JQuery : <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.0/jquery.min.js" type="text/javascript"></script>

Why do we use JQuery : This allows us to build a widget that is compatible witt all the browsers without having to much trouble. It also allows you to use the CSS file you desire. If You don't like this you can code your own WIdget. The tm-teams API is open. //L'Appi ...

Coming Soon

Home - Search - Transfers - My Teams - New Team - Légal Mentions

© Amirouche Halfaoui & Oliver De Cramer