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 :-)

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