Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8375989
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T15:19:00+00:00 2026-06-09T15:19:00+00:00

I get both of these errors on the page: ReferenceError: Cufon is not defined

  • 0

I get both of these errors on the page:

ReferenceError: Cufon is not defined

TypeError: $(“.main_equal2”).equalHeights is not a function

I’m using WordPress with the simplemarket theme. All script files are loaded in the header.php and is included below.

Can anyone help with my issues?

    <script type="text/javascript" src="http://code.jquery.com/jquery-latest.min.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url') ?>/scripts/cufon.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url') ?>/scripts/avenir_400.font.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url') ?>/scripts/equal_heights.js"></script>
    <script type="text/javascript" src="<?php bloginfo('template_url') ?>/scripts/html5shiv.js"></script>
    <script type="text/javascript" src="http://cdn.jquerytools.org/1.2.7/full/jquery.tools.min.js"></script>
    <!--<script src="<?php bloginfo('template_url') ?>/scripts/googlemapselector.js"></script>-->
    <script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script>

    <!--[if lte IE 8]>
        <script src="<?php bloginfo('template_url') ?>/scripts/selectivizr-min.js" type="text/javascript"></script>
    <![endif]-->

    <script type="text/javascript">
            function initialize() {
                geocoder = new google.maps.Geocoder();
                var latlng = new google.maps.LatLng(40.718510, -73.774080);
                var mapOptions = {
                    zoom: 13,
                    center: latlng,
                    mapTypeId: google.maps.MapTypeId.ROADMAP
                }
                map = new google.maps.Map(document.getElementById("map_canvas_sat"), mapOptions);

                var image = 'images/school_icon.png';

                var marker = new google.maps.Marker({
                    map: map,
                    position: latlng,
                    animation: 'drop',
                    icon: image
                });
            }

            $(document).ready(function(){
                $(".main_equal2").equalHeights();
                $(".main_equal3").equalHeights2();
                $(".main_equal4").equalHeights3();
            });

            jQuery(document).ready(function(){
                // Anything classed with .collapse should be collapsed as well by default
                i = 0;

                jQuery('.collapse').each(function() {
                    this.id = 'collapser-' + Math.floor( Math.random() * ( Math.random() * 10000 ) );
                    jQuery(this).wrap('<div id="' + this.id + '-expand"></div>');

                    if(i == 0) {    
                        jQuery(this).before('<a class="dark_stripe" id="' + this.id + '-link" href="#" onclick="javascript:jQuery(\'#' + this.id + '\').slideToggle();return false;">Click</a>');
                        i++;
                    } else if(i == 1) {
                        jQuery(this).before('<a class="light_stripe" id="' + this.id + '-link" href="#" onclick="javascript:jQuery(\'#' + this.id + '\').slideToggle();return false;">Click</a>');
                        i = 0;
                    }

                    jQuery(this).wrap( '<div></div>' );
                    jQuery(this).slideUp();
                });

                jQuery(".athletics_map_location").click(function() {
                    var address = $(this).attr('value');
                    var image = 'http://www.bigideaadv.com/tmla/wp-content/themes/simplemarket/images/school_icon.png';

                    geocoder.geocode( { 'address': address}, function(results, status) {
                        if (status == google.maps.GeocoderStatus.OK) {
                            map.setCenter(results[0].geometry.location);
                            var marker = new google.maps.Marker({
                                map: map,
                                animation: 'drop',
                                position: results[0].geometry.location,
                                icon: image
                            });

                            /*shadow: Symbol({
                                fillColor: '#00ff00'
                            }),*/

                        } else {
                            alert("Geocode was not successful for the following reason: " + status);
                        }
                    });
                });

                jQuery(".athletics_map_location2").click(function() {
                    var address = $(this).attr('value');
                    var image = 'http://www.bigideaadv.com/tmla/wp-content/themes/simplemarket/images/facility_icon.png';

                    geocoder.geocode( { 'address': address}, function(results, status) {
                        if (status == google.maps.GeocoderStatus.OK) {
                            map.setCenter(results[0].geometry.location);
                            var marker = new google.maps.Marker({
                                map: map,
                                animation: 'drop',
                                position: results[0].geometry.location,
                                icon: image
                            });

                            /*shadow: Symbol({
                                fillColor: '#00ff00'
                            }),*/

                        } else {
                            alert("Geocode was not successful for the following reason: " + status);
                        }
                    });

                    //FONT REPLACEMENT FOR RIGHTS PROTECTED AVENIR FONT
                    Cufon.replace('#athletics_menu ul#menu-athletics-menu a:link, #athletics_menu ul#menu-athletics-menu a:visited, #athletics_menu ul#menu-athletics-menu a:hover, #athletics_menu ul#menu-athletics-menu a:active');
                    Cufon.replace('#athletics_sidebar_right aside.widget h3, #athletics_sidebar_bottom_left aside.widget h3, #athletics_sidebar_bottom_center aside.widget h3, .page-template-template-athletics-sports-page-php aside.widget h3');
                });

                $(function() {
                   // initialize scrollable
                   var root = $(".scrollable").scrollable({circular: true, speed: 1000}).autoscroll({ autoplay: true, interval: 5000 });
                   //$(".scrollable").scrollable();
                });
            });
        </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T15:19:01+00:00Added an answer on June 9, 2026 at 3:19 pm

    Had two jQuery includes and was using $. instead of jQuery. Thanks for all the advice.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: PHP get both array value and array key I am using Codeigniters'
In both plugins the page size select list is not functioning properly. When I
Is there a way to get the values of various properties of (both .NET
I've managed to get both an iPad and iPhone hooked up to xcode, and
How would I get both param1 and param2 to my controller, I tried like
Currently I need to run two queries to get both the total amount of
Involved classes : Mage_Sales_Model_Quote_Item and Mage_Catalog_Model_Product . I get both of them as a
If I have some HTML like this: <a onmouseover='SetTopLeft(this);'href='#'>Click me!</a> Can I get both
Here is the javadoc for both: get(): Waits if necessary for the computation to
I had an answer to question here: =SUMPRODUCT(($A$1:$A$10=A1)*($B$1:$B$10=B1)) and =COUNTIFS(G:G,G2,H:H,H2) Both get the job

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.