Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Knowledge Base: Mouse Over Graphic Links with Session ID


johnew

Recommended Posts

In the oscommerce knowledge base article Mouse Over Graphic Links with Session ID it says.....

 

Add this code to the catalog/includes/header.php file right before the body tag which will add the included mm.js file with the javascript code in it like this:

 

<head>

<script language="JavaScript" type="text/JavaScript" src="/includes/mm.js"></script>

</head>

 

well there is no <head> tag in the header file unless i'm missing something???

 

rather than putting the souce link inbetween the head tags of each catalog file for the site can this be referenced elsewhere to be automatically created?

 

cheers

 

john

Link to comment
Share on other sites

The knowledge base is being written towards the next milestone release already.

 

For documentation specific to the current milestone release see osCommerce 2.2 Milestone 2 Documentation

Rule #1: Without exception, backup your database and files before making any changes to your files or database.

Rule #2: Make sure there are no exceptions to Rule #1.

Link to comment
Share on other sites

  • 1 month later...

Hi,

 

Just put the code between the last ?> and the <body onLoad in the header like this:

?>

 

<script language="JavaScript" type="text/JavaScript" src="/includes/mm.js"></script>

 

<body onLoad

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...