javascript

  • Unknown's avatar

    Hi all,

    I am a WP newbie adding javascript to a page. Below is a full working html non wP page – and I would like to get something like it working on a WP page. When I copy the text inside the body tags below – then paste in to WP TEXT AREA – it does not do anything…

    Q: How Do I get this javascript working?

    Thanks

    ________________________________________

    var width=”700″;
    var height=”500″;
    var zoom=”3″;
    var mmsi=”227426750″;
    var show_track=true;
    var click_to_activate=false;

    src=”https://www.vesselfinder.com/aismap.js”>

    ______________________

    The blog I need help with is: (visible only to logged in users)

  • Unknown's avatar

    The WordPress editor both autoformats your text and restricts the types of tags that are inserted into your content. Blocking the ability to insert scripts is a security feature of WordPress.

    That said, some services provide WordPress specific embed codes you can use or if you have the ability to upload plugins, there may be a plugin out there for the service you are using that will allow you to insert its content into the editor.

  • The topic ‘javascript’ is closed to new replies.