JavaScript files

25/10/2010

Our web-to-print extension uses a number a JS scripts and plugins. It is mostly based on jQuery.

ajaxupload.js

Used for asynchronous uploading of user images on the customization page.

Original script sourced from: valums.com

colorpicker.js

Generates and controls a color picker pop-up. Saves the selected value in one of input fields to be sent to ZetaPrints.

Depends on colorpicker.css and images from colorpicker directory.

Original script sourced from: eyecon.ro

jquery-1.4.2.min.js

jQuery javascript library.

Original script sourced from: jquery.com

jquery-jcrop.min.js

JCrop is jQuery plugin for image cropping UI component. Used in image editing dialog.

Depends on  jquery.jcrop.css

Original script sourced from: deepliquid.com

jquery-qtip-1.0.0-rc3.min.js

Qtip is jQuery plugin for nice tooltips. Used for showing tooltips for user input fields on the customization page.

Original script sourced from: craigsworks.com

jquery-ui-1.8.custom.min.js

jQuery UI library. Used for mouse dragging option in color picker and for dragging fields while in-preview editing.

Original script sourced from: jqueryui.com

jquery.fancybox-1.3.1.pack.js

Fancybox is jQuery plugin to show in-page dialogs. Used to show full size images in pop-ups for template previews, stock images and to show image editing window in pop-up.

Depends on  jquery.fancybox-1.3.1.css and images from  fancybox directory.

Original script sourced from: fancybox.net

zp-crop-visual-assistant.js

This file contains javascript cropVisualAssistant class code.

This is a class for comparing user images and placeholders. It contains functionality to determine ratios and positioning between a given placeholder and a user image.

zp-image-edit.js

This file contains javascript code for the ZetaPrints image editor.

Depends on  zp-image-edit.css

zp-personalization-form.js

This file contains javascript code for the ZetaPrints personalization form.

Depends on  zp-style.css

zp-in-preview-edit.js

This file contains JavaScript code for in-preview editing and fields highlighting.

Depends on zp-in-preview-edit.css

See also: