Subdomain Posts
JavaScript | 364 days ago
None | 474 days ago
Bash | 496 days ago
PHP | 499 days ago
HTML | 500 days ago
CSS | 500 days ago
HTML | 500 days ago
PHP | 500 days ago
HTML | 501 days ago
HTML | 501 days ago
Recent Posts
Free Subdomains
Want a pastebin.com sub-domain for your community?
learn more...
What is pastebin?
Pastebin is a website that hosts all your text & code on dedicated servers for easy sharing.
learn more...
Learn a little bit about the new Pastebin.com on our help page. hide message
By Charl van Niekerk on the 12th of Mar 2009 05:45:55 PM Download | Raw | Embed | Report
  1. var ids = array("engine-front", "masterpieces-front", "soul-front");
  2. for (var j = 0; j < ids.length; j++) {
  3.         var sfEls = document.getElementById(ids[j]).getElementsByTagName("LI");
  4.         for (var i=0; i<sfEls.length; i++) {
  5.                 sfEls[i].onmouseover=function() {
  6.                         this.className+=" sfhover";
  7.                 }
  8.                 sfEls[i].onmouseout=function() {
  9.                         this.className=this.className.replace(new RegExp(" sfhover\\b"), "");
  10.                 }
  11.         }
  12. }
Submit a correction or amendment below. Make A New Post
To highlight particular lines, prefix each line with @@
Syntax highlighting:
Post expiration:
Post exposure:
Name / Title:
Email: