View Single Post
  #1  
Old 02-17-2014, 08:28 AM
  Petepots's Avatar 
Petepots Petepots is offline
 

eXpert
  
Join Date: Aug 2007
Location: Surrey, UK
Posts: 275
 

Default Can anyone help in simple Javascript

I want to change

product_details.tpl

to display the content something like this, product details below all the code would be held in the Detailed description: and where the (see more) bit is would call the labels for the extra text that's required.
-------------------------------------------------------------
Sample full description

We make blah blah blah
This product is a wonderful unit. It works very well see more...
The range of colours you can get see more...
you can get this from the uK see more...
---------------------------------------------------------------

Now where the see more... bit is would be Javascript. I want it to work just like the admin maintenance ( see sample below) but all it has to do is just add more text.

Check database integrity http://localhost/store/skin/common_files/images/spacer.gif
This tool allows you to improve the consistency and quality of data structures in your MySQL database. more...

My product details has HTML in it and works well


I hope I have made myself clear. Can anyone help

Peter
__________________
Version 4.7.2
Reply With Quote