Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

JavaScript files in default store templates, what they do, how they may be removed.

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 02-17-2009, 11:33 AM
 
forefront forefront is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 43
 

Default JavaScript files in default store templates, what they do, how they may be removed.

If you know what each of the JavaScript files do in the default 4.2 store templates please post the answer here.

Thanks.
__________________
X-Cart 4.2.0
Reply With Quote
  #2  
Old 02-18-2009, 02:44 AM
 
forefront forefront is offline
 

Advanced Member
  
Join Date: Feb 2003
Posts: 43
 

Default Re: JavaScript files in default store templates, what they do, how they may be removed.

Here are the files and what they do:

anchor_fix.js - Fix anchor link if base url is defined for page
browser_identificator.js - checks the browser options.
change_all_checkboxes.js - uses for the selection all checkboxes.
change_states.js - uses for the state selection.
check_cc_number_script.js - checking the credit cart number.
check_clean_url.js - check the the clean urls format (in the admin zone).
check_db_click.js - checking the double click. For example, it denies to press "place order" button twice.
check_email_script.js - checking the the e-mail addresses format.
check_ip_address.js - check the IP address. (stop list module)
check_password_script.js - checking if the password is correct.
check_required_fields_js.js - checking if all of the request fields is filled on the forms.
check_zipcode.js - check the zip code length.
common.js - it's a general file. This file contents the basic variables and functions for the X-Cart working.
debug.js - the file uses in the debug mode.

editor.js
editor_common.js - These files uses in the webmaster mode.
editorns.js

iepngfix.js - fix the png image view in the Internet Explorer.

jquery-fix.js - these files uses for JavaScript framework, which X-Cart is used.
jquery-min.js

reset.js - reset all input data in the forms.
swfobject.js - uses for the flash files displaying.
__________________
X-Cart 4.2.0
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 02:17 PM.

   

 
X-Cart forums © 2001-2020