| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | Mark Forums Read | User manuals | Login |
PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized. | ||||
|
|
Thread Tools | Search this Thread |
#21
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Thanks everyone for your posts! I just adjusted this for 4.2 version. The only difference is instead of products[product] use product
New "Replace with" for step 3 is: <a class="thumbnail" href="product.php?productid={$product.productid}&a mp;cat={$cat}&page={$navigation_page}"> <span><img src="image.php?id={$product.productid}&type=P" /></span> {include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x|default:$config.Appearance .thumbnail_width image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a> Now, what would be nice is a way to offset it from position of mouse or something. The popup jumps somewhat strangely. Take a look at my result here: www.ijitsa.com
__________________
X-Cart Gold 4.4 |
|||||||
#22
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Quote:
Thanks to all. |
|||||||
#23
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
on the pop up image, is that a stressed thumbnail or the product image?
__________________
X-Cart DB Version: 4.1.11 GOLD |
|||||||
#24
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Quote:
Thanks Cankus for your codes.Now is it possible to view image along with short description on top of each product, instead of right corner?Can you help me? Thank you. |
|||||||
#25
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
What for 4.3 versions???
|
|||||||
#26
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Any update of 4.3 ?? This is very beautiful completed mod.I request Pedro to update codes for 4.3 versions or tell someone if existing codes work on 4.3 versions??
Waiting for someone to reply.
__________________
X-cart Platinum 4.6.1 Reboot template |
|||||||
#27
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Any one can code this for 4.3 and latest 4.4 versions??
|
|||||||
#28
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Any Update about 4.3 and latest 4.4 versions??
|
|||||||
#29
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Version : 4.4.1 Pro Light & Lucid (3 column)
Step - 1 ------------------------------------------- Add this code include end of page skin/common_files/css/main.css --------------------------------------------- .thumbnail{ position: relative; z-index: 0; } .thumbnail:hover{ background-color: transparent; z-index: 50; } .thumbnail span{ /*CSS for enlarged image*/ position: absolute; background-color: brown; padding: 3px; left: -1000px; border: 0px dashed gray; visibility: hidden; color: black; text-decoration: none; } .thumbnail span img{ /*CSS for enlarged image*/ border-width: 0; padding: 0px; } .thumbnail:hover span{ /*CSS for enlarged image on hover*/ visibility: visible; left: 300px; /*position where enlarged image should offset horizontally */ Step - 2 ---------------------------------------------------------------- add this code skin/common_files/customer/main/products_t.tpl line 62 (maybe different line other skins) ---------------------------------------------------------------- Find this code: <a href="{$product.alt_url|default:$product.page_url| amp}">{include file="product_thumbnail.tpl" productid=$product.productid image_x=$product.tmbn_x image_y=$product.tmbn_y product=$product.product tmbn_url=$product.tmbn_url}</a> And replace this code: <a class="thumbnail" href="product.php?productid={$products[product].productid}&cat={$cat}&page={$navigation_p age}"><span><img src="image.php?id={$product.productid}&type=P" /></span>{include file="product_thumbnail.tpl" productid=$product.productid image_x=$products.tmbn_x|default:$config.Appearanc e.thumbnail_width image_y=$products.tmbn_y product=$products.product tmbn_url=$products.tmbn_url}</a> Finish If you want to add this options to other skins you must change 2 files below 1- skin/skin_name/css/altskin.css (step-1) 2- skin/skin_name/customer/products_t.tpl (step-2) |
|||||||
#30
|
|||||||
|
|||||||
Re: PopUp Image Viewer with CSS code. OnMouseOver view the thumbnail maximized.
Thanks Cankus for your response and for Version : 4.3.1 Gold Light & Lucid (3 column),same code or different code??
Waiting for your reply... |
|||||||
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|