I’m creating news slider and it looks like this
< ___________ #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. :)
And here is my code of it.
<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>
I don’t know what to type into the #slideM1, #slideM2, #slideM3, #slideM4, #slideM5
DIVs and what to place inside a slideContent
.
Thank you for any help. 🙂
You may need to modify this for your DIVs but here is your solution in a
<ul>
list (From WordPress Codex):Here is a DIV version from your example I’ve just made. The only thing missing is the post thumbnails: