...
|
...
|
@@ -259,19 +259,23 @@ function pullPicBig(cIndex) { |
|
|
|
|
|
function chosenDefault() {
|
|
|
if ($('.class-detail').length > 0) {
|
|
|
clearCookieArr(3);
|
|
|
window.setCookie('chosenClass', $('.class-detail').find('.name').text());
|
|
|
window.setCookie('packageId', $('.class-detail').find('.name').attr('id'));
|
|
|
}
|
|
|
if ($('.adviser-info').find('.name').length > 0) {
|
|
|
clearCookieArr(3);
|
|
|
window.setCookie('chosenCutter', $('.adviser-info').find('.name').text());
|
|
|
window.setCookie('chosenAdviser', $('.adviser-info').find('.name').text());
|
|
|
window.setCookie('cutterId', $('.cutter-id').val());
|
|
|
}
|
|
|
if ($('.style-detail').length > 0) {
|
|
|
clearCookieArr(3);
|
|
|
window.setCookie('styleId', window.queryString.id);
|
|
|
window.setCookie('chosenStyle', ' ' + decodeURI(window.queryString.styleName) + ' ');
|
|
|
}
|
|
|
if ($('.package-detail').length > 0 && $('.foot-btn').length > 0) {
|
|
|
clearCookieArr(3);
|
|
|
window.setCookie('chosenPackage', $('.package-detail').find('.name').text());
|
|
|
window.setCookie('packageLimit', $('.package-detail').find('.limit').val());
|
|
|
window.setCookie('packageStyle', $('.package-detail').find('.styleid').val());
|
...
|
...
|
|