Witam, mam problem usunąłem "fancybox", ale nie mogę usunąć tego, że po kliknięciu na miniaturkę otwiera się duże zdjęcie w nowej karcie. Próbując to usunąć usuwam też zmianę zdjęcia po najechaniu :/ Chodzi mi o tą podstronę: http://nonoshop.xwiktorx24.usermd.net/pl/dla-niej/12-nike-air-max-90.html
Question
nailsnaithan
Witam, mam problem usunąłem "fancybox", ale nie mogę usunąć tego, że po kliknięciu na miniaturkę otwiera się duże zdjęcie w nowej karcie. Próbując to usunąć usuwam też zmianę zdjęcia po najechaniu :/ Chodzi mi o tą podstronę: http://nonoshop.xwiktorx24.usermd.net/pl/dla-niej/12-nike-air-max-90.html
Kod miniaturek wygląda jak poniżej:
{foreach from=$images item=image name=thumbnails} {assign var=imageIds value="`$product->id`-`$image.id_image`"} {if !empty($image.legend)} {assign var=imageTitle value=$image.legend|escape:'html':'UTF-8'} {else} {assign var=imageTitle value=$product->name|escape:'html':'UTF-8'} {/if} <li id="thumbnail_{$image.id_image}"{if $smarty.foreach.thumbnails.last} class="last"{/if}> <a{if $jqZoomEnabled && $have_image && !$content_only} href="javascript:void(0);" rel="{literal}[spam-filter]/literal}gallery: 'gal1', smallimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'large_default')|escape:'html':'UTF-8'}',largeimage: '{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}'{literal[spam-filter]{/literal}"{else} href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox_default')|escape:'html':'UTF-8'}" {/if} title="{$imageTitle}"> <img class="img-responsive" id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'cart_default')|escape:'html':'UTF-8'}" alt="{$imageTitle}" title="{$imageTitle}"{if isset($cartSize)} height="{$cartSize.height}" width="{$cartSize.width}"{/if} itemprop="image" /> </a> </li> {/foreach}Będę wdzięczny za pomoc.
Link to comment
Share on other sites
2 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now