当我鼠标悬停在图像显示到另一个Div或表Colums的图像? [英] When I Mouse Hover Into An Image That Image Displays Into Another Div Or Table Colums?

查看:68
本文介绍了当我鼠标悬停在图像显示到另一个Div或表Colums的图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨frndz,



我想要一个图片库。在左侧,所有缩略图都在那里。当鼠标悬停在缩略图中时,完整图像将显示在左侧div或表格中。所以请告诉我正确的代码或插件或任何东西。



图片库看起来很像 http://www.rakindia.com/products.aspx?subcat=SW-0000702 [ ^ ]



http://www.rakindia。 com / products.aspx?subcat = SW-0000702



请朋友们我试试2天我找不到任何插件和代码。请帮帮我

解决方案

为什么你需要这个插件?你不能自己做吗?很简单。

  1. 声明两个 divs 。一个在左边,另一个在右边。
  2. 然后有一个所有图像的公共类。
  3. 将该类作为 jQuery 选择器并定义 onmouseover event。
  4. 在该事件中,只需创建一个图像元素并将其附加到右侧 div



试试这个,你会学到很多东西。这也会增强你的信心。 :)


Hi frndz,

I want to an image gallery. On the left side all thumbnails are there. When i mouse hover into thumbnail, the full image will be displayed into the left side div or table. So please tell me the correct code or plugin or anything.

The image gallery exactly looks http://www.rakindia.com/products.aspx?subcat=SW-0000702[^]

http://www.rakindia.com/products.aspx?subcat=SW-0000702

Please friends i am trying from 2 days i can't find any plugin and code. Please help me

解决方案

Why you need plugins for this? Can't you do this on your own? It is simple.

  1. Declare two divs. One at left and another at right.
  2. Then have a common class for all the images.
  3. Take that class as a jQuery selector and define the onmouseover event.
  4. Inside that event, just create a image element and append that to right side div.


Try this, you will learn many things. That would also boost your confidence. :)


这篇关于当我鼠标悬停在图像显示到另一个Div或表Colums的图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆