\n';
lefthtml += '
' + data[i]['subtitle'] + '
\n';
lefthtml += '
\n';
lefthtml += '
\n';
} else {
righthtml += '
\n';
righthtml += '
\n';
righthtml += '
\n';
righthtml += '
\n';
}
}
html += '
\n' + lefthtml + '
\n';
html += '
\n' + righthtml + '
\n';
return html;
}
gtset.dataset = function(){
if(!count) count = 1;
let data = (count < 6) ? partsGtData(count)['data'] : partsGtData(1)['data'];
data.pop();
return data;
}
gtset.subtopurl = function(){
if(!count) count = 1;
const text = 'ソスソスソスソスソスニ読ゑソス';
let link = '';
if(count == 1) {link = '/ait/subtop/cloud.html';}
else if(count == 2) {link = '/ait/subtop/ai.html';}
else if(count == 3) {link = '/ait/subtop/devops.html';}
else if(count == 4) {link = '/ait/subtop/security.html';}
else if(count == 5) {link = '/ait/subtop/jibun/';}
else {link = '/ait/subtop/cloud.html';}
const subtopurl = '
' + text + ''
return subtopurl;
}
gtset.htmlset = function(){
const data = gtset.dataset();
if(!data) return false;
const subtopurl = gtset.subtopurl();
gtbox.style.opacity = 1;
for(var i=0;i
\n\n' + gtset.articleset(data) + '\n
\n';
html += '' + subtopurl + '
\n\n';
return html;
}
gtset.timerset = function(){
gtbox.style.opacity = 0;
(count == 5) ? count = 1 : count++;
setTimeout(function(){gtbox.innerHTML = gtset.htmlset();},300);
}
var gtbox = document.getElementById('colBoxGT');
var gmbox = document.getElementById('colBoxGTmenu');
var gtarea = document.getElementById('GTArea');
if(count == 0){
const config = setConfig();
count = config[0];
gtbox.innerHTML = gtset.htmlset();
var timeinterval = setInterval(function(){gtset.timerset();},config[1]);
gtarea.addEventListener('mouseenter',function(){clearInterval(timeinterval);}) ;
gtarea.addEventListener('mouseleave',function(){timeinterval = setInterval(function(){gtset.timerset();},config[1]);}) ;
} else {
clearInterval(timeinterval);
gtbox.innerHTML = gtset.htmlset();
}
}
gtset(0);