Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls
 

Product Rollover Effect?

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 10-19-2005, 06:26 AM
 
QVS QVS is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 136
 

Default Product Rollover Effect?

http://www.weckonline.nl/weckonline/home.php?cat=277

I want to try and recreate the effect this shop has when you put the cursor over the product. Not nessecerly after the pink colour, but more just the actual effect.

tried searching through the forum to see if anyone else has done this, and cant find anything....so any help or advice would be greatly appreciated.

many thanks.
__________________
xcart version 4.1.6
UK - Brighton

QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com

We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more.
Reply With Quote
  #2  
Old 10-19-2005, 07:02 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

That link doesn't seem to work...
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #3  
Old 10-19-2005, 09:05 AM
 
QVS QVS is offline
 

Senior Member
  
Join Date: Nov 2004
Posts: 136
 

Default

works fine for me...

try this one.. http://www.weckonline.nl/home.php?cat=287

works using IE or Firefox
__________________
xcart version 4.1.6
UK - Brighton

QVS ELECTRICAL SUPPLIES - http://www.qvsdirect.com

We supply a huge range of cables, electrical accessories, heating, ventilation, fire and security products, consumer units & circuit distribution, indoor and outdoor lighting, showers and water heating, tools and fixings, timer switches, sockets, switches, air conditioning, trunking, and much much more.
Reply With Quote
  #4  
Old 10-19-2005, 09:10 AM
 
balinor balinor is offline
 

Veteran
  
Join Date: Oct 2003
Location: Connecticut, USA
Posts: 30,253
 

Default

Must have been down earlier. That is just simple css. Simply set the :hover class of that table cell to be a different background color.
__________________
Padraic Ryan
Ryan Design Studio
Professional E-Commerce Development
Reply With Quote
  #5  
Old 12-02-2006, 05:20 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Product Rollover Effect?

bon soir! can some give me a little more detail on how to achieve this? i'm not sure if i'm supposed to be editing the skin1.css and if so, what? or the products_t.tpl directly

this is the first post i found relating to it, hopefully there's another...
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #6  
Old 12-02-2006, 05:40 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Product Rollover Effect?

I'm assuming I'm to edit - PListCell

Thing is, I kinda wanted rollover to alternate. Is this possible or too in-depth for a novice?
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #7  
Old 12-02-2006, 06:41 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Product Rollover Effect?

I found a possible solution here http://www.hypergurl.com/tablehighlight.html

I put the <head> script in between {literal} tags.in the home.tpl

I then put the table script to product_t.tpl.

It won't work Any suggestions?
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #8  
Old 12-02-2006, 06:54 PM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Product Rollover Effect?

WOO HOO FOUND ONE. Sorry to bore those of you who are genius but maybe this will help other bewildered...

customer/main/product_t.tpl

added - <td width="{$width}%" class="PListCell"

onmouseover="style.backgroundColor='#84DFC1';"
onmouseout="style.backgroundColor='#84C1DF'">

http://www.basictips.com/table-cell-background-colors-change-mouseover-css.shtml
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
  #9  
Old 12-05-2006, 05:50 PM
 
sohaibkhan sohaibkhan is offline
 

Advanced Member
  
Join Date: Apr 2006
Posts: 78
 

Default Re: Product Rollover Effect?

could you step by step how you do it.

thanks
__________________
Current version: 4.1.5 Centos 4x
Reply With Quote
  #10  
Old 12-06-2006, 11:13 AM
  neaisha's Avatar 
neaisha neaisha is offline
 

eXpert
  
Join Date: May 2006
Posts: 276
 

Default Re: Product Rollover Effect?

Skin1
-Customer
-Main
-products_t.tpl (if you have set your appearance in admin to display 2-3 columns). If not, you'd edit the products.tpl file for 1 column display.

Look for this line <td width="{$width}%" class="PListCell"...

and add the above code (changing the colors to whatever you want) behind it.

that should do it.
__________________
X-Cart Gold 4.4.3
--------------------------------------
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 01:11 PM.

   

 
X-Cart forums © 2001-2020