Difference between revisions of "Template:China Tongji Content"
Line 237: | Line 237: | ||
function locationFirstShow(scrollTop,firstST,list,listDrop){ | function locationFirstShow(scrollTop,firstST,list,listDrop){ | ||
if( (scrollTop<firstST-78) ){ | if( (scrollTop<firstST-78) ){ | ||
− | list.css("color","# | + | list.css("color","#6D2E1A"); |
listDrop.css("display","block"); | listDrop.css("display","block"); | ||
}else{ | }else{ | ||
Line 246: | Line 246: | ||
function locationShow(scrollTop,firstST,secondST,list,listDrop){ | function locationShow(scrollTop,firstST,secondST,list,listDrop){ | ||
if( (scrollTop>=firstST-78) ){ | if( (scrollTop>=firstST-78) ){ | ||
− | list.css("color","# | + | list.css("color","#6D2E1A"); |
listDrop.css("display","block"); | listDrop.css("display","block"); | ||
if(scrollTop>=secondST-78){ | if(scrollTop>=secondST-78){ | ||
Line 258: | Line 258: | ||
function locationLastShow(scrollTop,lastST,list,listDrop){ | function locationLastShow(scrollTop,lastST,list,listDrop){ | ||
if( (scrollTop>=lastST-78) ){ | if( (scrollTop>=lastST-78) ){ | ||
− | list.css("color","# | + | list.css("color","#6D2E1A"); |
listDrop.css("display","block"); | listDrop.css("display","block"); | ||
}else{ | }else{ |
Revision as of 18:16, 16 September 2015