Advertisement
Pinkey

How to add drop down menu with picture

Dec 15th, 2012
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. Drop Down Menu (With Picture)
  2. ***********************************
  3.  
  4. FIRST: go to > customize > use custom HTML > Copy and paste the following code before </head>
  5.  
  6. <script type="text/javascript" src="http://static.tumblr.com/3ikgvxs/0TGl4zgpu/jquery.min.js"></script>
  7. <script type="text/javascript">
  8. $(document).ready(function(){
  9. $(".links_body").hide();
  10. $(".links_head").click(function(){
  11. $(this).next(".links_body").slideToggle('fast');
  12. }); }); </script>
  13. <style type="text/css">
  14. .links_list { margin:0px; padding:0px; width:100%;}
  15. .links_head { padding-top:5px; padding-bottom:5px; cursor:pointer; position:relative; margin:1px; text-align:center;}
  16. .links_body { padding:10px; text-align:left; display:none;}
  17. </style>
  18.  
  19.  
  20. _____________________________________________________________________________________________
  21.  
  22.  
  23.  
  24. LASTLY: add this code to your description, which will be the base of your links:
  25.  
  26.  
  27. <div class="links_list">
  28. <center><img src="IMG URL" class="links_head">
  29. <div class="links_body">
  30. <center>
  31. <a href="LINK URL HERE">LINK TITLE HERE</a><br>
  32. <a href="LINK URL HERE">LINK TITLE HERE</a><br>
  33. <a href="LINK URL HERE">LINK TITLE HERE</a><br>
  34. <a href="LINK URL HERE">LINK TITLE HERE</a><br>
  35. </center>
  36. </div></div>
  37.  
  38.  
  39. _______________________________________________________________________________________________
  40.  
  41.  
  42.  
  43. If you change your theme, you'll have to repeat this cycle of steps again.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement