如何制作图像翻转效果 [英] how to make an image rollover effect

查看:137
本文介绍了如何制作图像翻转效果的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好吧,我只想对这个网站产生影响:

http://www.2del.com/pages/musics.aspx [

Well I just want to have an effect like this website:

http://www.2del.com/pages/musics.aspx[^]

when I mouse over an Image a popup layer shows the big sized image.
please help me do that...
thanks alot.

推荐答案

我确信ASP.NET AJAX库具有执行此操作的控件,但是您不需要AJAX.您只需以较大的尺寸加载图像,然后将鼠标悬停在Javascript上即可调整控件的大小.

在这种情况下,第一步是查看您要复制的页面的源.我看不到它,不是为我加载的.
I am certain that the ASP.NET AJAX library has a control to do this, but you don''t need AJAX. You just load the image at the big size, and resize the control with Javascript when the mouse is over it.

The first step in cases like this, is to look at the source of the page you want to copy. I cant look at it tho, it''s not loading for me.


首先加载大尺寸图像对于互联网连接速度慢的人来说是个问题(并非每个人都有100Mbit续),我建议您先加载小图像,然后在触发鼠标悬停"时加载大图像.我猜你可以用AJAX来做到这一点,或者也可以用Javascript来做到这一点.我完全不知道那部分.
Loading images at big size in first will be a problem for people that has slow internet connections(not everybody has 100Mbit conn.), i would recommend you to load small images first and load big images when "mouse over" is triggered. You could do that with AJAX i guess or maybe also with Javascript; i dont know that part exactly.


类似,请检查一下
Yahoo!使用jQuery,CSS,JSON和ASP.NET的新闻旋转器 [ ^ ]
Something similar, check this out
Yahoo! News Rotator using jQuery, CSS, JSON, and ASP.NET[^]


这篇关于如何制作图像翻转效果的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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