Scripts n Styles
[resolved] Using JS Option Without Tags (2 posts)

  1. C.Stevenson
    Posted 5 years ago #

    Insightful plugin - Thank you in advance!

    I haven't tried it yet, but want to because my current theme isn't recognizing the following script (when placed and saved in html view).

    <script type='text/javascript'>var $p2jq = jQuery.noConflict();</script>
    <script type="text/javascript" src="http://www.p-2.com/calculator/p2calc.js"></script>
    <div id="p2calculator"> </div>
    <p style="text-align: center;">Lighting Retrofit calculator provided by [P2].</p>

    Question: Would I simply omit the <script> tags when using the plugin? This novice Admin needs to know what the proper plugin entry would look like when entering the script above.

    Thank you - C.


  2. Ken Newman
    Plugin Author

    Posted 5 years ago #

    Sorry, you don't include the script tags for this plugin. I'll be adding a way to include external scripts in v3, but for now, this plugin is inline only.

    Also, unless you are an Editor or Admin, you can't access the plugin at all. If you are, you can place that code right in the editor and it should work.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Scripts n Styles
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic