jolaaloj

Hover Title Tutorial (QTip)

Mar 10th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.34 KB | None | 0 0
  1. Hover Tutorial (QTip) Tutorial.
  2. Level: EASY!
  3. Tutorial by: urbanclique
  4. Disclaimer: I don't own any copyrights to the coding. Credits to the respective owner(s) or maker(s).
  5. -------------------------
  6. STEP ONE:
  7. Paste this code UNDER the <head> tag of your theme.
  8.  
  9. <script language="JavaScript" src="http://dl.dropbox.com/u/3173073/GothicDarkness/qTip.js" type="text/JavaScript"></script>
  10. <script>function changeNavigation(id) {document.getElementById('default').innerHTML=document.getElementById(id).innerHTML}</script>
  11.  
  12. -------------------------
  13. STEP TWO:
  14. Paste the code below UNDER the <style type="text/css">, and remember to edit it to your liking!
  15.  
  16. #qTip {
  17. display: none;
  18. background: #bbccdd;
  19. color: #FFF;
  20. padding: 2px 4px;
  21. font-family: arial;
  22. font-size: 9px;
  23. text-transform: none;
  24. border-radius: 0px;
  25. border: 0px dotted #fff;
  26. z-index: 99999;
  27. position: absolute;
  28. }
  29.  
  30. -------------------------
  31. STEP THREE:
  32. Now you're almost done! All you need to do now is to put a title on your links.
  33. Usually the links go like this (<a href="/">link name</a>) but in order for this
  34. tutorial to work you're going to have to put a title on your links like so:
  35.  
  36. <a href="/" title="TITLE PUT WHATEVER YOU WANT HERE"> home </a>
  37.  
  38. and that's it! You're done.
  39. -------------------------------
  40. END OF TUTORIAL
  41. -------------------------------
Advertisement
Add Comment
Please, Sign In to add comment