Tumblr Academy

  • FAQs
  • Useful Link
  • Saving Energy Image
  • Icons
  • Archive
banner

Sliding Dropdown Menu

 

1. Copy the code below before <style type=”text/css”>

<script src="http://static.tumblr.com/me5sfsd/1YFl414t0/jquery142.js"></script>
<script type="text/javascript"> 
$(document).ready(function () {
$('li.drawer div:nth-child(2)').hide();
$('li.drawer h4').click(function () {
if ($(this).hasClass('open')) {
$('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');}
else {
$('li.drawer div:visible:nth-child(2)').slideUp().prev().removeClass('open');
$(this).next().slideDown();
$(this).addClass('open');}
});
});
</script>

2. Copy and paste the code below before </style>

ul#drawers {width: 100px; list-style: none; margin: 0 auto; padding: 0px; border-top: 0px; color: #000;}

ul#drawers a {text-decoration: none; color: #000;}

ul#drawers li h4 {margin: 0; padding: 0px; text-transform: Camelcase; font-size: 10px; text-align: center; background-color: #363835; background: rgba(255, 255, 255, 0.0); -webkit-transition: background-color 0.2s ease-out; -moz-transition: background-color 0.2s ease-out;
transition: background-color 0.2s ease-out;}

h4.small {display: table-cell; width: 100px; margin: 0px; height: 100%;}

li.drawer h4.open {background-color: ; border-top: 0px;}

li.drawer div {padding: 0px; margin: 0px; line-height: 10px; background-color: #363835; background: rgba(255, 255, 255, 0.0);}

li.drawer div li {list-style-type: disc;}

li.drawer div ul {-webkit-padding-start: 12px;}

3. Then add this code in your description. Replace “Title / Image URL” with title or image you want to click on for the menu to slide. Replace “LINK HERE” with the link you want, “TEXT HERE” with the title of the link.

<ul >
<li class="drawer" > 
<h4>Title / Image URL</h4>
<div align="center">
<p>
<a href="LINK HERE">TEXT HERE</a>
<p>
<a href="LINK HERE">TEXT HERE</a>
<p>
<a href="LINK HERE">TEXT HERE</a>
</p>
</div>
</li>
</ul>

**add this if you want use an image:

<img src="IMAGE URL"></a>

example:

<h4><img src="http://bloggingmage.fileave.com/cerealguy.PNG"></a></h4>

Done! Good Luck :)

Source: academyoftumblr

    • #admin
    • #dropdown menu
    • #sliding dropdown menu
    • #basic
    • #sliding drop down menu with image
    • #sliding dropdown menu with image
  • 12 months ago
  • 636
  • Permalink
  • Share

636 Notes/ Hide

  1. zombiecubo liked this
  2. bluenose101 reblogged this from academyoftumblr
  3. fuckemwithmyvans0n liked this
  4. speedofwind liked this
  5. kuroi-himitsu liked this
  6. desperate--youth liked this
  7. anonyko liked this
  8. bfp1993 liked this
  9. beautiful-women-cute-men liked this
  10. chocolate-ribbons liked this
  11. html-and-etc reblogged this from academyoftumblr and added:
    Source: academyoftumblr Posted by: Mhel
  12. xiiv liked this
  13. circumlocutionlife liked this
  14. infiniitemily liked this
  15. lowerthanthehorizon liked this
  16. kite-shop reblogged this from academyoftumblr
  17. karmalized liked this
  18. lovelyagony liked this
  19. klarssslove liked this
  20. bonyuu liked this
  21. flywiththesoul liked this
  22. insideallofustheresawildthing liked this
  23. meganellyse liked this
  24. daniesmith liked this
  25. yeyechichi liked this
  26. the--wretched liked this
  27. peepeebumbumdude liked this
  28. isthisurlfuckingtaken liked this
  29. my-demise liked this
  30. n0kturnal-seas liked this
  31. jackbaracut liked this
  32. promisesofink liked this
  33. to-infinity-jay liked this
  34. damp-proofing-brighton liked this
  35. brentsuckslemons liked this
  36. herointofly liked this
  37. moanalittlelouder liked this
  38. 18issues liked this
  39. dead-horizons liked this
  40. vickeey liked this
  41. s--ummerized liked this
  42. jeffreywaaang liked this
  43. speak0fth3devilx liked this
  44. 1000h0urs liked this
  45. pureneon liked this
  46. neshaaworld liked this
  47. aboutapoisonapple liked this
  48. somematerial liked this
  49. blac-k-math liked this
  50. ideecorites liked this
  51. Show more notesLoading...
← Previous • Next →

Portrait/Logo

Tumblr Academy is a Tutorial Blog. You can find a various tutorials for your tumblr including html code, theme, useful link, tips etc.

08 confused students
hit counter





For Theme Docs
● Energy Saving Mode
● Welcome Message
● Putting A Background
● Putting A Header
● Endless Scroll
● Disable Right Click
● Fading Image
● Reblog Button On Your Post
● Cursor
● Scroll To Top Button
● Recommend Button
● Stylish Scrollbar / Scrollbar With Image
● Sparkle Link Hover
● Rainbow Link Hover
● Shaking Image
● Pop Up Ask Box/Link

For Descriptions
● Background Music
✓ Youtube Player
✓ SCM Player
✓ MixPod
✓ Streampad
● Ask Box In Description/Sidebar
● Twitter Badge
● Chat Box
●Make A Link
● Hit Counter And User Online
● Scroll Box
● Scrolling Image / Image Marquee
● Navigation Bars
● Sliding Drop Down Menu
● Sliding Drop Down Menu With Image

For Dashboard
●Missing e 1.5.7 [update]
[ ✓ Unfollower List. ✓ Follow Checker. ✓ Bookmark. ✓ Magnify. ✓ Reblog Yourself. ✓ Safe Dash. ✓ Time Stamp. ✓ Post Tumblr Crush. ✓Jump To Dash. ✓ Ask Box In Dashboard. ✓ Enlarge Tumblr Avatar. ✓ Slim Sidebar. ✓ One Click Reblog. ✓ Mass Editor Tweaks etc ]
● Dashboard / Log-in Background
● Others

Basic / For Posting
● Basic HTML Code
● Marquee
● Change URL
● Hide Following People
● Follow Yourself
● Answer Questions With Image/Gifs
● Let People Answer Your Post
● Link Tag Post
● Make A Page
Music Posting ● Number of post to show on your blog
● Enable Ask Box (for new dashboard)

Others
● Image For Saving Energy / Standby Mode
● Track Anonymous Ask
● Redirect To a New URL
●Delete Secondary Blog ● Tumblr Status
● Disable Follow Button
● Mapping Image / Image Map
● Background Layout
● Facebook Things
● Theme Recover

● Pop Up Ask Box/Link
● Sliding Drop Down Menu With Image
● Sliding Drop Down Menu
● Energy Saving Mode
● Shaking Image
● Rainbow Link Hover
● Image For Saving Energy / Standby Mode
●Make A Link
● Redirect To a New URL

Support Us
tumblracademy

tumblracademy












































SNEAKERSlicious ●
Want to be Featured here?
Click Here
I do not own all the code on this blog, i'm modify and edit some code a bit to suit for the Tumblr Theme All images for an explanation of the tutorial is copyrighted by TUMBLR ACADEMY. If you see something has been poorly credited, please TA me. Thank You.

Pages

  • FAQs
  • Useful Link
  • Saving Energy Image
  • Icons
  • RSS
  • Random
  • Archive
  • Mobile

Tumblr Academy. Effector Theme by Carlo Franco.

Powered by Tumblr

Counting Since 30 MAY 2011 free counters



CLOSE FOR NOW.

YOU CAN DROP YOUR QUESTIONS ON OUR FACEBOOK PAGE. THANK YOU