バージョン選択

フォーラム

メニュー

オンライン状況

68 人のユーザが現在オンラインです。 (63 人のユーザが フォーラム を参照しています。)
登録ユーザ: 0
ゲスト: 68
もっと...

サイト内検索

質問 > フロント機能 > 2.12.2 facebox不具合について

フロント機能

新規スレッドを追加する

スレッド表示 | 新しいものから 前のトピック | 次のトピック | 下へ
投稿者 スレッド
fashionbas
投稿日時: 2013/10/11 8:43
対応状況: −−−
半人前
登録日: 2012/10/24
居住地:
投稿: 26
2.12.2 facebox不具合について
商品詳細の画像拡大にfaceboxを使用していますが、
何らかの作為により、2重に表示されております。
通常の商品詳細画面は大丈夫なのですが、拡大したとに縦に2つ同じ画像が並んだようになります。
<div class="content">
<div class="image">
画像
</div>
<div class="image">
画像
</div>

詳細のphp画像抜粋
<!--★画像★-->
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
<a
href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->"
class="expansion"
target="_blank"
>
<!--{/if}-->
<img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" />
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
</a>
<!--{/if}-->
</div>
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
<span class="mini">
<!--★拡大する★-->
<a
href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->"
class="expansion"
target="_blank"
>
画像を拡大する</a>
ご教授お願いします
fashionbas
投稿日時: 2013/10/28 15:36
対応状況: −−−
半人前
登録日: 2012/10/24
居住地:
投稿: 26
Re: 2.12.2 facebox不具合について
画像拡大した時に縦に2つ画像が並んだように表示されます。
まだ未解決です。ご教授願います
red
投稿日時: 2013/10/28 22:00
対応状況: −−−
登録日: 2010/2/15
居住地: 東京都
投稿: 1570
Re: 2.12.2 facebox不具合について
<a
href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->"
class="expansion"
target="_blank"
>


これが2個書いてあるからだと思います


----------------
EC-CUBEのカスタマイズ、トラブル解決承ります
お気軽にお問い合わせ下さい
https://www.ec-cube.net/integrate/partner/partner.php?partner_id=690

fashionbas
投稿日時: 2013/10/29 14:55
対応状況: −−−
半人前
登録日: 2012/10/24
居住地:
投稿: 26
Re: 2.12.2 facebox不具合について
ご指摘ありがとうございます。
指摘箇所修正行いましたが症状は同じです。
<div id="detailarea" class="clearfix">
<div id="detailphotobloc">
<div class="photo">
<!--{assign var=key value="main_image"}-->
<!--★画像★-->
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
<a
href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->"
class="expansion"
target="_blank"
>
<!--{/if}-->
<img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" />
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
</a>
<!--{/if}-->
</div>
<!--{if $arrProduct.main_large_image|strlen >= 1}-->
<span class="mini">
<!--★拡大する★-->
<a
href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct.main_large_image|h}-->"
class="expansion"
target="_blank"
>
画像を拡大する</a>
<!--▼ロールオーバー画像▼-->

<!--{if $arrProduct.sub_image1 != "" || $arrProduct.sub_image2 != "" || $arrProduct.sub_image3 != "" || $arrProduct.sub_image4 != ""}-->

<div id="over_image_box">

<div>

<!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}-->

<!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}-->

<!--{assign var=keyl value="sub_large_image`$smarty.section.cnt.index+1`"}-->

<!--{assign var=keyt value="sub_title`$smarty.section.cnt.index+1`"}-->

<!--{assign var=keym value="main_image"}-->

<!--{if $arrProduct[$key] != ""}-->

<div class="over_image">

<a class="cbox expansion" href="<!--{if $arrProduct[$keyl]|strlen >= 1}--><!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$keyl]|h}--><!--{else}--><!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$key]|h}--><!--{/if}-->" title="<!--{$arrProduct[$keyt]|h}-->" onmouseover="chgImg('<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$key]|h}-->','remote_image');" onmouseout="chgImg('<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$arrProduct[$keym]|h}-->','remote_image');">

<img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$arrProduct[$key]|sfNoImageMainList|h}-->&width=100&height=100" /></a>

</div>

<!--{/if}-->

<!--{/section}-->

</div>

<br clear="all" /><div id="dummy"></div>

</div>

<!--{else}-->

<!--{/if}-->

<!--▲ロールオーバー画像▲-->
</span>
<!--{/if}-->
pontan
投稿日時: 2013/10/29 15:22
対応状況: −−−
新米
登録日: 2011/1/7
居住地:
投稿: 2
Re: 2.12.2 facebox不具合について
同じ症状が出ています。
こちらではスマホの表示のみ2重で表示されます。

2.12.4系にて確認しております。
fashionbas
投稿日時: 2013/10/29 15:44
対応状況: −−−
半人前
登録日: 2012/10/24
居住地:
投稿: 26
Re: 2.12.2 facebox不具合について
何故でしょうか。
2.12系のデフォルトに戻しても症状変わらず。
現在blankで飛ばして拡大表示させていますが、
使い勝手が悪いので何か良い対策があればご指南お願い致します。
スレッド表示 | 新しいものから 前のトピック | 次のトピック | トップ


 



ログイン


EC-CUBE公式 Amazon Payプラグイン

統計情報

総メンバー数は88,896名です
総投稿数は110,002件です

投稿数ランキング

1
seasoft
7367
2
468
3217
3
AMUAMU
2712
4
nanasess
2313
5
umebius
2085
6
yuh
1819
7
h_tanaka
1646
8
red
1570
9
mcontact
1295
10
tsuji
958
11
fukap
907
12
shutta
835
13
tao_s
799
14 ramrun 789
15 karin 689
16 sumida 641
17
homan
633
18 DELIGHT 572
19
patapata
502
20
flealog
485


ネットショップの壺

EC-CUBEインテグレートパートナー

Copyright© EC-CUBE CO.,LTD. All Rights Reserved.