Layout folder move to admin and frontend
This commit is contained in:
1
www/frontend/layout/javascript/debug.js
Symbolic link
1
www/frontend/layout/javascript/debug.js
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../admin/layout/javascript/debug.js
|
||||
1
www/frontend/layout/javascript/fineuploader
Symbolic link
1
www/frontend/layout/javascript/fineuploader
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../admin/layout/javascript/fineuploader/
|
||||
1
www/frontend/layout/javascript/firebug.js
Symbolic link
1
www/frontend/layout/javascript/firebug.js
Symbolic link
@@ -0,0 +1 @@
|
||||
../../../admin/layout/javascript/firebug.js
|
||||
25
www/frontend/layout/javascript/frontend.js
Normal file
25
www/frontend/layout/javascript/frontend.js
Normal file
@@ -0,0 +1,25 @@
|
||||
/*
|
||||
* AUTHOR: Clemens Schwaighofer
|
||||
* DATE: 2008/12/29
|
||||
* DESC: Javascript functions for the Catalogue frontend
|
||||
*/
|
||||
|
||||
// METHOD: SwitchImage
|
||||
// PARAMS: front/back -> what image to show
|
||||
// RETURN: none
|
||||
// DESC: ajax call to switch the main image in the detail view
|
||||
function SwitchImage(image) {
|
||||
if (image != 'front' || image != 'back') {
|
||||
image = 'front';
|
||||
}
|
||||
// disable / enable the href for the other side
|
||||
x_ajax_afSwitchImage(image, OutputSwitchImage);
|
||||
}
|
||||
|
||||
// METHOD: OutputSwitchImage
|
||||
// PARAMS: data -> the image full path for the new image
|
||||
// RETURN: none
|
||||
// DESC: replace the image in the product detail with the back image
|
||||
function OutputSwitchImage(data) {
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user