Forums

[Plugin: WP-Polls] Interferes With Embedded Script (2 posts)

  1. thefluffyshrimp
    Member
    Posted 2 months ago #

    I am trying to use WP-Poll on my website.

    So far I have it installed just fine with no errors.

    However, whenever I have WP-Poll activated the Shoutbox I'm using on my website (by YShout) disappears.

    My Page with YShout: http://thefluffyshrimp.com/?page_id=28

    The code I am using for my Shoutbox relies on the following:

    Between the <head> tags on the page

    <script src="yshout/js/jquery.js" type="text/javascript"></script>
    <script src="yshout/js/yshout.js" type="text/javascript"></script>
    <link rel="stylesheet" href="yshout/example/css/light.yshout.css" />

    <script type="text/javascript">
    new YShout({
    yPath: 'http://thefluffyshrimp.com/yshout/'
    });
    </script>

    On the Shoutbox page

    <div id="yshout"></div>

    Any idea why activating WP-Poll would corrupt my Shoutbox?

    Thank you for your assistance. :-)

    http://wordpress.org/extend/plugins/wp-polls/

  2. GamerZ
    Member
    Posted 2 months ago #

    I am guessing it is because two jQuery is being loaded, your way of loading.

    You can remove <script src="yshout/js/jquery.js" type="text/javascript"></script> and place the remaining code after <?php wp_head(); ?>

Reply

You must log in to post.

About this Topic

Tags