Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Java script shipping module


Calitri86

Recommended Posts

Posted

Hi. When I access my shop with Firefox, I get error in the following line of checkout_shipping.php:

 

 <script type="text/javascript">
  $(document).ready(function() {
     //insert help icon (can be any icon)
     $(".bringHelpTrigger").html(
        '<img class="bringHelpImage" src="images/icons/bring_info.png"/>'
     );
     //help icon -> set mouse cursor to help
     $(".bringHelpImage").css(
        {'cursor' : 'help'}
     );
     //bringHelpTrigger is span element with produkt ID --> insert the tooltip callback function:
     $(".bringHelpTrigger").tooltip({ 
         bodyHandler: function() {
            tooltipBodyLocator = "#" + $(this).attr("id") + "_body"; 
             return $(tooltipBodyLocator).html(); 
         },
         showURL: false,
         id: 'bringFraktTooltip'
     });
  });
</script>

 

Line 2 is the one with error, and the error message is "$ is not defined". I'm having some problems with this shipping module. Could this be the cause of it? And what to do?

 

Please help.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...