Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

QUESTION: Javascript in Product Description


dcwebpixie

Recommended Posts

Hello,

 

Does anyone know if you can use javascript in the Product Description through the Admin Panel? I have been trying to use a script and it sort of works but is buggy and loads the page very slowly.

 

I am using it to tab back and forth between track listings for CDs. For example I might have a box set that has 10 CDs in it and there are 2 discs per cd case. If I list the tracks down the page, it then creates a very long page which may be my only solution. I am thinking that this is just too buggy to use it? Has anyone out there used javascript within the Product Description?

 

Thanks!!

Link to comment
Share on other sites

Hello,

 

Does anyone know if you can use javascript in the Product Description through the Admin Panel? I have been trying to use a script and it sort of works but is buggy and loads the page very slowly.

 

I am using it to tab back and forth between track listings for CDs. For example I might have a box set that has 10 CDs in it and there are 2 discs per cd case. If I list the tracks down the page, it then creates a very long page which may be my only solution. I am thinking that this is just too buggy to use it? Has anyone out there used javascript within the Product Description?

 

Thanks!!

 

you should be able to use javascript. you can include other html, so i don't see a reason why not. you'll just have to make sure your script works well. i'd probably just do a simple include of a separate script file. that way you can use the same script in multiple pages. maybe have the product's description include a small script that defines the number of tracks so the included javascript file has a little to go on and can more general purpose.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...