我正在创建新闻滑块,它看起来像这样
< ___________ #slideContent _______________> <#slideMenu>
┌────────────────────────────────────────────┬────────────┐
│ │<1st title> │
│ ├────────────┤
│ (Thumbnail of hovered title (1st)) │ 2nd title │
│ ├────────────┤
│ (\___/) │ 3rd title │
│ (=’.'=) ├────────────┤
│ (")_(") │ 4th title │
│ ├────────────┤
│ │ 5th title │
└────────────────────────────────────────────┴────────────┘
< > means hovered
Bunny is that article's thumbnail of hovered title. :)
这是我的代码。
<div id="slideshow">
<div id="slideContent">
<?php ???GET THUMBNAIL OF HOVERED TITLE?? ?>
</div>
<div id="slideMenu">
<div id="slideM1" class="marBo20"><?php ??GET TITLE OF LAST POST??></div>
<div id="slideM2" class="marBo20"><?php ??GET TITLE OF 2ND LAST POST??></div>
<div id="slideM3" class="marBo20"><?php ??GET TITLE OF 3RD LAST POST??></div>
<div id="slideM4" class="marBo20"><?php ??GET TITLE OF 4TH LAST POST??></div>
<div id="slideM5"><?php ??GET TITLE OF 5TH LAST POST??></div>
</div>
</div>
我不知道在#slideM1, #slideM2, #slideM3, #slideM4, #slideM5
DIV 中输入什么以及在slideContent
.
感谢您的任何帮助。:)