Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^2: Free Nodelet hack: Syntax colouring (THX!)

by Corion (Pope)
on Aug 31, 2009 at 07:10 UTC ( #792313=note: print w/ replies, xml ) Need Help??


in reply to Re: Free Nodelet hack: Syntax colouring (THX!)
in thread Free Nodelet hack: Syntax colouring

There is no "+" in the code if you use the "[download code]" link instead of cut'n'paste. Alternatively, you can edit your user settings and disable code wrapping, if you want to cut and paste, but that will lead to widened pages.


Comment on Re^2: Free Nodelet hack: Syntax colouring (THX!)
Download Code
Re^3: Free Nodelet hack: Syntax colouring (THX!)
by Anonymous Monk on Aug 31, 2009 at 08:18 UTC
    That can be easily fixed with CSS overflow: auto;, you get horizontal scrolling bar instead of wide pages.
Re^3: Free Nodelet hack: Syntax colouring (THX!)
by LanX (Canon) on Aug 31, 2009 at 09:46 UTC
    I know all of this, but do beginners, too???

    A simple return to break the script-tag into two lines and you may double the number of users...

    Strange, you as a MS fan should care about brainless users ... ;-D

    Cheers Rolf

    update:

    <script> var headID = document.getElementsByTagName("head")`[0`]; var cssNode = document.createElement('link'); cssNode.type = 'text/css'; cssNode.rel = 'stylesheet'; cssNode.href = 'http://datenzoo.de/pub/prettify-jaap.css'; cssNode.media = 'screen'; headID.appendChild(cssNode); </script> <script type="text/javascript" src="http://datenzoo.de/pub/prettify-jaap.js"></script>

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others lurking in the Monastery: (13)
As of 2014-07-29 14:10 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (217 votes), past polls