Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: new feature, code tags get added [download] link

by Anonymous Monk
on Aug 22, 2009 at 10:52 UTC ( #790557=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    // ==UserScript==
    // @name           hide [download] links for class embed-code-dl 
    ...
        }
    }
    toggleDisplay("div","embed-code-dl");
    
  2. or download this
    <a href="javascript:(function()%7B%20%20function%20toggleDisplay(t,c)%
    +7Bvar%20e=document.getElementsByTagName(t);for(var%20i=0;i%3Ce.length
    +;i++)%7Bif(c)%7Bif(e%5Bi%5D.className==c)%7Be%5Bi%5D.style.display=e%
    +5Bi%5D.style.display==%22none%22?%22inherit%22:%22none%22;%7D%7Delse%
    +7Be%5Bi%5D.style.display=e%5Bi%5D.style.display==%22none%22?%22inheri
    +t%22:%22none%22;%7D%7D%7DtoggleDisplay(%22div%22,%22embed-code-dl%22)
    +;%20%20%7D)()">togDisDL</a>
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://790557]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (4)
As of 2016-10-01 23:15 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?






    Results (9 votes). Check out past polls.