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

Re: Option to Toggle Perlmonks Markup for Free Nodelet

by Corion (Pope)
on Feb 18, 2008 at 17:42 UTC ( #668622=note: print w/ replies, xml ) Need Help??


in reply to Option to Toggle Perlmonks Markup for Free Nodelet

<script href="http://somewhere.else.example/myjs.js"> is what I use for including large chunks of JavaScript into Perlmonks :-)


Comment on Re: Option to Toggle Perlmonks Markup for Free Nodelet
Download Code
Replies are listed 'Best First'.
Re^2: Option to Toggle Perlmonks Markup for Free Nodelet
by jrtayloriv (Pilgrim) on Feb 18, 2008 at 17:49 UTC
    Thank you Corion. But my problem with this is that, at the moment, I don't have a http://somewhere.else.example to store my own scripts on.

    Update: Actually, I didn't realize that Google provided free webspace along w/ my email account ... so now I do have a somewhere.else to link from. Thanks for jumpstarting my brain for me ...

    Update 2:And thank you as well tye, I didn't know I could do that either.

        You can put the javascript in code tags in a node:

        alert("it worked!")

        and probably use something like:

        <script href="?node_id=668629;displaytype=displaycode;abspart=1;part=1 +">

        (Unless your browser refuses to run javascript that wasn't served with a "text/javascript" MIME header.)

        - tye        

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (12)
As of 2015-07-28 22:16 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (260 votes), past polls