| 12345678910111213141516171819202122232425 |
- $(document).ready(function()
- {
- if(showLog == 1)
- {
- setInterval('showLog()', 3000);
- showLog();
- }
- $('#menu li').removeClass('active').find('a[href*=xuanxuan]').parent().addClass('active');
- });
- function showLog()
- {
- $.getJSON(createLink('im', 'showLog'), function(response)
- {
- if(response.result == 'fail')
- {
- $('#log').html(response.message);
- }
- else
- {
- $('#log').html(response.logs);
- }
- });
- }
|