2 replies [Last post]
EMHmark7's picture
Offline
Joined: 03/05/2013
Juice: 11
Was this information Helpful?

Hi,

Anybody has an idea of what need to be involved in order to change content somewhere else in the page (could be panel or block, but maybe will try the panels module), while mouseover a product's picture?

The content "somewhere else in the page" would be a single pane (whatever the item selected) displaying a bigger image (can be the same source as the product's image but displayed bigger) and display some text from and item's field.

The idea is to mouseover (not clic) items and see a bigger view.

New to Drupal but working on a real project.

Thanks,
Marc

EMHmark7's picture
Offline
Joined: 03/05/2013
Juice: 11
A possible solution?

Could it be to set a view in a panel that filters on a variable that is the actual mouseover item ID ?

Thanks

DanZ's picture
Offline
Joined: 08/07/2011
Juice: 1738
Re: Change other content while mouseover

You're going to need Javascript to do this. See http://drupal.org/node/751744. Doing this with AJAX would probably be too slow for what you want. You'll probably want to use jQuery, too.

See http://drupal.org/project/lightbox2 for some ideas and code for something very similar.

This is more of a Drupal question than an Ubercart question. You might get a more specific answer at http://drupal.org/forum/4.