The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
[VB Question]Button Placement....
Ok im new to the DHTML, and i made these drop down buttons etc... now i need to know where i place them........ i figured in Sytle>Modify>Colors etc> then go to header where the buttons etc are located... however ive tried putting it in various places and im not getting good results... so here is the code..
<html> <head> <style> body{font-family:tahoma;} table{font-size:75%;background:777777} a{color:white;text-decoration:none;font:bold} a:hover{color:#cc0000} td.menu{background:#999999} table.menu { font-size:100%; position:absolute; visibility:hidden; } </style> <script type="text/javascript"> function showmenu(elmnt) { document.all(elmnt).style.visibility="visible" } function hidemenu(elmnt) { document.all(elmnt).style.visibility="hidden" } </script> </head> <body> <table width="125%"> <tr bgcolor="#777777"> <td onmouseover="showmenu('control panel')" onmouseout="hidemenu('control panel')"> <a href="usercp.php?s=$session[sessionhash]">Control Panel</a><br /> <table class="menu" id="control panel" width="100%"> <tr><td class="menu"><a href="register.php?s=$session[sessionhash]&action=signup">Register</a></td></tr> <tr><td class="menu"><a href="misc.php?s=$session[sessionhash]&action=faq">Help</a></td></tr> <tr><td class="menu"><a href="search.php?s=$session[sessionhash]">Search</a></td></tr> <tr><td class="menu"><a href="index.php?s=$session[sessionhash]">Home</a></td></tr> <tr><td class="menu"><a href="member.php?s=$session[sessionhash]&action=logout">Logout</a></td></tr> </table> </td> <td onmouseover="showmenu('events')" onmouseout="hidemenu('events')"> <a href="/ahh.com">Events</a><br /> <table class="menu" id="events" width="100%"> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> </table> </td> <td onmouseover="showmenu('artist')" onmouseout="hidemenu('artist')"> <a href="/site/site_validate.asp">Artist</a><br /> <table class="menu" id="artist" width="100%"> <tr><td class="menu"><a href="/ahh.com">None Yet</a></td></tr> <tr><td class="menu"><a href="/ahh.com">None Yet</a></td></tr> <tr><td class="menu"><a href="/ahh.com">None Yet</a></td></tr> <tr><td class="menu"><a href="/ahh.com">None Yet</a></td></tr> <tr><td class="menu"><a href="/ahh.com">None Yet</a></td></tr> </table> </td> <td onmouseover="showmenu('Affiliates')" onmouseout="hidemenu('Affiliates')"> <a href="/ahh.com">Affiliates</a><br /> <table class="menu" id="affiliates" width="100%"> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> <tr><td class="menu"><a href="/ahh.com">Coming</a></td></tr> </table> </td> </tr> </table> </body> </html> AND HERE IS THE VB HEADER CODE... <!-- logo and buttons --> <center> <table border="0" width="{tablewidth}" cellpadding="0" cellspacing="0"> <tr> <td valign="top" align="left" background="{imagesfolder}/menu_background.gif"><a href="index.php?s=$session[sessionhash]"><img src="{titleimage}" border="0" alt="$bbtitle"></a></td> <td valign="bottom" align="right" nowrap background="{imagesfolder}/menu_background.gif"> <!-- toplinks --> <a href="usercp.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_profile.gif" alt="Here you can view your subscribed threads, work with private messages and edit your profile and preferences" border="0"></a> <a href="register.php?s=$session[sessionhash]&action=signup"><img src="{imagesfolder}/top_register.gif" alt="Registration is free!" border="0"></a> <a href="calendar.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_calendar.gif" alt="Calendar" border="0"></a> <a href="memberlist.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_members.gif" alt="Find other members" border="0"></a> <a href="misc.php?s=$session[sessionhash]&action=faq"><img src="{imagesfolder}/top_faq.gif" alt="Frequently Asked Questions" border="0"></a> <a href="search.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_search.gif" alt="Search" border="0"></a> <a href="index.php?s=$session[sessionhash]"><img src="{imagesfolder}/top_home.gif" alt="Home" border="0"></a> <!-- <a href="member.php?s=$session[sessionhash]&action=logout"><img src="{imagesfolder}/top_logout.gif" alt="Logout" border="0"></a> --> <!-- /toplinks --> </td> </tr> </table> <!-- /logo and buttons --> <!-- content table --> <table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="10" cellspacing="0" border="0"> <tr> <td> CAN SOMEONE PLEASE TELL ME WHERE I WOULD PLACE THE DHTML DROP DOWN CODE? THANKS IN ADVANCE. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|