View Single Post
  #522  
Old 07-12-2008, 03:18 PM
  gb2world's Avatar 
gb2world gb2world is offline
 

X-Wizard
  
Join Date: May 2006
Location: Austin, TX
Posts: 1,970
 

Default Re: TelaFirma - X-Cart Dynamic Image Generator

Quote:
Anyone knows how to modify the language like "Previous" and "Close" in the shadowbox.js file when using the Telafirma mod? Sorry for asking, I am just a total javascript n00b here... I searched on the http://mjijackson.com/shadowbox/ site and forum as well and there's an option to change the language but that shadowbox.js looks totally different than mine...

The file you see on the shadow box website is likely very close to the same thing in terms of code that you have - but the one in the TelaFirma distribution is compressed (linebreaks and unneeded space and comments are removed) - so it is a little harder to read and edit. But - you can see the same code if you search for it - and change the text to be what you want:
search for:
Code:
'<span class="shortcut">N</span>ext'
change to
Code:
'<span class="shortcut">S</span>iguiente'

etc.
The span class is creting the linked item in the popup - so you should be able to set that as you wish as well.
__________________
X-CART (4.1.9,12/4.2.2-3/4.3.1-2/4.4.1-5)-Gold
(CDSEO, Altered-Cart On Sale, BCSE Preorder Backorder, QuickOrder, X-Payments, BCSE DPM Module)
Reply With Quote