Advertisement
paigeh987

ADDING A 5th DROP-DOWN MENU - THEME 15

Aug 18th, 2014
470
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.81 KB | None | 0 0
  1. ADDING ANOTHER DROP-DOWN MENU TO THEME 15
  2.  
  3.  
  4. 1. Find this part of the code:
  5.  
  6. <meta name="text:dropdown4 Title" content="" />
  7.  
  8.  
  9. and paste this code directly underneath it:
  10.  
  11. <meta name="text:dropdown5 Title" content="" />
  12.  
  13.  
  14.  
  15. 2. find this part of the code:
  16.  
  17. <script>
  18. $(document).ready(function(){
  19.  
  20. $(".slidingDiv4").hide();
  21. $(".show_hide4").show();
  22.  
  23. $('.show_hide4').toggle(function(){
  24. $(".slidingDiv4").slideDown(
  25. function(){
  26. $("#navigation").text("navigation")
  27. }
  28. );
  29. },function(){
  30. $(".slidingDiv4").slideUp(
  31. function(){
  32. $("#navigation").text("navigation")
  33. }
  34. );
  35. });
  36. });
  37. </script>
  38.  
  39.  
  40. and paste this underneath it:
  41.  
  42. <script>
  43. $(document).ready(function(){
  44.  
  45. $(".slidingDiv5").hide();
  46. $(".show_hide5").show();
  47.  
  48. $('.show_hide5').toggle(function(){
  49. $(".slidingDiv5").slideDown(
  50. function(){
  51. $("#navigation").text("navigation")
  52. }
  53. );
  54. },function(){
  55. $(".slidingDiv5").slideUp(
  56. function(){
  57. $("#navigation").text("navigation")
  58. }
  59. );
  60. });
  61. });
  62. </script>
  63.  
  64.  
  65.  
  66.  
  67. 3. find this part of the code:
  68.  
  69. {block:Ifdropdown4title}
  70. <div class="dropdown">
  71. <a href="#" class="show_hide4">
  72. <div class="dropdowntitle">{text:dropdown4 Title}</div></a>
  73. <div class="slidingDiv4">
  74. <div class="dropdowntext">
  75.  
  76. <!-- -------------------------------------------------------------- -->
  77. <!-- ------------------ FOURTH TAB CONTENT HERE ------------------- -->
  78. <!-- -------------------------------------------------------------- -->
  79.  
  80. last one.
  81.  
  82. <!-- -------------------------------------------------------------- -->
  83. <!-- --------------------------- end ------------------------------ -->
  84. <!-- -------------------------------------------------------------- -->
  85.  
  86. </div></div></div>
  87. {/block:Ifdropdown4title}
  88.  
  89.  
  90.  
  91. and paste this under it:
  92.  
  93. {block:Ifdropdown5title}
  94. <div class="dropdown">
  95. <a href="#" class="show_hide5">
  96. <div class="dropdowntitle">{text:dropdown5 Title}</div></a>
  97. <div class="slidingDiv5">
  98. <div class="dropdowntext">
  99.  
  100. <!-- -------------------------------------------------------------- -->
  101. <!-- ------------------ FIFTH TAB CONTENT HERE ------------------- -->
  102. <!-- -------------------------------------------------------------- -->
  103.  
  104. last one.
  105.  
  106. <!-- -------------------------------------------------------------- -->
  107. <!-- --------------------------- end ------------------------------ -->
  108. <!-- -------------------------------------------------------------- -->
  109.  
  110. </div></div></div>
  111. {/block:Ifdropdown5title}
  112.  
  113.  
  114.  
  115.  
  116.  
  117. 4. find this part or the code:
  118.  
  119. .show_hide4 {
  120. display:none;
  121. }
  122.  
  123.  
  124. and paste his under it:
  125.  
  126. .show_hide5 {
  127. display:none;
  128. }
  129.  
  130.  
  131. THE END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement