Jump to content

[BUG] pop-up of in the Product page problem -


seldon.paul2
 Share

Recommended Posts

Normally developer's big screen has no problem but when it goes to the regular laptop,
user goes to the each individual item page, and then click the picture, then pop up comes out
showing the rest as a dark grey.

The problem is occurred the user try to close this pop-up.
It cannot because when user tries to scroll down, the pop-up still try to be
in the center of the page moving along with the scroll bar right next, too.
So, user will never reach the close button at the bottom right corner of the pop-up.

--------------------------------------------------------------------------------------------------------------------

So, it there anyone who can inform how to get rid of this link toward the popup?
Thanks -

Try this using the small screen laptop. 14 inch will do.
after installing bigger picture for the item at least 600 as a height.

Share this post


Link to post
Share on other sites

by the way, if you really want yo remove the pop up link, try to find following line in file /themes/yourtheme/product.tpl


       {if count($images) > 0}
       <!-- thumbnails -->
       <div id="views_block" {if count($images) < 2}class="hidden"{/if}>
       {if count($images) > 3}<span class="view_scroll_spacer"><a id="view_scroll_left" class="hidden" title="{l s='Other views'}" href="[removed]{ldelim}{rdelim}">{l s='Previous'}</a></span>{/if}
       <div id="thumbs_list">
           <ul style="width: {math equation="width * nbImages" width=80 nbImages=$images|@count}px" id="thumbs_list_frame">
               {foreach from=$images item=image name=thumbnails}
               {assign var=imageIds value=`$product->id`-`$image.id_image`}
               <li id="thumbnail_{$image.id_image}">
                   <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}">
                       <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" />
                   </a>
               </li>
               {/foreach}
           </ul>
       </div>
       {if count($images) > 3}<a id="view_scroll_right" title="{l s='Other views'}" href="[removed]{ldelim}{rdelim}">{l s='Next'}</a>{/if}
       </div>
       {/if}



Then remove following line which are in the middle of above code

                   <a href="{$link->getImageLink($product->link_rewrite, $imageIds, 'thickbox')}" rel="other-views" class="thickbox {if $smarty.foreach.thumbnails.first}shown{/if}" title="{$image.legend|htmlspecialchars}">
                       <img id="thumb_{$image.id_image}" src="{$link->getImageLink($product->link_rewrite, $imageIds, 'medium')}" alt="{$image.legend|htmlspecialchars}" height="{$mediumSize.height}" width="{$mediumSize.width}" />
                   </a>



Make a backup before make any changes to your file.

Share this post


Link to post
Share on other sites

when user click the pop up image, it will be closed automatically closed.
So I don't there is big problem.


That's not very intuitive -
You know that but how user can know that?
Perhaps, the x close image on the frame of pop up at the top right corner, just like
any other closing window?

Share this post


Link to post
Share on other sites

  • 2 months later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More