Template:Team:Paris-Saclay/left-column
From 2012.igem.org
(Difference between revisions)
YohannPetiot (Talk | contribs) |
YohannPetiot (Talk | contribs) |
||
Line 42: | Line 42: | ||
var idxCategory = Category.lastIndexOf("/"); | var idxCategory = Category.lastIndexOf("/"); | ||
var name = Category.substring(idxCategory+1); | var name = Category.substring(idxCategory+1); | ||
- | |||
} ) | } ) | ||
}, | }, | ||
Line 60: | Line 59: | ||
action: 'query', | action: 'query', | ||
list: 'categorymembers', | list: 'categorymembers', | ||
+ | cmlimit : 'max' | ||
cmtitle: Category}, | cmtitle: Category}, | ||
dataType: "xml", // type of file you are trying to read | dataType: "xml", // type of file you are trying to read | ||
Line 67: | Line 67: | ||
var idxArticle = $(this).attr("title").lastIndexOf("/"); | var idxArticle = $(this).attr("title").lastIndexOf("/"); | ||
var Article = $(this).attr("title").substring(idxArticle+1); | var Article = $(this).attr("title").substring(idxArticle+1); | ||
- | |||
var linkArticle = "https://2012.igem.org/"+$(this).attr("title"); | var linkArticle = "https://2012.igem.org/"+$(this).attr("title"); | ||
if (linkArticle != LinkTitle){ | if (linkArticle != LinkTitle){ |
Revision as of 09:57, 26 September 2012
Follow us !