On Error Resume Next
Sub control1_vector_FSCommand(ByVal command, ByVal args)
Call control1_vector_DoFSCommand(command, args)
End Sub
/* You may give each page an identifying name, server, and channel on
the next lines. */
s.pageName="Product Detail : F14689";
s.channel="";
s.pageType="Product Detail";
s.prop1="Handbags";
s.prop2="";
s.prop3="";
s.prop4="Product Detail";
s.eVar2==s.pageName
//these are here for the swatch clicks
function SwatchClick0(){}
function SwatchClick1(){}
function SwatchClick2(){}
function SwatchClick3(){}
function SwatchClick4(){}
function SwatchClick5(){}
function SwatchClick6(){}
function SwatchClick7(){}
function SwatchClick8(){}
function SwatchClick9(){}
function SwatchClick10(){}
function SwatchClick11(){}
function SwatchClick12(){}
function SwatchClick13(){}
function SwatchClick14(){}
function SwatchClick15(){}
function SwatchClick16(){}
//this is here just for the try catch and to always return false.
function ColorSelectedTop(color_cd,item_idx,color_id,style_no) {
try {
ColorSelected(color_cd, item_idx, color_id);
}
catch(e) {
}
}
//calling omniture function
function SwatchClickOmniture(style_no,color_cd,size)
{
// to get color code when drop down (ddlcolors) used
if (color_cd = "getcolor"){
switch (document.getElementById('ctl00_ContentPlaceHolder1_ddl_colors').selectedIndex)
{
case 0 :
color_cd = document.getElementById("color_cd0").value;
break;
case 1 :
color_cd = document.getElementById("color_cd1").value;
break;
case 2 :
color_cd = document.getElementById("color_cd2").value;
break;
case 3 :
color_cd = document.getElementById("color_cd3").value;
break;
case 4 :
color_cd = document.getElementById("color_cd4").value;
break;
case 5 :
color_cd = document.getElementById("color_cd5").value;
break;
case 6 :
color_cd = document.getElementById("color_cd6").value;
break;
case 7 :
color_cd = document.getElementById("color_cd7").value;
break;
default :
color_cd = "None";
}
}
SwatchClickForOmniture(style_no,color_cd,size);
}
function AddtoCartOminture(product_no,color_cd,size)
{
AddtoCart(product_no,color_cd,size);
}
function AddtoEmptyCartOminture(product_no,color_cd,size)
{
AddtoEmptyCart(product_no,color_cd,size);
}
Sub coachzoomer_FSCommand(ByVal command, ByVal args) call doFSCommand(command, args) end sub
function LogColorChange(inColor) {
s7diagnosticmsgalert('diagnotstic msg : color change occured');
//set new color
strCurrentcolor = inColor;
var el_ddl_colors = document.getElementById('ctl00_ContentPlaceHolder1_ddl_colors');
var i =0;
var aryDDLColorCodes = color_cds.split(";");
for(i=0;i
var rfx_account_name = 'zoomcc_coach_myrichfx';
var rfx_media_viewer_name = 'anyspot_onelevel';
var rfx_server_base = 'http://www.coachfactory.com/';
var assets_root = 'http://www.coachfactory.com/assets/richfx/rfx_zoom_anywhere/deploy/';
var richfx_prefix = ''; // for live
//var richfx_prefix = '/richfx'; // for local
function EmbedRichMedia(){
oSettings.ItemID = 'F14689'; // Replace with unique ID of item
oSettings.ItemColor = 'SKHT6'; // Replace with default color of item
oSettings.ItemView = '1'; // Replace with default view of item
oSettings.MediaPrefix = ''; // Replace with media prefix entered in myRichFX Zoom Settings
oSettings.MediaSuffix = ''; // Replace with media suffix entered in myRichFX Zoom Settings
oSettings.embedWidth = 324; // Replace with width entered in myRichFX Zoom Settings
oSettings.embedHeight = 324; // Replace with height entered in myRichFX Zoom Settings
oSettings.ViewerPlayMode = "detectmedia"; // Controls Flash and Media detection
oSettings.BackupFileName = 'http://s7d2.scene7.com/is/image/Coach/f14689_skht6_a0?$maintest$';// Replace with absolute path to static image
oSettings.MediaFileName = assets_root + oSettings.ItemID + '/' + oSettings.ItemColor + '-' + oSettings.ItemView + '/zoom.info';
rfxEmbedMedia();
}
//rfxClientInit IS FIRED BY THE RICH IMAGE VIEWER ONCE ALL VIEWER AND MEDIA COMPONENTS HAVE LOADED
function rfxClientInit(){
rfxRegisterEvent("ePosChanged","ChangeState");
rfxRegisterEvent("ePosChanged","showAlt");
}
//THIS FUNCTION HIDES ALL INTERACTIVE ELEMENTS
function showAlt(){
document.getElementById('Altviews').style.visibility = 'visible';
}
//ChangeState IS FIRED FROM THE FUNCTION, rfxClientInit
//THIS FUNCTION SETS THE BUTTON STATES BASED ON ZOOM STATE AND LEVEL
function ChangeState(args){
if(args["isextents"] == "false")
{
ToggleElement('zoom_nonactive','off');
ToggleElement('zoom_active','on');
}
else
{
ToggleElement('zoom_nonactive','on');
ToggleElement('zoom_active','off');
}
}
function maz_ZoomIn(isScene7Enabled)
{
if(isScene7Enabled)
{
}else{
rfxSendEvent('eZoomIn');
}
ToggleElement('zoom_nonactive');
ToggleElement('zoom_active');
}
function maz_ZoomOut(isScene7Enabled)
{
if(isScene7Enabled){
}else{
rfxSendEvent('eZoomout');
}
ToggleElement('zoom_nonactive');
ToggleElement('zoom_active');
}
//THIS FUNCTION CONTROLS THE CHANGING OF COLORS WHEN A USER CLICKS ON A SWATCH
function rfxChangeMedia(color,view){
s7diagnosticmsgalert('displaymaz.ascx : rfxChangeMedia : 1');
if(isScene7Enabled){
}else{
oSettings.ItemColor=color;
oSettings.ItemView=view;
var Media = '';
var BackupImg = ''; // Replace with absolute path to static image
var ResetImage = true; // Use true or false values to control whether the image should reset to
// an unzoomed state upon change
Media = assets_root + oSettings.ItemID + '/' + oSettings.ItemColor + '-' + oSettings.ItemView + '/zoom.info';
rfxOpenMedia(Media, BackupImg, ResetImage);
}
// update first thumbnail image
if (document.getElementById('ctl00_ContentPlaceHolder1_DisplayMAZ_imgALT1S'))
{
document.getElementById('ctl00_ContentPlaceHolder1_DisplayMAZ_imgALT1S').src = GetProductPageALTImages(style_no, currentcolor, 1, isScene7Enabled);
}
//update main image
//first grab a copy of the main image
var strCurrentMainImageURL = document.getElementById('maz_print_img').src;
//try to load the new image - this was not done
//document.getElementById('maz_print_img').src = GetColorD1ImageWithViews(style_no, currentcolor, view, isScene7Enabled);
//This will always use the primary color code if a non primary alt view is clicked
if(view >1){
var strPrimaryColorCode = document.getElementById('color_cd0').value.replace('/','')
document.getElementById('maz_print_img').src = GetColorD1ImageWithViews(style_no, strPrimaryColorCode, view, isScene7Enabled);
}else{
document.getElementById('maz_print_img').src = GetColorD1ImageWithViews(style_no, currentcolor, view, isScene7Enabled);
}
}
var rfx_media_viewer_base = rfx_server_base + 'richfx/MAZ/';
//document.write('');
//document.write ('');
// frontend vars
var random_lc = '459162199';
var style_no = 'F14689';
var product_no = '13415';
var color_cd = 'SKHT6';
var display_name = 'Penelope Signature Hippie';
var multi_zoom = false;
var category_id = '1960';
var multi_color_item = '';
var altimagefailurecount=0;
function processfailedimages()
{
if(altimagefailurecount >= 6) //turns off the alternate iumage label if there are none
{
document.getElementById('maz_table').style.display='none';
// document.getElementById('altimagetitle').style.display='none';
}
if(altimagefailurecount >= 5)
{
document.getElementById('maz_table').style.display='none';
//document.getElementById('altimagetitle').style.display='none';
for (var x = 1; x <= 6; x++)
{
document.getElementById('ctl00_ContentPlaceHolder1_DisplayMAZ_imgALT' + x + 'S').style.display='none';
}
}
}
function isImageOk(img){
/*
// During the [안내]태그제한으로등록되지않습니다-xxonload event, IE correctly identifies any images
// that weren't downloaded as not complete. Others should too.
// Gecko-based browsers act like NS4 in that they report this
// incorrectly: they always return true.
if (!img.complete) {
return false;
}
// However, they do have two very useful properties: naturalWidth
// and naturalHeight. These give the true size of the image. If
// it failed to load, either of these should be zero.
if (typeof img.naturalWidth != "undefined" && img.naturalWidth == 0) {
return false;
}
// No other way of checking: assume it's ok.
return true;
*/
img.style.display='';
return true;
}
function MAZ_AltImageHide(elm)
{
elm.style.display = 'none';
altimagefailurecount++;
processfailedimages();
}
function displaymaz_ZoomIn(strType)
{
if((strType == null))
{
strType = '';
}
if('True'=='True' )
{
document.getElementById('S7div_mainpanel').style.display = 'block';
maz_ZoomIn(1);
try{
productdiv_CloseMe();
}catch(e)
{
}
}
else
{
maz_ZoomIn(0);
}
return false;
}
function displaymaz_ZoomOut()
{
if('True'=='True' )
{
document.getElementById('S7div_mainpanel').style.display = 'none';
maz_ZoomOut(1);
}
else
{
maz_ZoomOut(0);
}
return false;
}
function displaymaz_Enlarge()
{
popUpWindow('F14689');
enlargeclick();
}
function displaymaz_TryThisOn()
{
scalerclick();
callPopUpWindow('http://www.coachfactory.com/popups/bagscaler.aspx?product_no=13415&style_no=F14689', 405, 480, 'F14689','no');
}
function displaymaz_MapX(intID)
{
MultiZoom(intID);
}
function displaymaz_Map1(){ displaymaz_MapX(1); }
// function displaymaz_Map2(){ displaymaz_MapX(2); }
// function displaymaz_Map3(){ displaymaz_MapX(3); }
// function displaymaz_Map4(){ displaymaz_MapX(4); }
// function displaymaz_Map5(){ displaymaz_MapX(5); }
// function displaymaz_Map6(){ displaymaz_MapX(6); }
function idzoom1_[안내]태그제한으로등록되지않습니다-xxonclick() {
}
첫댓글 (90+쉬핑텍스16)*1400=148400원입니다^^공지확인바랍니다~