trigger <li>,get the index
compressor global.js