我有一些滚动菜单,例如:
<div id="panel" class="scroller">
<div class="scroller-view" style = left:-100>
<span class="item "></span>
<a href="/123" class="item" style=""><img src="/images.png">123</span></a>
<a href="/456" class="item" style=""><img src="/images1.png">456</span></a>
<a href="/789" class="item" style=""><img src="/images2.png">789</span></a>
</div>
</div>
我在 style = left:change from 0 to -300
加载其他类时需要:
when left:0 load class 123;
when left :-100 load class 456;
when left :-285 load class 789;
我如何用 c# 做到这一点?