Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Javascript conflict between 2 contributions


trap

Recommended Posts

Hi all

 

I have recently installed Product Tabs contribution and Drop Down Menu (Advance Search) contribution. Both are terrific contributions and work well however...... both have javascripts included to run.

 

All is well until I am required to list the product and I have a conflict between the scripts.

 

In product_info.php I call the produt tabs script via <script type="text/javascript" src="scr.js"></script>

 

The products tabs has the following in the js file however I don't know what to change it to :

 

// If you need to call other scripts onload, change this call

window.onload=initTabs;

 

I have searched and understand that it is an "event" problem however I am not sure where or how to change this with all the js scripts and php within the cart.

 

It would be greatly appreciated if someone could either assist me or point me in the direction of a solution to solve this.

 

Look forward to your response

 

Regards

Trap

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...