Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
  • #16319

    So I have a popup .PHP script that I have uploaded to my hosting.

    I place <?php include(‘exitpopup.php’); ?> some where in the themes files but I also have to call out the jquery.

    So ultimately I am adding the following lines into the theme, either in the header, footer, main index, ect.

    <script src=”” type=”text/javascript”></script>

    <script type=”text/javascript”>google.load(“jquery”, “1.3.2”);</script>

    <?php include(‘exitpopup.php’); ?>

    But when I call out the jquery the pictures do not load on my site.

    I can do this on all of my other sites so I know this problem has to do with your theme.

    any ideas?



    What does this exitpopup.php do? Can you give us a link on your website?




    Basically I need to include <?php include(‘exitpopup.php’); ?> in a file where Jquery is already called out on.

    Is there a file in this theme where jquery is already called out on?


    the exitpopup.php is a pop up script that gives a pop up when the mouse leaves the site. The problem is not with the script, it is when i try to add the jquery

    <script src=”” type=”text/javascript”></script>

    <script type=”text/javascript”>google.load(“jquery”, “1.3.2”);</script>


    Hi iphoneinformant,

    Well the the theme already loads in the jquery library but it loads in the library from wordpress based on the most recent version available in the wp library. So right now, in the header its calling jquery version 1.7.2. via wp_head()

    If you try and load in 1.3.2 on top of that, its going to cause a lot of problems.

    If the script you have will run on the newer version, you can just include it in the header.php after the wp_head is called or in the footer so that it loads after all the other content.



Viewing 5 posts - 1 through 5 (of 5 total)

The topic ‘[help] jquery ruins pictures’ is closed to new replies.