/* gm_form_styles.js <?php
# --------------------------------------------------------------
# gm_form_styles.js 2011-05-12 gambio
# Gambio GmbH
# http://www.gambio.de
# Copyright (c) 2011 Gambio GmbH
# Released under the GNU General Public License (Version 2)
# [http://www.gnu.org/licenses/gpl-2.0.html]
# --------------------------------------------------------------
?>*/
/*<?php
if($GLOBALS['coo_debugger']->is_enabled('uncompressed_js') == false)
{
?>*/
$(document).ready(function(){activate_form_styles();});function activate_form_styles(){$(".cell_right").click(function(){var input_id=$(this).attr("id");$(".cell_right").each(function(){var input_id2=$(this).attr("id");if(input_id2!=input_id){$("#left_"+input_id2).removeClass("cell_left_bold");$("#"+input_id2+" .gm_mb_input").removeClass("active_input");$("#"+input_id2+" .gm_mb_input").addClass("inactive_input");}});$("#left_"+input_id).addClass("cell_left_bold");if($("#"+input_id+" .gm_mb_input").hasClass("inactive_input")){$("#"+input_id+" .gm_mb_input").removeClass("inactive_input");$("#"+input_id+" .gm_mb_input").addClass("active_input");}});$(".cell_right").keyup(function(){var input_id=$(this).attr("id");$(".cell_right").each(function(){var input_id2=$(this).attr("id");if(input_id2!=input_id){$("#left_"+input_id2).removeClass("cell_left_bold");$("#"+input_id2+" .gm_mb_input").removeClass("active_input");$("#"+input_id2+" .gm_mb_input").addClass("inactive_input");}});$("#left_"+input_id).addClass("cell_left_bold");if($("#"+input_id+" .gm_mb_input").hasClass("inactive_input")){$("#"+input_id+" .gm_mb_input").removeClass("inactive_input");$("#"+input_id+" .gm_mb_input").addClass("active_input");}});$(".module_option, .module_option_checked").click(function(){var input_id=$(this).attr("id");$(".module_option_checked").each(function(){$(this).removeClass("module_option_checked");$(this).addClass("module_option");});$('#'+input_id+'_radio > input[type=radio]').attr('checked',true);$(".module_option_price, .module_option_price_bold").each(function(){$(this).removeClass("module_option_price_bold");$(this).addClass("module_option_price");});$('#'+input_id+'_price').addClass("module_option_price_bold");$(this).addClass("module_option_checked");});$('#checkout_shipping #footer, #gm_checkout_payment #footer, #gm_checkout_confirmation #footer').click(function(){gm_confirm=confirm('<?php echo GM_CONFIRM_CLOSE_LIGHTBOX; ?>');if(gm_confirm==true){document.location.href="index.php?XTCsid="+gm_session_id;}});$('#checkout_success #footer').click(function(){document.location.href="index.php?XTCsid="+gm_session_id;});var gm_input_val=$('#gm_gift_input').val();$('#gm_gift_input').click(function(){if($('#gm_gift_input').val()==gm_input_val||$('#gm_gift_input').val()=='')$('#gm_gift_input').val('');});$('#gm_gift_input').blur(function(){if($('#gm_gift_input').val()==gm_input_val||$('#gm_gift_input').val()=='')$('#gm_gift_input').val(gm_input_val);});$('.icon_lightbox_close').die('click');$('.icon_lightbox_close').live('click',function(){if(fb)console.log('.icon_lightbox_close click');if(typeof(gmLightBox)!='undefined'&&($(this).attr('onclick').length==0||String($(this).attr('onclick')).search('close_iframe_box')==-1)){gmLightBox.close_box();}return false;});}
/*<?php
}
else
{
?>*/
$(document).ready(function() {
activate_form_styles();
});
function activate_form_styles(){
$(".cell_right").click(function() {
var input_id = $(this).attr("id");
$(".cell_right").each(function() {
var input_id2 = $(this).attr("id");
if(input_id2 != input_id){
$("#left_" + input_id2).removeClass("cell_left_bold");
$("#" + input_id2 + " .gm_mb_input").removeClass("active_input");
$("#" + input_id2 + " .gm_mb_input").addClass("inactive_input");
}
});
$("#left_" + input_id).addClass("cell_left_bold");
if($("#" + input_id + " .gm_mb_input").hasClass("inactive_input")){
$("#" + input_id + " .gm_mb_input").removeClass("inactive_input");
$("#" + input_id + " .gm_mb_input").addClass("active_input");
}
});
$(".cell_right").keyup(function() {
var input_id = $(this).attr("id");
$(".cell_right").each(function() {
var input_id2 = $(this).attr("id");
if(input_id2 != input_id){
$("#left_" + input_id2).removeClass("cell_left_bold");
$("#" + input_id2 + " .gm_mb_input").removeClass("active_input");
$("#" + input_id2 + " .gm_mb_input").addClass("inactive_input");
}
});
$("#left_" + input_id).addClass("cell_left_bold");
if($("#" + input_id + " .gm_mb_input").hasClass("inactive_input")){
$("#" + input_id + " .gm_mb_input").removeClass("inactive_input");
$("#" + input_id + " .gm_mb_input").addClass("active_input");
}
});
$(".module_option, .module_option_checked").click(function() {
var input_id = $(this).attr("id");
$(".module_option_checked").each(function() {
$(this).removeClass("module_option_checked");
$(this).addClass("module_option");
});
$('#' + input_id + '_radio > input[type=radio]').attr('checked', true);
$(".module_option_price, .module_option_price_bold").each(function() {
$(this).removeClass("module_option_price_bold");
$(this).addClass("module_option_price");
});
$('#' + input_id + '_price').addClass("module_option_price_bold");
$(this).addClass("module_option_checked");
});
$('#checkout_shipping #footer, #gm_checkout_payment #footer, #gm_checkout_confirmation #footer').click(function() {
gm_confirm = confirm('<?php echo GM_CONFIRM_CLOSE_LIGHTBOX; ?>');
if(gm_confirm == true){
document.location.href = "index.php?XTCsid=" + gm_session_id;
}
});
$('#checkout_success #footer').click(function() {
document.location.href = "index.php?XTCsid=" + gm_session_id;
});
var gm_input_val = $('#gm_gift_input').val();
$('#gm_gift_input').click(function() {
if($('#gm_gift_input').val() == gm_input_val || $('#gm_gift_input').val() == '' )
$('#gm_gift_input').val('');
});
$('#gm_gift_input').blur(function() {
if($('#gm_gift_input').val() == gm_input_val || $('#gm_gift_input').val() == '' )
$('#gm_gift_input').val(gm_input_val);
});
$('.icon_lightbox_close').die('click');
$('.icon_lightbox_close').live('click', function()
{
if(fb)console.log('.icon_lightbox_close click');
if(typeof(gmLightBox) != 'undefined' && ($(this).attr('onclick').length == 0 || String($(this).attr('onclick')).search('close_iframe_box') == -1))
{
gmLightBox.close_box();
}
return false;
});
}
/*<?php
}
?>*/
| nama | waktu | ukuran | owner | perm | aksi |
|---|---|---|---|---|---|
| .. | |||||
| jquery/ | 2013-11-12 21:03 | 587.44 KB | 76129f60960:kunden | dxwrx-rx-r | |
| GMAskOpensearch.js | 2013-11-12 21:03 | 2.31 KB | 76129f60960:kunden | -xw-x----- | |
| GMAttributeImages.js | 2013-11-12 21:03 | 2.52 KB | 76129f60960:kunden | -xw-x----- | |
| GMAttributesCalculator.js | 2013-11-12 21:03 | 6.12 KB | 76129f60960:kunden | -xw-x----- | |
| GMBestseller.js | 2013-11-12 21:03 | 1.7 KB | 76129f60960:kunden | -xw-x----- | |
| GMCallbackService.js | 2013-11-12 21:03 | 3 KB | 76129f60960:kunden | -xw-x----- | |
| GMCounter.js | 2013-11-12 21:03 | 580 B | 76129f60960:kunden | -xw-x----- | |
| GMGMotion.js | 2013-11-12 21:03 | 1.17 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintCartWishlistManager.js | 2013-11-12 21:03 | 18.28 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintConfiguration.js | 2013-11-12 21:03 | 2.74 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintElements.js | 2013-11-12 21:03 | 32.5 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderElements.js | 2013-11-12 21:03 | 4.68 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderSurfaces.js | 2013-11-12 21:03 | 13.3 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintOrderSurfacesManager.js | 2013-11-12 21:03 | 11.72 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfaces.js | 2013-11-12 21:03 | 71.97 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfacesGroupsManager.js | 2013-11-12 21:03 | 2.92 KB | 76129f60960:kunden | -xw-x----- | |
| GMGPrintSurfacesManager.js | 2013-11-12 21:03 | 23.49 KB | 76129f60960:kunden | -xw-x----- | |
| GMImagesPopup.js | 2013-11-12 21:03 | 1.53 KB | 76129f60960:kunden | -xw-x----- | |
| GMLightBox.js | 2013-11-12 21:03 | 16.6 KB | 76129f60960:kunden | -xw-x----- | |
| GMLiveSearch.js | 2013-11-12 21:03 | 2.18 KB | 76129f60960:kunden | -xw-x----- | |
| GMMegaFlyOver.js | 2013-11-12 21:03 | 9.86 KB | 76129f60960:kunden | -xw-x----- | |
| GMOrderQuantityChecker.js | 2013-11-12 21:03 | 7.32 KB | 76129f60960:kunden | -xw-x----- | |
| GMProductImages.js | 2013-11-12 21:03 | 4.32 KB | 76129f60960:kunden | -xw-x----- | |
| GMScroller.js.php | 2013-11-12 21:03 | 3.18 KB | 76129f60960:kunden | -xw-x----- | |
| GMShowLightBox.js | 2013-11-12 21:03 | 3.57 KB | 76129f60960:kunden | -xw-x----- | |
| GMTellAFriend.js | 2013-11-12 21:03 | 3.61 KB | 76129f60960:kunden | -xw-x----- | |
| PreserveSessionHandler.js | 2013-11-12 21:03 | 2.19 KB | 76129f60960:kunden | -xw-x----- | |
| functions.js | 2013-11-12 21:03 | 5.93 KB | 76129f60960:kunden | -xw-x----- | |
| gm_form_styles.js | 2013-11-12 21:03 | 6.47 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint.js | 2013-11-12 21:03 | 35.78 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_functions.js | 2013-11-12 21:03 | 2.5 KB | 76129f60960:kunden | -xw-x----- | |
| gm_gprint_order.js | 2013-11-12 21:03 | 1.63 KB | 76129f60960:kunden | -xw-x----- | |
| gm_guestbook.js.php | 2013-11-12 21:03 | 3.52 KB | 76129f60960:kunden | -xw-x----- | |
| gm_product_details.js | 2013-11-12 21:03 | 3.91 KB | 76129f60960:kunden | -xw-x----- | |
| gm_shop_scripts.js | 2013-11-12 21:03 | 3.8 KB | 76129f60960:kunden | -xw-x----- | |
| gm_shopping_cart.js | 2013-11-12 21:03 | 934 B | 76129f60960:kunden | -xw-x----- | |
| gm_start.js.php | 2013-11-12 21:03 | 12.68 KB | 76129f60960:kunden | -xw-x----- | |
| gm_statusbar.js.php | 2013-11-12 21:03 | 3.68 KB | 76129f60960:kunden | -xw-x----- | |
| price_offer.js.php | 2013-11-12 21:03 | 1.16 KB | 76129f60960:kunden | -xw-x----- | |