Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Category Thumbnail Rollover Preview


Guest

Recommended Posts

I hope I am posting this question in the right section. I am trying to add some javascript that does something similar to this:

 

http://kevinandamanda.com/email/mouseover-popup/wisheswebdesign.com-mouseover-popup/example-wisheswebdesign.com.html

 

On my product category page. You know...the page with all the thumbnails where you choose which products you want to view more information on. I sell images basically and would like my customers to be able to have a small preview of the thumbnail before committing to clicking into the entire product description just to see a larger version.

 

I can't quite figure out how to edit the php code in order to include the onmouseover and onmouseout functions in this line:

 

<img src="smallpic.jpg" border="0" onmouseover="showtrail('largepic.jpg', 'Title of the Picture Goes Here',390,530)" onmouseout="hidetrail()">

 

I am assuming, the editing will take place in catalog > includes > modules > product_listing.php but I could be wrong on that one as well. Any help would be GREATLY appreciated!

Link to comment
Share on other sites

  • 2 weeks later...

Did you figure this out? This might work for what I want to do to.

 

I can make the /includes/modules/product_listing.php page popup an image instead of going to product_info.php using this http://addons.oscommerce.com/info/2843 but I want to make it look nicer with a lightbox ... but I haven't been successful yet.

 

ah never mind I'll give this a try http://forums.osquantum.org/index.php?showtopic=930

Edited by dandelion
Link to comment
Share on other sites

There is now a css version of that in Product Listing Enhancements, Thumbnails & Manufacturer Headings http://addons.oscommerce.com/info/6051

Sam

 

Remember, What you think I ment may not be what I thought I ment when I said it.

 

Contributions:

 

Auto Backup your Database, Easy way

 

Multi Images with Fancy Pop-ups, Easy way

 

Products in columns with multi buy etc etc

 

Disable any Category or Product, Easy way

 

Secure & Improve your account pages et al.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...