Нужно выпадающее меню с контентом форума:
ВИЗИТ
Вот скрипт:
HTML верх
<style> div.splLink {width: 130px; height: 40px; border: 2px solid #FFD700; background: #FFFFCC; text-align: center; font-family: Comic Sans Ms; font-size: 15px; padding: 5px;} .spll {width: 130px; height: 70px; } .spll div.splCont {height: auto; width: 300px; background: url(https://forumupload.ru/uploads/0003/83/96/1556-1.png); padding: 5px; z-index: 1000; margin-top: 0px; border: 2px solid #FFD700; font-size: 12px; font-family: Microsoft Sans Serif; text-align: center;} </style> <script type="text/javascript" src="http://szenprogs.ru/scripts/jquery-1.3.2.js"></script> <center> <table style="width: 90%"> <tr> <td> <div class="spll"> <div class="splLink"><img src='путь до картинки'> </div> <div style="DISPLAY: none; position: absolute;" class="splCont" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div> </td> <td> <div class="spll"> <div class="splLink"><img src='путь до картинки'> </div> <div style="DISPLAY: none; position: absolute;" class="splCont" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div> </td> <td> <div class="spll"> <div class="splLink"> <img src='путь до картинки'> </div> <div style="DISPLAY: none; position: absolute;" class="splCont" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div> </td> <td> <div class="spll"> <div class="splLink"><img src='путь до картинки'> </div> <div style="DISPLAY: none; position: absolute;" class="splCont" > Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum. </div> </div> </td> </tr> </table> </center>
HTML низ
<script type="text/javascript"> $(document).ready(function(){ $('.splLink').parent().hover(function(){ $(this).children('div.splCont').toggle('normal'); }, function(){ $(this).children('div.splCont').toggle('normal'); }); }); </script>
Огромная просьба...
Теги: Меню для своего форума (составить готовый скрипт)